{
  "fixtures": [
    {
      "name": "global_invariant",
      "description": "A system-wide invariant constraint",
      "invariant": {
        "text": "Never delete production data",
        "scope": "global",
        "source_name": "system"
      }
    },
    {
      "name": "project_invariant",
      "description": "A project-scoped invariant constraint",
      "invariant": {
        "text": "All API changes need tests",
        "scope": "project",
        "source_name": "local/m3-smoke-proj"
      }
    },
    {
      "name": "plan_invariant",
      "description": "A plan-scoped invariant",
      "invariant": {
        "text": "Use only approved libraries",
        "scope": "plan",
        "source_name": "01M3SM0KE00000000000000001"
      }
    },
    {
      "name": "invariant_set_merge",
      "description": "Invariants for merge precedence testing",
      "global_invariants": [
        {
          "text": "Never delete production data",
          "scope": "global",
          "source_name": "system"
        },
        {
          "text": "All changes must be reversible",
          "scope": "global",
          "source_name": "system"
        }
      ],
      "project_invariants": [
        {
          "text": "All API changes need tests",
          "scope": "project",
          "source_name": "local/m3-smoke-proj"
        },
        {
          "text": "Never delete production data",
          "scope": "project",
          "source_name": "local/m3-smoke-proj"
        }
      ],
      "plan_invariants": [
        {
          "text": "Use only approved libraries",
          "scope": "plan",
          "source_name": "01M3SM0KE00000000000000001"
        }
      ],
      "expected_merged_count": 4,
      "expected_dedup_text": "Never delete production data",
      "expected_dedup_scope": "plan"
    }
  ]
}
