Check drift from the plan
check_driftDetect project drift by comparing PROGRESS.md and dependencies against the finalized scope and architecture, flagging unplanned libraries, missing stack components, and features absent from the roadmap.
Instructions
Compare a project's actual state (PROGRESS.md checkboxes and package.json dependencies in target_dir) against the finalized scope and architecture from a session. Flags installed libraries that contradict the scope (e.g. a payment library when scope said no payments), stack pieces from the architecture that aren't installed yet, and planned features that don't appear in any roadmap sprint. Call this periodically during implementation, not just once at the start.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| target_dir | Yes | Absolute path to the project directory to inspect (should contain PROGRESS.md and/or package.json). |