What problem does it solve? Codebases gradually diverge from their documented architecture: module boundaries erode, data flows deviate from ADRs, and naming conventions become inconsistent. This Skill catches that drift before it compounds by comparing the current implementation against established constraints. ## Core Features & Use Cases - Automated Constraint Checking: Runs ca audit --json to verify the implementation against recorded invariants and architectural decisions. - Document Cross-Referencing: Reads invariants from docs/invariants/ and ADRs from docs/adr/ to compare module boundaries, data flows, and naming conventions against the actual code. - Pipeline Integration: Operates as a subagent between module-boundary-reviewer and implementation-reviewer in a TDD review pipeline, returning DRIFT, RISK, or CLEAR verdicts. - Use Case: After refactoring a service layer, run this check to confirm the new code still respects the layering rules and data-flow contracts recorded in your ADRs before merging. ## Quick Start Ask the agent to check the current implementation for drift against the documented invariants and ADRs and report any violations.