ADLC
Integrations

Claude Code

Adopt the ADLC inside Claude Code with a phase-routing skill, gate commands, a prosecutor subagent, and hooks that fire the gates automatically.

ADLC in Claude Code

Claude Code runs the whole lifecycle from inside the editor: a phase-routing skill, ticket/distill/maintain commands, a prosecutor subagent, and hooks that fire the gates automatically. No API keys are required; Claude is the model via --prompt-only.

Install

npx plugins add voodootikigod/adlc   # install the plugin into your agent tool(s)
npm install -g @adlc/cli             # the gate toolkit the plugin shells out to
/adlc:adlc-init                      # bootstrap .adlc/ in your repo (once)

How each phase maps into Claude Code

ADLC phaseMechanismClaude Code vector
P0 Triage/adlc:adlc-ticketSlash command authors & triages a ticket into .adlc/tickets.json.
P1 Interrogateadlc spec-lint, parallaxPhase-routing skill runs the spec gates.
P2 Decomposeadlc coldstart, model-routerSkill resolves ticket scope and routes work by tier.
P3–P4 Rail & Buildadlc rails-guardHooks block frozen-rail edits and gate fitness-to-build on structured edits (Edit/Write/MultiEdit/NotebookEdit).
P5 Prosecute/adlc:adlc-prosecute → prosecutor subagentFresh-context, refute-chartered review before merge.
P7 Distill/adlc:adlc-distillTurns repeated findings into deterministic defenses.

What gets installed

  • Skill: the adlc phase-routing skill that picks the right gate.
  • Commands: /adlc:adlc-init, /adlc:adlc-ticket, /adlc:adlc-prosecute, /adlc:adlc-distill, /adlc:adlc-maintain.
  • Subagents: adlc:prosecutor, the P5 pre-merge gate, backed by a specialist panel (contract, correctness, diff, security, tests, verifier).
  • Hooks: structured-edit rails-guard and build-gate + CI backstop. The context-handoff deny is not wired since 1.11.1 (#966); see context-handoff.

Source: plugins/adlc-claude-code/.

Which adlc the hooks run

Preflight, flail detection, the Stop manifest check, the review notice and the two bypass recorders run the first adlc on PATH that is:

  • reached through an absolute PATH entry outside any node_modules directory, since a repository could place one there, and
  • owned by you, or (a sudo npm i -g @adlc/cli install) a root-owned file reached through a root-owned PATH entry in a root-owned directory, with neither the file nor any directory above it or above the PATH entry writable by group or others. A group-writable /usr/local/bin (root:staff 2775 on some older Debian systems) does not qualify.

A project-local install (node_modules/.bin/adlc only) is never run. If adlc is on PATH but no copy qualifies, the session-start and Stop checks name the first copy found and why it was refused, flail detection says the same once per session, and a rails or build-gate bypass is refused with the same reason. Install @adlc/cli globally to fix it.

Go deeper

The prosecution gate this integration automates: Prosecution, Not Code Review.

On this page