v0.7.0 (Early Version) · Pure Rust · MCP + CLI

Augmented Context & Durable Dispatch

A harness-agnostic meta-harness for AI coding agents

Build any sequence of verified gates, wire any AI agents and CLI tools into each stage, and keep every change grounded in a live Tree-sitter code graph, parallel worktrees, and an architectural linter.

Regular Harnesses vs. ACDD

A regular agent harness (Claude Code, Codex CLI, Antigravity, Cursor) runs one LLM's prompt-and-tool loop, leaving discipline to prompt luck. ACDD sits one layer higher as a meta-harness — guiding every step, supplying context on demand, and verifying proof before work lands.

Unguided Agent Harnesses

Where autonomous sessions break down

  • Instructions fade mid-session — long instruction files and constraints get buried or silently ignored as context fills up.
  • Premature "done" claims — agents stop after happy-path edits without proving callers, edge cases, or tests actually pass.
  • Fragile, low-awareness edits — blind grep loops miss downstream dependencies, breaking distant modules and contracts.
  • Silent architectural erosion — duplicated helpers, boundary violations, and stale docs accumulate unchecked.
ACDD Meta-Harness

Controlled, evidence-backed engineering

  • Step-by-step gate control — every stage is an explicit node in a verified DAG; agents cannot skip ahead or self-approve.
  • Just-in-time context & rules — acdd_claim injects only the exact contract, guidance, and INV-* rules relevant to the current gate.
  • Proof required before advancing — transitions fail closed until real CLI checks (acdd_verify), JSON Schema proofs, and independent reviews pass.
  • Continuous architecture verification — acdd lint and the live SQLite code graph guard crate boundaries, callers, and doc links on every change.

Build any scenario you need — from focused code generation and read-only audits to complex automated workflows coordinating multi-agent swarms across isolated worktrees.

Built-in profiles let you start immediately, while flexible overrides and extensions let you tailor every gate, check, and agent runner to your repository.

01 · ACDD State

Deterministic state machine, specs & multi-agent dispatch

Start workflows from versioned Markdown specifications or ad-hoc goals, drive stages via CLI or MCP subagents, and coordinate parallel waves inside isolated worktrees.

Manual & Headless CLI

Step-by-step control from your terminal

Start a milestone spec or an ad-hoc fix, inspect ready cursors, claim a gate, verify tests and lint, and submit — or let acdd run spawn configured role runners across parallel waves.

terminal · bash
# 1. Draft or start a spec run (or ad-hoc goal) in an isolated worktree
acdd draft milestones auth-tokens --prefix AC
acdd start docs/milestones/AC-010-auth-tokens.md --worktree
# acdd start --goal "Fix auth parser" --profile hotfix --scope src/auth/

# 2. Check ready cursors & claim a task gate
acdd next
acdd claim T1.build --worker dev-1

# 3. Verify scoped checks & submit transition
acdd verify T1.build --test parser_tests
acdd submit T1.build --action pass

# 4. Independent review & commit, or headless multi-wave runner
acdd claim T1.review --worker rev-1
acdd submit T1.review --action pass --evidence review.json
# acdd run --jobs 4   # spawns configured role runners across waves
Orchestrator ↔ Agents via MCP

Thin coordinator prompts, self-claiming workers

In subagent mode, the orchestrator never pastes giant specs or claims gates on a worker's behalf. ACDD's state machine coordinates every agent over MCP:

  1. Inspect ready waves (acdd_state): The orchestrator calls acdd_state(action="start" | "next") to resolve schedulable gate cursors and isolated worktree paths.
  2. Spawn workers with a thin prompt: It launches subagents (Claude, Codex, Antigravity, Cursor) passing only (run, node_cursor, worker_id, worktree).
  3. Worker self-claims context (acdd_claim): Each agent calls acdd_claim first and receives its budgeted Markdown ClaimResp (contract, architect slice, findings, blackboard, and graph lenses).
  4. Verify, coordinate & submit: The worker edits inside its worktree, runs acdd_verify, logs decisions or rebuttals on acdd_blackboard, and advances via acdd_submit — handing off to an independent reviewer.
