name: retire description: Audits Accepted Architecture Decision Records for possible retirement using deterministic staleness, technology-removal, supersession, and enforcement-policy signals. Produces ranked candidates for human review; never edits ADRs. argument-hint: "[ADR directory; defaults to docs/adr/]" disable-model-invocation: true allowed-tools: [Read, Bash]
adr-kit retire
You are running /adr-kit:retire. This is a read-only audit of Accepted ADRs
that may no longer describe the project accurately.
Procedure
Resolve the ADR target from the optional argument; default to
docs/adr/.Run the bundled deterministic scanner from the project root:
python <adr-kit-plugin-path>/bin/adr-retire <target> \ --repo-root . --threshold 0.4 --format markdownPresent every returned candidate with its four signal scores:
staleness_90day,tech_removal,broken_supersession, andpolicy_mismatch.For any
REVIEWorRETIREresult, ask the user whether the decision is actually obsolete before proposing a superseding ADR.
Boundaries
- Do not modify ADR statuses or status histories during this audit.
- Treat
MONITORas an observation, not as proof that an ADR is obsolete. - A retirement recommendation is evidence for review, not permission to remove an Accepted decision silently.