{
  "schema_version": "1.0",
  "description": "Rules that must reach every agent instruction file (REQ-163). CLAUDE.md, AGENTS.md and their repo-skeleton counterparts are deliberately worded differently, so this checks that the same RULES are present rather than that the bytes match. A rule with always_in_force must also sit above CLAUDE.md's skills heading; below it, a rule reads as a routing hint. Add a rule to CLAUDE.md's always-in-force section and you must register it here, or tests/test_instruction_parity.py fails. Enforced by scripts/instruction_parity.py via workflow_chml_audit.",
  "rules": [
    {
      "id": "grounding",
      "always_in_force": true,
      "markers": { "*": "Never state something as true that you have" }
    },
    {
      "id": "no-timescales",
      "always_in_force": true,
      "markers": { "*": "Do not give time/duration estimates" }
    },
    {
      "id": "workflow-autonomy",
      "always_in_force": true,
      "markers": { "*": "project-decision-policy" }
    },
    {
      "id": "decision-quality-bar",
      "always_in_force": true,
      "markers": { "*": "Correct · Robust · Aligned · Faithful-to-method · Tested · Efficient · Secure ·" }
    },
    {
      "id": "deterministic-execution",
      "always_in_force": true,
      "markers": { "*": "project-deterministic-workflows" }
    },
    {
      "id": "consent-floor",
      "always_in_force": true,
      "markers": { "*": "bind_host" }
    },
    {
      "id": "commit-your-work",
      "always_in_force": true,
      "markers": { "*": "create a work branch first" }
    },
    {
      "id": "resolve-before-you-ask",
      "always_in_force": true,
      "markers": { "*": "capability discovery" }
    },
    {
      "id": "query-and-grow-the-wiki",
      "always_in_force": true,
      "markers": { "*": "before re-deriving" }
    },
    {
      "id": "plain-language-reporting",
      "always_in_force": true,
      "markers": { "*": "never open with ID codes" }
    },
    {
      "id": "human-readable-ui",
      "always_in_force": true,
      "markers": { "*": "Human-readable UI" }
    },
    {
      "id": "check-messages-means-prd-plugin-inbox-first",
      "always_in_force": true,
      "markers": { "*": "Check messages means PRD Plugin inbox first" }
    },
    {
      "id": "parallel-work",
      "always_in_force": true,
      "markers": { "*": "Do not use subagents unless the user" }
    },
    {
      "id": "test-first",
      "always_in_force": true,
      "markers": { "*": "failing test first" }
    }
  ]
}