Spec Creation & Collections

Zero-collision spec drafting

Configure named specification directories (like milestones and plans) with automatic sequential IDs. Draft specs via acdd draft or launch the built-in spec_planning profile so an architect validates acceptance criteria and disjoint wave scopes.

Wave Scheduling, Snapshots & Compaction

Durable state across restarts

Inspect cross-run dependency waves with acdd roadmap, save Git checkpoints with acdd snapshot, expand write scopes via acdd extend-scope, and reload active contracts after context compaction with acdd context.

AC-010-auth-tokens.md · spec + task
---
id: AC-010-auth-tokens
title: Scoped Token Validation
status: planned
owners: [src/auth/, tests/auth.rs]
invariants:
  - "INV-AUTH-FAIL-CLOSED: Reject expired or malformed tokens."
acceptance_criteria:
  - "AC-1: Expired tokens fail with AuthError::Expired."
---

### task: token-parser
```yaml
task_ref: token-parser
depends_on: []
scope: [src/auth/parser.rs, tests/auth.rs]
max_net_loc: 80
verification_seam: tests/auth.rs::rejects_expired_token
```
02 · ACDD Index

Polyglot Tree-sitter graph built for speed and freshness

Every admitted file is parsed into a single incremental SQLite graph (.acdd/code-map.sqlite) linking AST symbols, calls, documentation sections, and cross-repo libraries.

01 · Extraction Pipeline

How languages are indexed

Native Tree-sitter grammars extract declarations, imports, calls, and receiver bindings, while typed framework manifests resolve framework conventions (Django, HTMX, Alpine, Vue/Nuxt, GridViewSpec). Mixed templates ({% ... %}, {{ ... }}) are byte-masked by TemplateMasker before HTML/JS parsing so line offsets stay exact.

02 · Benchmark Speed

Fast cold builds & 12–25ms queries

Measured on a 4,150-file polyglot corpus (72,293 nodes, 221,662 edges, 2,967 doc sections): cold build finishes in ~10.0 s median, single-file incremental delta in ~2.8 s, and warm MCP queries (code_map_search, inspect, impact, search_docs) respond in 12–25 ms p50.

03 · Auto-Refresh & Digest Safety

Always fresh without manual rebuilds

Over MCP (acdd serve), each request verifies workspace identity and adapter digest, automatically running incremental delta or full rebuilds on edits (reusing a valid inventory check for up to 5 seconds). acdd_read rejects stale snippets by SHA-256 digest, and CLI commands trigger automatic rebuilds when an index is missing.

04 · Code ↔ Docs Binding

Verified documentation edges

Markdown files are split at headings into BM25-searchable sections. Code claims and INV-* invariants resolve uniquely against indexed AST symbols to create verified governs edges surfaced directly inside code_map_inspect and code_map_explain.

05 · Multi-Repo Graphs

Linked Workspaces

Index shared libraries or companion repositories alongside your primary project via acdd.yaml. Each linked entry declares its own source roots, docs, and exclusions, resolving cross-repo imports and docs while tracking coverage separately per workspace.

acdd.yaml · linked_workspaces
linked_workspaces:
  - name: shared-library
    path: ../shared-library
    enabled: true
    roots: [src, frontend]
    docs: [docs]
    ignore: [vendor, dist, build]
06 · Supported Languages · Early Version

Compiled Tree-sitter language coverage

Need another language? GitHub Issues →
Default (11): Rust · Python · TypeScript · Vue · Proto · HTML · YAML · TOML · Bash · CSS · JSON
Tier-2 (8, --features all-languages): Go · Java · C# · Kotlin · PHP · Ruby · C · C++
03 · ACDD Lint

How acdd lint enforces rules across code and docs

