ACDD State๐
ACDD State (crates/acdd-state) turns software engineering workflows โ from specification drafting to multi-wave execution โ into durable, resumable DAG runs stored in .acdd/state.sqlite.
How a workflow starts and moves through tasks๐
- Create a specification (or start ad-hoc):
- Run
acdd draft <collection> <slug>to allocate the next zero-padded spec file configured underspecs:inacdd.yaml(milestones,plans), or run thespec_planningprofile so an architect draftsAC-*criteria and disjoint parallel task waves. - For localized fixes without a spec file, pass an ad-hoc goal:
acdd start --goal "Fix parser edge case" --profile hotfix --scope src/parser/.
- Run
- Materialize the Run & DAG:
acdd start <spec>resolves the activeGateProfile(version: 2), computes a SHA-256spec_digest, creates isolated Git worktrees (whengit.isolation: worktree), and writes typedGateNoderows addressed by dotted cursors (blueprint_synthesis.synthesize,T1.build,T1.review,T1.deliver,run_tests,integration_review,handoff).
- Schedule parallel waves:
- Tasks declare
depends_onedges.acdd roadmapandacdd nextsurface every ready cursor whose dependencies are completed and whose write scopes are disjoint.
- Tasks declare
- Claim โ Edit โ Verify โ Submit:
- A worker (human CLI or AI agent over MCP) calls
acdd claim/acdd_claimto lock the node under optimistic concurrency (claim_revision+node_version) and receives a budgeted 6-tierClaimRespMarkdown prompt. - After editing inside its admitted scope, the worker runs
acdd verify/acdd_verify(executing scoped tests +DomainProviderchecks likecode.seamandcode.lint), coordinates viaacdd_blackboard, and callsacdd submit/acdd_submit. - Separate
independent_reviewerworkers auditreview/integration_reviewbeforedeliverlands an atomicAcdd-Claimcommit.
- A worker (human CLI or AI agent over MCP) calls
Connecting agents & tools๐
- Over MCP (
acdd serve): Connect Antigravity, Claude Code, Codex, or Cursor to the 20 built-in MCP tools. Coordinators spawn workers with thin prompts(run, node_cursor, worker_id, worktree)and each worker self-claims viaacdd_claim. - Headless CLI runners (
acdd run): Configureroles.<name>.runnershell commands to automatically spawn any CLI agent across topological waves. - Compaction recovery (
acdd context): Read-only command that reloads the currentClaimRespcontract and blackboard without mutating claim state.
Pages in this section๐
- State Machine, Tasks & Receipts โ
Run,GateNode, optimistic locking, Git snapshots (acdd snapshot), linearrebase-ff, and error codes. - Installation โ Quick install (
install.sh),latestvs--nightly,cargo install, and skills installation. - MCP & CLI Setup โ Connecting Antigravity, Codex, Claude, and Cursor via
.mcp.jsonand multi-worktree selection. - CLI Reference โ Complete flat
acddcommand reference. - MCP Tools Reference โ All 20 built-in MCP tools, plugin
<domain>_<name>tools, selectors, and pagination.