delimit_drift_check
Detect API spec changes since the last governance review. Use as a scheduled compliance monitor to identify drift without lint or stale baseline.
Instructions
Check for API spec drift since last governance review.
When to use: as a scheduled (cron) compliance monitor — detects spec changes without lint, stale baseline, or missing policy. When NOT to use: for one-shot lint (use delimit_lint) or to read historical drift (delimit_drift_history).
Sibling contrast: delimit_lint is enforcement; delimit_drift_history reads past drift records; this is the periodic monitor.
Side effects: read-only on spec + governance state. Calls ai.drift_monitor.check_drift.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec_path | No | OpenAPI spec path. Empty = auto-detect. | |
| project_path | No | Project root. Default "." (cwd). | . |
| staleness_days | No | Alert if baseline older than this. Default 7. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||