{
  "append_used": "NO",
  "authority": "Declare which server actions are allowed, blocked, gated, logged and recoverable before any real shell operation is exposed.",
  "contract_id": "tool_registry_shell_gate_contract",
  "created_at": "2026-06-26T18:59:05.507288+00:00",
  "last_final_readiness": {
    "append_used": "NO",
    "event_id": "tool_registry_shell_execution_final_readiness_16251",
    "event_index": 16251,
    "finalized_at": "2026-06-27T01:59:08.112025+00:00",
    "next_integration_module": "NONE",
    "next_required_action": "INTEGRATION_BACKLOG_COMPLETE",
    "real_shell_execution_enabled": "NO",
    "remote_yeffai_mutation_enabled": "NO",
    "status": "PASS",
    "unregistered_tool_execution_enabled": "NO"
  },
  "last_gate_test": {
    "append_used": "NO",
    "event_id": "tool_registry_shell_gate_tested_16202",
    "event_index": 16202,
    "real_shell_execution_enabled": "NO",
    "remote_yeffai_mutation_enabled": "NO",
    "status": "PASS",
    "tested_at": "2026-06-27T01:12:33.749076+00:00",
    "unregistered_tool_execution_enabled": "NO"
  },
  "last_registry_read_test": {
    "append_used": "NO",
    "event_id": "tool_registry_read_tested_16215",
    "event_index": 16215,
    "real_shell_execution_enabled": "NO",
    "remote_yeffai_mutation_enabled": "NO",
    "status": "PASS",
    "tested_at": "2026-06-27T01:24:32.675020+00:00",
    "tool_registry_readable": "PASS",
    "unregistered_tool_execution_enabled": "NO"
  },
  "module_id": "tool_registry_shell_execution",
  "next_required_action": "INTEGRATION_BACKLOG_COMPLETE",
  "next_required_action_source": "execution_server_integration_plan.integration_backlog",
  "purpose": "Create the canonical gate that defines which shell-related tool actions are denied, allowed, logged and recoverable before any real shell execution surface can be exposed.",
  "registry_policy": {
    "allowed_action_required": "YES",
    "denied_action_required": "YES",
    "recovery_policy_required": "YES",
    "risk_level_required": "YES",
    "tool_id_required": "YES",
    "tool_registry_required": "YES",
    "tool_scope_required": "YES"
  },
  "remote_yeffai_mutation": "NO",
  "risk_level": "CRITICAL",
  "scope": "local_shell_execution_governance_gate",
  "shell_execution_policy": {
    "command_allowlist_required": "YES",
    "direct_root_shell_passthrough": "NO",
    "evidence_required_before_execution": "YES",
    "human_approval_required_for_real_mutation": "YES",
    "ledger_event_required": "YES",
    "real_shell_execution_enabled": "NO",
    "remote_yeffai_mutation_enabled": "NO",
    "rollback_required_for_mutating_action": "YES",
    "unregistered_tool_execution_enabled": "NO"
  },
  "status": "PASS",
  "terminal_command_execution": "NO",
  "title": "Tool Registry + Shell Execution Gate",
  "updated_at": "2026-06-27T01:59:08.112025+00:00",
  "validation": {
    "final_readiness": "PASS",
    "job_queue_jsonl_unchanged": "PASS",
    "real_shell_execution_enabled": "NO",
    "remote_yeffai_mutation_enabled": "NO",
    "tool_registry_read_tested": "PASS",
    "tool_registry_readable": "PASS",
    "tool_registry_shell_execution_final_readiness": "PASS",
    "tool_registry_shell_gate_contract_exists": "PASS",
    "tool_registry_shell_gate_latest_exists": "PASS",
    "tool_registry_shell_gate_state_exists": "PASS",
    "tool_registry_shell_gate_tested": "PASS",
    "unregistered_tool_execution_enabled": "NO"
  }
}
