knowledge_check_drift
Check whether an Architecture Decision Record (ADR) has drifted from the codebase by comparing its claims to the actual implementation.
Instructions
Check whether an ADR has drifted from the actual codebase.
Returns the ADR content + its affects_paths (glob patterns). YOU THEN:
Use your own Glob/Read/Grep tools to inspect the files under those paths in the user's workspace
Compare the ADR's claims/decisions to what the code actually does
Return a structured drift report: { drifts: [{ claim, evidence, severity }] } or {} if no drift.
If affectsPaths is empty, tell the user: "ADR-N has no affects_paths configured — ask them to add glob patterns via the UI".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| adrNumber | Yes | ADR number to check |