Bow Tie Kreative VIDEO Grammar

Production rules · QA

QAG-006

Hard rule priority 96 domain: qa versioning

Rationale

Approval applies to a particular version state.

IF — conditions (all must hold)

  • version.changed_after_approval eq true

THEN — actions

  • set version.approvals_valid false
  • append requirements "reapprove_affected_domains"

This is a hard rule: when it matches it participates in blocking — the pipeline may not proceed until the condition is repaired or a human accepts the risk.

Full record

rules/production_rules.json
{
  "id": "QAG-006",
  "domain": "qa",
  "priority": 96,
  "hard": true,
  "logic": "all",
  "when": [
    {
      "path": "version.changed_after_approval",
      "op": "eq",
      "value": true
    }
  ],
  "then": [
    {
      "op": "set",
      "path": "version.approvals_valid",
      "value": false
    },
    {
      "op": "append",
      "path": "requirements",
      "value": "reapprove_affected_domains"
    }
  ],
  "rationale": "Approval applies to a particular version state.",
  "tags": [
    "versioning"
  ]
}

This rule as JSON → · Evaluate a context →