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

orders_orderref_and_customer_required

orders · detector structural_not_null 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 any of order_ref, customer is empty or missing in a single source's data.

parameters
paramvalue
fields['order_ref', 'customer']
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_orderref_and_customer_required
  detector: structural_not_null
  params:
    fields:
    - order_ref
    - customer
  severity: high
  protected: false
  enabled: true
  source:
    kind: manual
    citation: order_ref is the identity field; customer is required (structural axis,
      ADR-006)
    author: claude
    at: '2026-07-07'
  • citationorder_ref is the identity field; customer is required (structural axis, ADR-006)
  • authorclaude
  • recorded2026-07-07
  • produced bymanual