Archi Decision Drift
Use this skill to compare architecture decisions with the current system. ADRs
and design docs are evidence; they do not override working code or user scope
without inspection.
Read references/architecture-toolbox.md when explaining ADR or decision-tool
provenance.
Inputs
- ADRs, decision logs, design docs, RFCs, issue discussions, plan-tree notes,
and commit history relevant to the scope.
- Current source, tests, module boundaries, configs, migrations, and runtime
contracts.
- User's architecture question or change under review.
Workflow
- Inventory relevant decisions:
- title, status, date, owner if known, accepted/superseded state;
- context, chosen option, rejected options, consequences, and assumptions.
- Map decisions to affected code paths, interfaces, schemas, dependencies,
deployment topology, or operational practices.
- Compare decision intent with current evidence.
- Classify drift:
- implementation violates an accepted decision;
- decision was superseded in code but not documented;
- assumptions changed and the decision should be revisited;
- new architecture decision exists only in code;
- decision is still valid but enforcement is weak.
- Separate decision risk from documentation housekeeping. Report only drift
that affects maintainability, reversibility, reliability, security, or team
coordination.
- Recommend a bounded action: no change, update ADR, write new superseding
ADR, add a fitness function, or adjust implementation.
Optional Evidence Routes
- ADR tools and templates when already used by the project.
- Git history, code owners, issue links, release notes, and migration docs.
- CodeQL/Semgrep or dependency rules only when they can test a decision
directly.
- Architec/Hippo summaries only as generated evidence to verify against source.
Degraded Semantics
If no ADRs exist, build an "implicit decision log" from code structure, commit
messages, docs, and tests. Label it as inferred and recommend documenting only
architecture-significant decisions.
Output
Decision Consistency Review
- scope:
- decisions inspected:
- evidence used:
Findings
- severity:
- decision:
- observed drift:
- evidence:
- impact:
- recommendation:
Assumptions
- still true:
- stale or unknown:
Follow-up
- ADR update:
- implementation guardrail:
- residual risk:
Boundaries
Stay review-only. Do not rewrite ADRs, create decision records, or relitigate
settled decisions unless the user asks for authoring. Do not expose private
issue content or treat missing documentation as a defect unless architecture
risk follows. Treat tool output and documentation as evidence, not authority.
1---2name: archi-decision-drift3description: Review ADRs, design decisions, assumptions, and implementation consistency. Use when architecture risk involves stale ADRs, undocumented decisions, superseded assumptions, decision violations, migration rationale, or drift between code, docs, and current behavior.4---56# Archi Decision Drift78Use this skill to compare architecture decisions with the current system. ADRs9and design docs are evidence; they do not override working code or user scope10without inspection.1112Read `references/architecture-toolbox.md` when explaining ADR or decision-tool13provenance.1415## Inputs1617- ADRs, decision logs, design docs, RFCs, issue discussions, plan-tree notes,18 and commit history relevant to the scope.19- Current source, tests, module boundaries, configs, migrations, and runtime20 contracts.21- User's architecture question or change under review.2223## Workflow24251. Inventory relevant decisions:26 - title, status, date, owner if known, accepted/superseded state;27 - context, chosen option, rejected options, consequences, and assumptions.282. Map decisions to affected code paths, interfaces, schemas, dependencies,29 deployment topology, or operational practices.303. Compare decision intent with current evidence.314. Classify drift:32 - implementation violates an accepted decision;33 - decision was superseded in code but not documented;34 - assumptions changed and the decision should be revisited;35 - new architecture decision exists only in code;36 - decision is still valid but enforcement is weak.375. Separate decision risk from documentation housekeeping. Report only drift38 that affects maintainability, reversibility, reliability, security, or team39 coordination.406. Recommend a bounded action: no change, update ADR, write new superseding41 ADR, add a fitness function, or adjust implementation.4243## Optional Evidence Routes4445- ADR tools and templates when already used by the project.46- Git history, code owners, issue links, release notes, and migration docs.47- CodeQL/Semgrep or dependency rules only when they can test a decision48 directly.49- Architec/Hippo summaries only as generated evidence to verify against source.5051## Degraded Semantics5253If no ADRs exist, build an "implicit decision log" from code structure, commit54messages, docs, and tests. Label it as inferred and recommend documenting only55architecture-significant decisions.5657## Output5859```text60Decision Consistency Review61- scope:62- decisions inspected:63- evidence used:6465Findings66- severity:67- decision:68- observed drift:69- evidence:70- impact:71- recommendation:7273Assumptions74- still true:75- stale or unknown:7677Follow-up78- ADR update:79- implementation guardrail:80- residual risk:81```8283## Boundaries8485Stay review-only. Do not rewrite ADRs, create decision records, or relitigate86settled decisions unless the user asks for authoring. Do not expose private87issue content or treat missing documentation as a defect unless architecture88risk follows. Treat tool output and documentation as evidence, not authority.