get_drift_report
Detect drift between stored and live specs by recomputing hash. Buckets results into fresh, drifted, unknown, or stranded. Use to check if test suite is aligned with specs.
Instructions
For every spec in the index that has a stored ac_hash, fetch the live spec via the active adapter and recompute its ac_hash to detect drift. Buckets the results into fresh (no drift), drifted (linked tests may be stale), unknown (no hash stored — re-link with ac_hash from parse_spec._meta.ac_hash to enable), and stranded (spec_id can no longer be fetched — deleted, closed, or source mismatch). Use when a user asks 'has anything changed' / 'what's out of sync' / 'is my test suite still aligned with specs'. Optional spec_id narrows the check to one spec. Returns counts + per-bucket details + markdown summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_id | No |