| name | adlc |
| description | Route software work through the Agentic Development Lifecycle in Cursor. Use when the user asks to apply ADLC, operate in ADLC, triage work, choose the next ADLC gate, or mentions P0โP7 / rails / prosecute. |
ADLC โ phase routing (Cursor)
Treat agentic development as phases with machine-checkable gates via
adlc <tool> (exit 0 = pass, 1 = operational error, 2 = gate fail).
Prerequisite: adlc --version works (npm i -g @adlc/cli). Run /adlc-init
or adlc init --harness cursor once per repo for the .adlc/ workspace.
Where am I? โ which gate
Vague request, no ticket yet? โโโโโโโโโโโโโโโโ P0 /adlc-ticket
Have a spec / acceptance criteria? โโโโโโโโโโโ P1 /adlc-spec ยท /adlc-approve-spec
Have tickets, planning fan-out? โโโโโโโโโโโโโโ P2 /adlc-decompose
About to build, want to freeze tests? โโโโโโโโ P3 rails-guard hooks + CI
Mid-build / verify? โโโโโโโโโโโโโโโโโโโโโโโโโโ P4 /adlc-verify-build
Change done, pre-merge prosecution? โโโโโโโโโโ P5 /adlc-prosecute
Repeated review findings to bank? โโโโโโโโโโโโ P7 /adlc-distill
Idle-time maintenance? โโโโโโโโโโโโโโโโโโโโโโโ โ /adlc-maintain
LLM-backed gates support --prompt-only: print the prompt, answer it yourself
in-session (no API keys). Prefer that over wiring providers.
Enforcement honesty: Cursor preToolUse deny is best-effort. The
unbypassable control is the CI rail-freeze gate (docs/ci/rails-guard.yml).
MCP tools (packaged): the plugin ships mcp.json โ a lifecycle Roots
proxy (bin/adlc-mcp-wrapper.mjs) that spawns adlc mcp-server only after
resolving a consumer root. Tools: adlc_gate, adlc_prosecute. Requires
adlc on PATH (npm i -g @adlc/cli). Status until an installed-Cursor Roots
proof is recorded: wrapper landed / channel unverified โ do not treat MCP
as production-shipped. Never guess process.cwd(); multi-root ambiguity fails
closed.
P5 caveat: prefer Task fan-out via packaged agents/prosecutor-* (fresh
context per lens). Sequential same-context is a degraded fallback with
weaker independence. For the cross-model risk gate run
npx adversarial-review --providers <a,b>.