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

orders_status_enum

orders · detector structural_format warning 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 'status' doesn't match the required pattern in a single source's data.

parameters
paramvalue
fieldstatus
pattern^(pending|paid|shipped)$
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: orders_status_enum
  detector: structural_format
  params:
    field: status
    pattern: ^(pending|paid|shipped)$
  severity: warning
  protected: false
  enabled: true
  source:
    kind: manual
    citation: status must be one of the known order states (structural axis, ADR-006)
    author: claude
    at: '2026-07-07'
  • citationstatus must be one of the known order states (structural axis, ADR-006)
  • authorclaude
  • recorded2026-07-07
  • produced bymanual