Rules declared in acdd.yaml and executable acdd-rule blocks inside Markdown docs compile into one check pass against code-map.sqlite — blocking architectural drift in gates and CI.

Full acdd lint --categories all

What gets checked

  • arch — Architectural Boundaries (8 primitives): evaluates forbid_dependency, allow_only_dependencies, single_owner, forbid_cycles, boundary_entry, must_implement, ast_pattern, and doc_integrity rules from acdd.yaml and Markdown acdd-rule blocks.
  • docs — Documentation Integrity & Governance: checks frontmatter, Markdown links and heading anchors, symbol claims against indexed code files, stale declaration line ranges, duplicate non-contract INV-* declarations, orphan invariants lacking a governs link or acdd-rule, and invalid rule YAML.
  • syntax — Tree-sitter Parse Diagnostics: surfaces syntax and grammar parse errors across all admitted source files (syntax.parse).
  • duplicates — Structural Code Clones: detects exact and parameterized duplicate code blocks across functions and methods.
  • dead_tails — Call & Test Graph Hygiene: catches unreachable symbols (dead_tails.unreachable), functions covered only by orphaned tests (dead_tails.phantom_tested), and unresolved calls (dead_tails.dangling_call).
  • cycles — Dependency Cycles: identifies strongly connected call and import components across the workspace graph (cycles.scc).

Default gate checks run arch, syntax, and docs; pass --categories all for the full 6-category workspace sweep.

04 · ACDD Profiles

Built-in profiles, gates & what agents receive in context

Five embedded profiles out of the box — plus repository overlays you can inherit, patch, or compose for any stack.

baseworktree · save: commit

Foundation profile supplying default tool admission, protective limits, core execution/review guidance, and paths / claims / administration contours.

codeworktree · save: commit

Full engineering lifecycle: blueprint_synthesis → parallel tasks.{build, review, deliver, rearchitect} → run_tests / polish → integration_review → handoff.

auditin_place · save: none

Read-only 3-phase security & correctness audit (recon → analyze → triage) with strict JSON Schema findings and Markdown reports under .acdd/reports/.

documentationworktree · save: commit

Living documentation & invariant workflow verifying symbol links, Markdown anchors (docs.links), and executable acdd-rule blocks (code.lint [arch, docs]).

spec_planningin_place · save: none

Architectural planning pipeline (synthesize → review) validating spec collection prefixes, acyclic waves, and disjoint parallel write scopes before coding begins.

hotfix (overlay)inherits .acdd/profile.yaml

Example custom repository overlay for localized fixes: keeps scoped checks and run_tests while pruning blueprint_synthesis and integration_review.

blueprint_synthesis.synthesize

Architectural Blueprint Synthesis

Runs once before tasks start. The architect maps canonical owners and decomposes tasks with explicit LOC budgets and verification seams.

Rolearchitect
Proofblueprint (per-task slices)
Nextblueprint_synthesis.review
Markdown delivered to architect by acdd_claimscroll ↓
# Gate Claim: `blueprint_synthesis.synthesize`

- Run: `PAY-014`
- Claim Revision: `1`
- Contract Revision: `1`
- Worker: `architect-1`
- Worktree: `/repo/.worktrees/PAY-014`
- Candidate Tree: `9b41e0c8...`
- Inspect: `acdd show blueprint_synthesis.synthesize --run PAY-014`

## Contract

- **Gate**: `blueprint_synthesis.synthesize`
- **Proof**: `blueprint`
- **Spec**: `PAY-014`
- **Title**: Idempotent Webhook Ledger
- **Spec Path**: `docs/milestones/PAY-014-idempotent-webhook-ledger.md`
- **Tools**: `acdd_read`, `acdd_guide`, `acdd_state`, `acdd_claim`, `acdd_verify`, `acdd_submit`, `acdd_blackboard`
- **Owners**: `src/billing/`, `src/storage/`, `tests/billing_test.rs`

