ConfigDriftDetector
Compares the running BotConfig of every live bot against the latest committed config in the config repo.
What it does
Compares the running BotConfig of every live bot against the latest committed config in the config repo. Any drift (running != committed) is surfaced as a ConfigDriftReport naming the bot, the field, and the drift amount. Operators are forced to either commit the change or revert it.
Pipeline placement
Applies to: Continuous
Why it matters
| If this fails | Consequence |
|---|---|
| Untracked tuning | An on-call who tweaks a threshold via the Admin UI without committing the change loses an audit trail; the next incident review cannot reconstruct the system state. |
| Drift between staging and prod | Without an explicit comparison, prod can silently run an ancient config while staging is updated. |
| Compliance evidence | Auditors require evidence that the running configuration matches a reviewed and signed-off version. |
Inputs
Internal inputs
| Input | Source | Required | Use |
|---|---|---|---|
| Running BotConfig per bot | Bot runtime | required | Effective config in process memory, including any live-edited fields. |
| Committed BotConfig per bot | Config repo (Git) | required | Source of truth signed-off configuration. |
Authority
What this bot is permitted to do
State
Readiness
Spec ready
Status
planned
Class
Governance Service
Default mode
shadow
Developer owner
Governance pod
Capital impact
Direct
Reason codes emitted
| Code | Severity | Meaning | Action |
|---|---|---|---|
| GOV_CONFIG_DRIFT_DETECTED | P3 | Gov Config Drift Detected | See decision output and developer log for context. |
| GOV_CONFIG_DRIFT_RESOLVED | P3 | Gov Config Drift Resolved | See decision output and developer log for context. |
| GOV_CONFIG_DRIFT_UNKNOWN | P3 | Gov Config Drift Unknown | See decision output and developer log for context. |
Related bots in Governance & Ops
Used by
Reverse index — strategies that currently reference gov.config_drift_detector. If you change this bot's authority or reason codes, these strategies must re-pass shadow.
| Strategy | State | Activity |
|---|---|---|
| US Elect — book-builder | demo-wired | last triggered 7m ago |
| NBA H2H — moneyline market-make | demo-wired | last triggered 14m ago |
Showing 2 of 2 · demo-wired ≠ production-live
Why this matters
Governance & Ops bots does NOT propose, approve, or block trades; only observes and reports. Understanding the authority boundary prevents misuse and makes promotion-gate reviews faster and more reliable. View raw spec JSON →