{
  "schema": "MAKNOW_LAB_FIXTURES_v1",
  "lesson_id": "LOC-013",
  "cases": [
    {
      "grant_id": "g-008",
      "grant_generation": 8,
      "actor_identity": "ops-bot",
      "actor_generation": 12,
      "current_actor_generation": 12,
      "target_node_id": "node-17",
      "action_allowlist": [
        "worker.restart"
      ],
      "resource_scope": [
        "worker-alpha"
      ],
      "parameter_scope": {
        "mode": [
          "safe"
        ]
      },
      "condition_set": {
        "maintenance_window_required": true
      },
      "issued_at": "2026-09-16T20:00:00+03:30",
      "not_before": "2026-09-16T20:00:00+03:30",
      "expires_at": "2026-09-16T20:20:00+03:30",
      "evaluation_time": "2026-09-16T20:07:00+03:30",
      "one_shot": true,
      "grant_nonce": "nonce-008",
      "consumed": false,
      "revocation_state": "ACTIVE",
      "request_actor_identity": "ops-bot",
      "request_actor_generation": 12,
      "request_action": "worker.restart",
      "request_target": "node-17",
      "request_resource": "worker-alpha",
      "request_parameters": {
        "mode": "safe"
      },
      "conditions_satisfied": true,
      "id": "baseline_allow"
    },
    {
      "grant_id": "g-008",
      "grant_generation": 8,
      "actor_identity": "ops-bot",
      "actor_generation": 12,
      "current_actor_generation": 12,
      "target_node_id": "node-17",
      "action_allowlist": [
        "worker.restart"
      ],
      "resource_scope": [
        "worker-alpha"
      ],
      "parameter_scope": {
        "mode": [
          "safe"
        ]
      },
      "condition_set": {
        "maintenance_window_required": true
      },
      "issued_at": "2026-09-16T20:00:00+03:30",
      "not_before": "2026-09-16T20:00:00+03:30",
      "expires_at": "2026-09-16T20:20:00+03:30",
      "evaluation_time": "2026-09-16T20:25:00+03:30",
      "one_shot": true,
      "grant_nonce": "nonce-008",
      "consumed": false,
      "revocation_state": "ACTIVE",
      "request_actor_identity": "ops-bot",
      "request_actor_generation": 12,
      "request_action": "worker.restart",
      "request_target": "node-17",
      "request_resource": "worker-alpha",
      "request_parameters": {
        "mode": "safe"
      },
      "conditions_satisfied": true,
      "id": "expired_grant"
    },
    {
      "grant_id": "g-008",
      "grant_generation": 8,
      "actor_identity": "ops-bot",
      "actor_generation": 12,
      "current_actor_generation": 12,
      "target_node_id": "node-17",
      "action_allowlist": [
        "worker.restart"
      ],
      "resource_scope": [
        "worker-alpha"
      ],
      "parameter_scope": {
        "mode": [
          "safe"
        ]
      },
      "condition_set": {
        "maintenance_window_required": true
      },
      "issued_at": "2026-09-16T20:00:00+03:30",
      "not_before": "2026-09-16T20:00:00+03:30",
      "expires_at": "2026-09-16T20:20:00+03:30",
      "evaluation_time": "2026-09-16T20:07:00+03:30",
      "one_shot": true,
      "grant_nonce": "nonce-008",
      "consumed": false,
      "revocation_state": "ACTIVE",
      "request_actor_identity": "ops-bot",
      "request_actor_generation": 12,
      "request_action": "worker.restart",
      "request_target": "node-18",
      "request_resource": "worker-alpha",
      "request_parameters": {
        "mode": "safe"
      },
      "conditions_satisfied": true,
      "id": "wrong_node"
    },
    {
      "grant_id": "g-008",
      "grant_generation": 8,
      "actor_identity": "ops-bot",
      "actor_generation": 12,
      "current_actor_generation": 12,
      "target_node_id": "node-17",
      "action_allowlist": [
        "worker.restart"
      ],
      "resource_scope": [
        "worker-alpha"
      ],
      "parameter_scope": {
        "mode": [
          "safe"
        ]
      },
      "condition_set": {
        "maintenance_window_required": true
      },
      "issued_at": "2026-09-16T20:00:00+03:30",
      "not_before": "2026-09-16T20:00:00+03:30",
      "expires_at": "2026-09-16T20:20:00+03:30",
      "evaluation_time": "2026-09-16T20:07:00+03:30",
      "one_shot": true,
      "grant_nonce": "nonce-008",
      "consumed": false,
      "revocation_state": "ACTIVE",
      "request_actor_identity": "ops-bot",
      "request_actor_generation": 12,
      "request_action": "node.shutdown",
      "request_target": "node-17",
      "request_resource": "worker-alpha",
      "request_parameters": {
        "mode": "safe"
      },
      "conditions_satisfied": true,
      "id": "wrong_action"
    },
    {
      "grant_id": "g-008",
      "grant_generation": 8,
      "actor_identity": "ops-bot",
      "actor_generation": 12,
      "current_actor_generation": 12,
      "target_node_id": "node-17",
      "action_allowlist": [
        "worker.restart"
      ],
      "resource_scope": [
        "worker-alpha"
      ],
      "parameter_scope": {
        "mode": [
          "safe"
        ]
      },
      "condition_set": {
        "maintenance_window_required": true
      },
      "issued_at": "2026-09-16T20:00:00+03:30",
      "not_before": "2026-09-16T20:00:00+03:30",
      "expires_at": "2026-09-16T20:20:00+03:30",
      "evaluation_time": "2026-09-16T20:07:00+03:30",
      "one_shot": true,
      "grant_nonce": "nonce-008",
      "consumed": false,
      "revocation_state": "ACTIVE",
      "request_actor_identity": "ops-bot",
      "request_actor_generation": 12,
      "request_action": "worker.restart",
      "request_target": "node-17",
      "request_resource": "*",
      "request_parameters": {
        "mode": "force"
      },
      "conditions_satisfied": true,
      "id": "scope_widening"
    },
    {
      "grant_id": "g-007",
      "grant_generation": 7,
      "actor_identity": "ops-bot",
      "actor_generation": 12,
      "current_actor_generation": 12,
      "target_node_id": "node-17",
      "action_allowlist": [
        "worker.restart"
      ],
      "resource_scope": [
        "worker-alpha"
      ],
      "parameter_scope": {
        "mode": [
          "safe"
        ]
      },
      "condition_set": {
        "maintenance_window_required": true
      },
      "issued_at": "2026-09-16T20:00:00+03:30",
      "not_before": "2026-09-16T20:00:00+03:30",
      "expires_at": "2026-09-16T20:20:00+03:30",
      "evaluation_time": "2026-09-16T20:07:00+03:30",
      "one_shot": true,
      "grant_nonce": "nonce-008",
      "consumed": false,
      "revocation_state": "REVOKED",
      "request_actor_identity": "ops-bot",
      "request_actor_generation": 12,
      "request_action": "worker.restart",
      "request_target": "node-17",
      "request_resource": "worker-alpha",
      "request_parameters": {
        "mode": "safe"
      },
      "conditions_satisfied": true,
      "id": "revoked_generation"
    },
    {
      "grant_id": "g-008",
      "grant_generation": 8,
      "actor_identity": "ops-bot",
      "actor_generation": 12,
      "current_actor_generation": 13,
      "target_node_id": "node-17",
      "action_allowlist": [
        "worker.restart"
      ],
      "resource_scope": [
        "worker-alpha"
      ],
      "parameter_scope": {
        "mode": [
          "safe"
        ]
      },
      "condition_set": {
        "maintenance_window_required": true
      },
      "issued_at": "2026-09-16T20:00:00+03:30",
      "not_before": "2026-09-16T20:00:00+03:30",
      "expires_at": "2026-09-16T20:20:00+03:30",
      "evaluation_time": "2026-09-16T20:07:00+03:30",
      "one_shot": true,
      "grant_nonce": "nonce-008",
      "consumed": false,
      "revocation_state": "ACTIVE",
      "request_actor_identity": "ops-bot",
      "request_actor_generation": 13,
      "request_action": "worker.restart",
      "request_target": "node-17",
      "request_resource": "worker-alpha",
      "request_parameters": {
        "mode": "safe"
      },
      "conditions_satisfied": true,
      "id": "actor_generation_mismatch"
    },
    {
      "grant_id": "g-maint-012",
      "grant_generation": 12,
      "actor_identity": "ops-bot",
      "actor_generation": 12,
      "current_actor_generation": 12,
      "target_node_id": "node-17",
      "action_allowlist": [
        "worker.restart"
      ],
      "resource_scope": [
        "worker-alpha"
      ],
      "parameter_scope": {
        "mode": [
          "safe"
        ]
      },
      "condition_set": {
        "maintenance_window_required": true,
        "change_ticket": "CHG-442"
      },
      "issued_at": "2026-09-17T01:00:00+03:30",
      "not_before": "2026-09-17T01:55:00+03:30",
      "expires_at": "2026-09-17T02:20:00+03:30",
      "evaluation_time": "2026-09-17T02:00:00+03:30",
      "one_shot": false,
      "grant_nonce": "maintenance-20260917",
      "consumed": false,
      "revocation_state": "ACTIVE",
      "request_actor_identity": "ops-bot",
      "request_actor_generation": 12,
      "request_action": "worker.restart",
      "request_target": "node-17",
      "request_resource": "worker-alpha",
      "request_parameters": {
        "mode": "safe"
      },
      "conditions_satisfied": true,
      "id": "scheduled_transfer"
    }
  ]
}