### Acceptance Criteria
- AC-1: Duplicate Stripe webhook delivery IDs must return HTTP 200 without re-charging or double-posting ledger entries.
- AC-2: Signature verification failure must reject before opening any database write transaction.
- AC-3: Ledger commit and webhook receipt persistence must execute inside one atomic transaction.

## Guidance

- **ARCHITECTURAL BLUEPRINT SYNTHESIS**: Audit canonical owners, ADRs, and `INV-*` rules; assign disjoint task scopes, realistic `max_net_loc`, and production `verification_seam` targets.
- **EXECUTION & COMPLETION**: Stay inside `admitted_scope`, satisfy every declared `acceptance_criteria`, and submit once green.
- **ENGINEERING & SIMPLICITY PRINCIPLES**: Reuse existing single owners (`INV-SINGLE-OWNER`) instead of inventing parallel helpers or shims.
- **ACDD NAVIGATION & HYGIENE PROTOCOL**: Ground every cited symbol with `code_map_search` / `code_map_inspect` / `acdd_read`.

## Blackboard

- #104 [decisions | coordinator]: Reuse `BillingRepo::insert_tx` rather than creating a second webhook connection pool.

## Repository Instructions - MANDATORY

MANDATORY: read repository rules for respective scope.

- `AGENTS.md` (Architecture Boundaries, Testing Policy, Git Worktrees)
- `src/billing/AGENTS.md` (Idempotency Keys, Transaction Ownership)

## Architectural Decision Records - MANDATORY

- `docs/adr/0004-idempotent-ledger.md` — Ledger entries require unique `(provider, event_id)` keys inside the primary write transaction.
- `docs/adr/0009-webhook-auth-boundary.md` — Verify HMAC signatures before JSON deserialization or DB access.

## Governing Invariants

- `INV-BILLING-IDEMPOTENT` (`docs/adr/0004-idempotent-ledger.md:14`) [ENFORCED]: Every external payment event deduplicates via unique `(provider, event_id)` inside the ledger transaction.
- `INV-WEBHOOK-HMAC-FIRST` (`docs/adr/0009-webhook-auth-boundary.md:21`) [ENFORCED]: Raw request bodies must pass HMAC verification before parsing or storage access.
tasks.<id>.build

Scoped Implementation & Seam Proof

The builder works inside an admitted file scope, receives the architect's slice, any prior rejection findings, and live test/caller maps.

Rolebuilder
Savesnapshot · command: build_check
Checkscode.seam + code.lint (arch, syntax, docs)
Markdown delivered to builder by acdd_claimscroll ↓
# Gate Claim: `T1.build`

- Run: `PAY-014`
- Claim Revision: `2`
- Contract Revision: `1`
- Worker: `builder-1`
- Worktree: `/repo/.worktrees/PAY-014-T1`
- Candidate Tree: `4e9a1c72...`
- Inspect: `acdd show T1.build --run PAY-014`

## Contract

- **Gate**: `tasks.build`
- **Proof**: `command`
- **Command**: `build_check`
- **Task**: `T1`
- **Target**: Enforce atomic deduplication inside `WebhookProcessor::handle`
- **Scope**: `src/billing/webhook.rs`, `src/storage/ledger.rs`, `tests/billing_test.rs`
- **Checks**: `code.seam`, `code.lint`

## Guidance

- **TASK BUILD & SEAM PROOF**: Author compiling, passing seam tests directly in `build` within `max_net_loc` budgets; run `code_map_query(duplicates | dead_tails)` before submit.
- **EXECUTION & COMPLETION**: Stay inside `admitted_scope` and avoid out-of-scope churn.

## Unresolved Findings

- **Kind**: `defect`
- **Summary**: Rework required from `T1.review` (claim rev 1).
- [high] `src/billing/webhook.rs`: `process_event` opens `tx` before calling `verify_hmac` | Remediation: Move `verify_hmac(&raw_body, sig)` above `repo.begin_tx()`.

### Failed Trace Log Tail

```text
test billing_test::rejects_invalid_hmac_without_db_write ... FAILED
assertion `left == right` failed: expected 0 db queries on invalid signature, got 1
```

