{
  "map_id": "grl.constraint_enforcement_map",
  "version": "6.0-draft",
  "book": "book6_governance",
  "series": "AI Edition",
  "invariant": "INV-GRL-004",
  "operator_binding": "GRL-Λ (LegitimacyCheck)",
  "description": "Defines the constraint legitimacy model. Governed structures may challenge regime constraints only through declared structural channels. Unilateral violation is classified as a violation event, not a challenge. This map specifies enforcement mechanics, challenge channel definitions, and the structural determination of legitimate versus illegitimate challenge.",
  "constraint_legitimacy_model": {
    "formal": "challenge_legitimate(S, C, R) ⟺ challenge_path(S, C, R) ⊆ declared_channels(R)",
    "components": {
      "S": "The challenging governed structure",
      "C": "The regime constraint being challenged",
      "R": "The governing regime",
      "challenge_path": "The set of structural steps taken by S in challenging C — the sequence of relations, declarations, and interactions used to contest the constraint",
      "declared_channels": "The enumerated set of challenge pathways declared in regime configuration R"
    },
    "legitimacy_determination": "Legitimacy is a structural binary: a challenge is legitimate if and only if every step of its path falls within declared_channels(R). Partial channel use does not produce partial legitimacy.",
    "tel_encoding": "Challenge paths are expressible in TEL as T[challenge_ID]: S → channel_node → R, enabling formal verification by TEL-Σ and TEL-Ε."
  },
  "declared_channel_types": [
    {
      "id": "DCH-001",
      "label": "Formal Objection",
      "description": "A structured declaration of constraint non-compliance sent through the regime's declared objection interface. The governed structure formally records its objection to a constraint without unilaterally violating it.",
      "precondition": "Objection interface must be declared in regime configuration",
      "structural_effect": "Objection is logged. Regime may respond with constraint clarification, suspension, or dismissal. Governed structure remains bound by the constraint during the objection period unless the regime grants a suspension.",
      "tel_expression": "T[FORMAL_OBJ]: (S ⊢ C[objection_declared]) → (objection_interface ⊗ R)"
    },
    {
      "id": "DCH-002",
      "label": "Appeal",
      "description": "A challenge routed through a declared review authority above the enforcing regime node. The review authority may be a meta-regime, a peer regime, or a declared appeals body.",
      "precondition": "Review authority must be declared in regime configuration and reachable via declared structural relations",
      "structural_effect": "The constraint's enforcement is suspended pending review. If the review authority upholds the constraint, the governed structure must comply. If overturned, the constraint is removed from C_R or modified.",
      "requires": "Meta-regime or declared review authority — see INV-GRL-003"
    },
    {
      "id": "DCH-003",
      "label": "Renegotiation",
      "description": "A constraint modification request through the regime's declared amendment process. The governed structure proposes a revised constraint formulation acceptable to both parties.",
      "precondition": "Amendment process must be declared in regime configuration",
      "structural_effect": "If renegotiation succeeds: the constraint C in C_R is replaced with a revised constraint C'. Both the regime and the governed structure's configurations are updated. If renegotiation fails: original constraint C remains binding.",
      "outcome_types": ["success: C replaced by C' in C_R", "failure: C remains; governed structure must comply", "deadlock: renegotiation cycle limit reached → escalate to appeal or exit"]
    },
    {
      "id": "DCH-004",
      "label": "Exit",
      "description": "Withdrawal from the governed set through a declared exit procedure. The governed structure removes itself from S_R, ending the enforcement relation.",
      "precondition": "Exit procedure must be declared in regime configuration. Not all regimes permit exit — some may classify exit attempts as violations.",
      "structural_effect": "If exit is permitted and procedure is followed: S is removed from S_R. Enforcement relation E_R(R, S) is severed. Regime's governed-set attrition is recorded.",
      "exit_denied_handling": "If a regime does not declare an exit procedure, exit is structurally unavailable. A governed structure that attempts to exit without a declared procedure is classified as committing a violation event, not exercising a legitimate challenge."
    }
  ],
  "violation_classification": {
    "description": "A constraint challenge that bypasses declared channels — or any unilateral constraint non-compliance — is classified as a violation event, not a challenge.",
    "formal": "violation_event(S, C, R) ⟺ ¬challenge_legitimate(S, C, R) ∧ config(S) ⊭ C",
    "violation_types": [
      {
        "id": "VT-001",
        "label": "Unilateral Bypass",
        "description": "Governed structure changes configuration to violate C without using any declared channel.",
        "enforcement_response": "Standard enforcement cycle — GRL-Ε applies enforcement action; compliance response tracked for INV-GRL-002"
      },
      {
        "id": "VT-002",
        "label": "Undeclared Channel Attempt",
        "description": "Governed structure attempts to challenge C through a path not declared in declared_channels(R) — e.g., direct negotiation bypassing the declared process, public declaration of non-compliance without objection interface.",
        "enforcement_response": "Challenge is structurally void. Regime may treat as VT-001 and initiate standard enforcement."
      },
      {
        "id": "VT-003",
        "label": "Meta-Regime Invocation without Standing",
        "description": "Governed structure invokes a meta-regime as a review authority that is not declared in the regime's configuration.",
        "enforcement_response": "Challenge is structurally void. Undeclared review authority has no standing in the regime's constraint model."
      }
    ]
  },
  "enforcement_cycle_model": {
    "description": "An enforcement cycle is a discrete structural event in which the regime applies enforcement action to a governed structure regarding a specific constraint.",
    "cycle_steps": [
      "Step 1: GRL-Ε detects configuration(S) ⊭ C for some C ∈ C_R, S ∈ S_R",
      "Step 2: GRL-Ε applies enforcement_action(R, C, S) — a directed structural pressure signal",
      "Step 3: GRL-Λ checks whether S has initiated a channel-based challenge: if yes, classify as legitimate_challenge; if no, classify as violation_event",
      "Step 4: GRL-Α monitors compliance_observed(R, C, S) in the next cycle",
      "Step 5: If compliance observed → authority α stable; if not → α decays by λ_R (INV-GRL-002)"
    ],
    "book5_integration": "Enforcement actions may be expressed as TEL transformation assertions: INV[GRL-001]: assert (S ⊢ C[constraint_id]) — GRL-Ε generates and applies this assertion to the governed structure's structural record."
  },
  "opacity_in_constraint_enforcement": {
    "description": "When a regime's constraint set C_R carries opacity ω(C_R) > 0 (Book 4 integration), governed structures may be unable to fully identify which constraints apply to them. This creates enforcement legitimacy complications.",
    "high_opacity_effect": "Governed structures cannot detect constraint boundaries → may inadvertently violate constraints → challenge legitimacy is ambiguous when governed structure claims unawareness of the constraint",
    "resolution": "The structural rule is strict: opacity of C_R does not reduce the binding force of constraints. A governed structure that violates an opaque constraint is in violation, regardless of awareness. However, GRL-Λ may record the opacity level as a mitigating structural note in the enforcement record.",
    "book4_binding": "INV-OR-004 (Partial Revelation) applies: governed structures may have partial access to C_R depending on their detection capacity δ and the regime's constraint-opacity profile ω(C_R)"
  },
  "qmroot_binding": {
    "note": "Constraint legitimacy traces to Book 1 INV-002 (Constraint Preservation) and Book 5 INV-TEL-003 (Compositionality — challenge paths must be explicitly encoded). 0D only.",
    "qmroot_state": "0D only"
  }
}
