control_desk//data consistency console
ai ready · glm-5.2
← back to rules

products_schema_stable

products · detector cross_system_schema_drift high enabled
+ new rule
activation · the human gate (ADR-005 B1)
Enabled — this rule projects into the live detector config and runs in every detection pass.
what this rule checks

Flag when a record is missing one or more expected fields (a field renamed/retyped).

parameters
paramvalue
expected_fields['sku', 'price', 'name', 'stock']
cases this rule produced (0)

No cases in the current run used this detector. It may be a structural rule that is silent on clean data, or no break of this shape was planted.

config & provenance
rule entry (config/detection_rules.yaml)
- id: products_schema_stable
  detector: cross_system_schema_drift
  params:
    expected_fields:
    - sku
    - price
    - name
    - stock
  severity: high
  protected: false
  enabled: true
  source:
    kind: manual
    citation: initial migration from DOMAIN_CONFIG (harness/run_poc.py)
    author: claude
    at: '2026-07-07'
  • citationinitial migration from DOMAIN_CONFIG (harness/run_poc.py)
  • authorclaude
  • recorded2026-07-07
  • produced bymanual