## Pre-Task Architectural Slice

- **Layer**: `billing/domain`
- **Summary**: Verify HMAC first, then record `(provider, event_id)` and ledger delta in one DB transaction.
- **Max Net LOC**: `85`
- **Verification Seam**: `tests/billing_test.rs::dedupes_replayed_webhook_atomically`
- **Canonical Owners**: `src/billing/webhook.rs`, `src/storage/ledger.rs`
- **Mechanism Rules**: Never swallow `SqlError::UniqueViolation`; map it to `WebhookOutcome::AlreadyProcessed`.
- **Negative Boundaries**: Do not add a separate Redis cache or HTTP middleware table.
- **Outgoing Seams**:
  - `T2` (`seam_dependency`) `WebhookOutcome`: `T2` metrics handler matches on `AlreadyProcessed`.

## Dependency Receipts

- `blueprint_synthesis.review` @ `8b3f10d4...` (2026-11-22T18:10:00Z)

## Blackboard

- #104 [decisions | coordinator]: Reuse `BillingRepo::insert_tx` rather than creating a second pool.
- #109 [notes | architect-1]: `T2` consumes `WebhookOutcome::AlreadyProcessed` — keep variant public.

## Repository Instructions - MANDATORY

- `AGENTS.md` (Architecture Boundaries, Testing Policy)
- `src/billing/AGENTS.md` (Idempotency Keys, Transaction Ownership)

## Governing Invariants

- `INV-BILLING-IDEMPOTENT` (`docs/adr/0004-idempotent-ledger.md:14`) [ENFORCED]
- `INV-WEBHOOK-HMAC-FIRST` (`docs/adr/0009-webhook-auth-boundary.md:21`) [ENFORCED]

## Scoped Symbols

- `WebhookProcessor::handle` : 38:104 : `pub async fn handle(&self, sig: &str, raw: &[u8]) -> Result<WebhookOutcome>`
- `BillingRepo::record_event` : 72:118 : `pub async fn record_event(&self, tx: &mut Tx, key: &EventKey) -> Result<bool>`

## Scoped Tests

- `dedupes_replayed_webhook_atomically` (`tests/billing_test.rs:42`)
- `rejects_invalid_hmac_without_db_write` (`tests/billing_test.rs:88`)

## External Callers

- `routes::stripe_webhook_handler` (`src/api/routes.rs`) -> `WebhookProcessor::handle`
tasks.<id>.review

Independent Evidence Review

Enforces independent_from: [build] so a distinct reviewer audits every contour. Repeated drift routes to rearchitect.

Roleindependent_reviewer
Contourspaths, claims, architecture, concurrency, isolation, admin
Saveimmutable: true · fail_drift → rearchitect
Markdown delivered to independent_reviewer by acdd_claimscroll ↓
# Gate Claim: `T1.review`

- Run: `PAY-014`
- Claim Revision: `1`
- Contract Revision: `1`
- Worker: `reviewer-1`
- Worktree: `/repo/.worktrees/PAY-014-T1`
- Candidate Tree: `7c12d8aa...`
- Inspect: `acdd show T1.review --run PAY-014`

## Contract

- **Gate**: `tasks.review`
- **Proof**: `review`
- **Task**: `T1`
- **Scope**: `src/billing/webhook.rs`, `src/storage/ledger.rs`, `tests/billing_test.rs`

### Contours
#### `paths`
- Verify modified, staged, and untracked files stay strictly within admitted scope.
#### `claims`
- Verify every `AC-*` criterion has live test evidence proportional to operational risk.
#### `architecture`
- Verify single-owner reuse, zero `duplicates` clones (`>= 5` lines), and zero `dead_tails`.
#### `concurrency`
- Verify concurrent webhook replays serialize cleanly under unique constraint without races.
#### `project_isolation`
- Verify no hardcoded paths, temp leaks, or cross-workspace writes.
#### `administration`
- Verify `BUDGET_OVERRIDE` authority vs measured net LOC (`+54 / -18 = 36 <= 85`).

