Docs menu

Drift Engine

Detect cross-artifact drift with drift_scan / drift_check / drift_enforce.

What you will learn

  • drift_scan
  • drift_check
  • drift_enforce

Prerequisites

Surface

Imports@tmrxjd/agent-governance-system/drift
MCPdrift_scan · drift_get · drift_validate · drift_diff · drift_enforce · drift_check

What this feature does

Drift Engine aggregates pointer, canonical, schema, and docs mismatches into a single report. drift_check is the quick gate; drift_enforce is hard.

How to call it

Call these MCP tools through your AGS / tower-gov host — drift_scan, drift_get, drift_validate, drift_diff, drift_enforce, drift_check.. Prefer scan/get before validate/diff, and enforce only when the change set is ready.

  1. drift_scan
  2. drift_diff
  3. Repair via canon_plan_fix / pointer fixes
  4. drift_enforce
MCP: drift_check json
{
  /* Example MCP call — fill args from schema_get / docs */
  "tool": "drift_scan",
  "arguments": {}
}

What success looks like

No error-level drift

drift_enforce ok

Common failure modes

Docs updated without canonical

Graph artifact stale

Check pass misread when only warnings scanned

Related reference

AGS documentation