## Guidance

- **INDEPENDENT TASK REVIEW**: No early-abort — audit every declared contour and changed file in one pass; search sibling call sites on any defect.
- **INDEPENDENT EVIDENCE-BASED REVIEW**: Reject only on concrete contract or invariant violations; post optional follow-ups to `acdd_blackboard` (`topic: deferred`).

## Pre-Task Architectural Slice

- **Max Net LOC**: `85`
- **Verification Seam**: `tests/billing_test.rs::dedupes_replayed_webhook_atomically`
- **Canonical Owners**: `src/billing/webhook.rs`, `src/storage/ledger.rs`
- **Negative Boundaries**: Do not add a separate Redis cache or middleware table.

## Dependency Receipts

- `T1.build` @ `7c12d8aa...` (verified `build_check`, `code.seam`, `code.lint`)

## Blackboard

- #112 [notes | builder-1]: Moved `verify_hmac` ahead of `begin_tx()`; verified 0 clones & 0 dead tails.

## Repository Instructions - MANDATORY

- `AGENTS.md` (Review Authority, Verification Gates)
- `src/billing/AGENTS.md` (Idempotency Keys, Transaction Ownership)

## Governing Invariants

- `INV-BILLING-IDEMPOTENT` (`docs/adr/0004-idempotent-ledger.md:14`) [ENFORCED]
- `INV-WEBHOOK-HMAC-FIRST` (`docs/adr/0009-webhook-auth-boundary.md:21`) [ENFORCED]

## Scoped Symbols & Tests

- `WebhookProcessor::handle` : 38:96 : `pub async fn handle(&self, sig: &str, raw: &[u8]) -> Result<WebhookOutcome>`
- `dedupes_replayed_webhook_atomically` (`tests/billing_test.rs:42`)
- `rejects_invalid_hmac_without_db_write` (`tests/billing_test.rs:88`)

## External Callers

- `routes::stripe_webhook_handler` (`src/api/routes.rs`) -> `WebhookProcessor::handle`
tasks.<id>.deliver

Immutable Candidate Commit

Verifies that the working tree matches the reviewed candidate_tree OID, creates an atomic commit stamped with Acdd-Claim, and records a durable receipt.

Roleindependent_reviewer
Needbuild + review
Saveimmutable: true · post: commit · receipt: true
Markdown delivered at deliver by acdd_claimscroll ↓
# Gate Claim: `T1.deliver`

- Run: `PAY-014`
- Claim Revision: `1`
- Contract Revision: `1`
- Worker: `reviewer-1`
- Worktree: `/repo/.worktrees/PAY-014-T1`
- Candidate Tree: `7c12d8aa...`
- Inspect: `acdd show T1.deliver --run PAY-014`

## Contract

- **Gate**: `tasks.deliver`
- **Task**: `T1`
- **Target**: Enforce atomic deduplication inside `WebhookProcessor::handle`
- **Need**: `build`, `review`
- **Save Policy**: `immutable: true`, `post: commit`, `receipt: true`
- **Scope**: `src/billing/webhook.rs`, `src/storage/ledger.rs`, `tests/billing_test.rs`

## Guidance

- **HITL PRO**: Internal changes within `admitted_scope` are autonomous; escalate public schemas or cross-run contract changes via `acdd_blackboard` (`decisions` or `blockers`).
- Confirm working tree OID equals reviewed `candidate_tree` (`7c12d8aa...`) before landing the atomic `Acdd-Claim` commit (fail closed with `TASK_CANDIDATE_MISMATCH` on drift).

## Dependency Receipts

- `T1.build` @ `7c12d8aa...` (2026-11-22T19:42:10Z — passed `build_check`, `code.seam`, `code.lint`)
- `T1.review` @ `7c12d8aa...` (2026-11-22T19:48:33Z — passed contours: `paths`, `claims`, `architecture`, `concurrency`, `project_isolation`, `administration`)

## Blackboard

- #112 [notes | builder-1]: Moved `verify_hmac` ahead of `begin_tx()`; verified 0 clones & 0 dead tails.
- #113 [notes | reviewer-1]: All 6 contours passed; net LOC +36 within 85 budget.
integration_review → handoff

Full-Run Integration & Archival

After run_tests passes workspace-wide verification, an independent reviewer audits the integrated branch before handoff archives the spec.

Roleindependent_reviewer
Independent Frompolish, tasks.build
Handoffpost: commit · archive: true · prune: true
Markdown delivered at integration_review by acdd_claimscroll ↓
# Gate Claim: `integration_review`

- Run: `PAY-014`
- Claim Revision: `1`
- Contract Revision: `1`
- Worker: `reviewer-2`
- Worktree: `/repo/.worktrees/PAY-014`
- Candidate Tree: `a4f90b19...`
- Inspect: `acdd show integration_review --run PAY-014`

## Contract

- **Gate**: `integration_review`
- **Proof**: `review`
- **Spec**: `PAY-014`
- **Title**: Idempotent Webhook Ledger
- **Need**: `run_tests`
- **Independent From**: `polish`, `tasks.build`

### Contours
#### `paths` — Verify integrated branch touches only admitted milestone paths.
#### `claims` — Verify AC-1, AC-2, and AC-3 end-to-end across integrated tasks (`T1`, `T2`).
#### `architecture` — Run workspace-wide `duplicates`, `dead_tails`, and `code_map_lint`.
#### `concurrency` — Verify webhook + metrics integration holds under parallel load tests.
#### `project_isolation` — Verify zero temp leaks or un-confined filesystem calls.
#### `administration` — Verify linear `rebase-ff` integration and task `TreeOid` parity.

## Guidance

- **INTEGRATION REVIEW**: Audit full integrated diff against `target_base`, verify workspace-wide hygiene (`duplicates`, `dead_tails`, `code_map_lint`), and confirm documentation parity before `handoff`.

## Dependency Receipts

- `T1.deliver` @ `7c12d8aa...` (commit `3f821c0`, 2026-11-22T19:49:02Z)
- `T2.deliver` @ `c19e04ab...` (commit `91a04d2`, 2026-11-22T20:04:18Z)
- `run_tests` @ `a4f90b19...` (passed `verify_all` + `code.lint [arch, syntax, docs]`)

## Blackboard

- #104 [decisions | coordinator]: Reuse `BillingRepo::insert_tx`.
- #118 [deferred | reviewer-1]: Optional Grafana panel for `AlreadyProcessed` counter.

## Repository Instructions - MANDATORY

- `AGENTS.md`, `src/billing/AGENTS.md`, `docs/AGENTS.md`

## Governing Invariants

- `INV-BILLING-IDEMPOTENT` (`docs/adr/0004-idempotent-ledger.md:14`) [ENFORCED]
- `INV-WEBHOOK-HMAC-FIRST` (`docs/adr/0009-webhook-auth-boundary.md:21`) [ENFORCED]
- `INV-SINGLE-OWNER` (`docs/architecture/modularity.md:42`) [ENFORCED]

## Scoped Symbols & External Callers

- `WebhookProcessor::handle`, `BillingRepo::record_event`, `MetricsSink::inc_deduped`
- `routes::stripe_webhook_handler` (`src/api/routes.rs`) -> `WebhookProcessor::handle`
v0.7.0 · Ready in 60 Seconds

Start building verified workflows today

Install the single Rust binary, connect your AI agents over MCP or CLI, and run deterministic, architecture-checked pipelines across your repository.

Linux & macOS · SHA-256 verified binary + agent skills
$curl -fsSL https://raw.githubusercontent.com/ContextUnity/contextunity-acdd/main/install.sh | sh

Need help adopting ACDD in your team or repository? Reach out at acdd@contextunity.com