{
  "append_used": "NO",
  "authority": "Expose controlled command output in the panel without opening uncontrolled shell execution.",
  "blocking_reason": "The panel has no operator-facing command output stream tied to evidence and ledger.",
  "contract_id": "terminal_output_contract",
  "created_at": "2026-06-26T16:42:30.653511+00:00",
  "endpoint_policy": {
    "auth_required": "YES",
    "endpoint_created_at": "2026-06-26T17:05:18.783728+00:00",
    "endpoint_exists": "YES",
    "endpoint_next_required_action": "TEST_TERMINAL_OUTPUT_ENDPOINT",
    "endpoint_path": "/home/yeff/public_html/devon/canon/execution/ui/terminal.php",
    "endpoint_required": "YES",
    "env_token": "DEVON_EXECUTION_AUTH_TOKEN",
    "method_policy": [
      "GET",
      "HEAD",
      "CLI"
    ],
    "remote_mutation_allowed": "NO",
    "token_header": "X-Devon-Execution-Token"
  },
  "last_endpoint_creation": {
    "created_at": "2026-06-26T17:05:18.783728+00:00",
    "endpoint_path": "/home/yeff/public_html/devon/canon/execution/ui/terminal.php",
    "event_id": "terminal_output_endpoint_created_15710",
    "event_index": 15710,
    "job_queue_jsonl_appended": "NO",
    "remote_yeffai_mutation": "NO",
    "status": "PASS",
    "terminal_command_execution": "NO"
  },
  "last_endpoint_test": {
    "cli_output": "/home/yeff/public_html/devon/_backup/mark_terminal_output_endpoint_test_pass_compact_20260626_145657/terminal_endpoint_cli_test_20260626_145657.json",
    "event_id": "terminal_output_endpoint_tested_15762",
    "event_index": 15762,
    "job_queue_jsonl_appended": "NO",
    "remote_yeffai_mutation": "NO",
    "status": "PASS",
    "terminal_command_execution": "NO",
    "tested_at": "2026-06-26T17:56:57.671458+00:00"
  },
  "last_final_readiness": {
    "event_id": "terminal_output_panel_final_readiness_15816",
    "event_index": 15816,
    "finalized_at": "2026-06-26T18:48:54.048949+00:00",
    "job_queue_jsonl_appended": "NO",
    "next_integration_module": "tool_registry_shell_execution",
    "next_required_action": "CREATE_TOOL_REGISTRY_SHELL_GATE",
    "remote_yeffai_mutation": "NO",
    "status": "PASS",
    "terminal_command_execution": "NO"
  },
  "last_read_test": {
    "cli_output": "/home/yeff/public_html/devon/_backup/mark_terminal_output_read_test_pass_compact_20260626_153619/terminal_read_cli_test_20260626_153619.json",
    "event_id": "terminal_output_read_tested_15803",
    "event_index": 15803,
    "job_queue_jsonl_appended": "NO",
    "remote_yeffai_mutation": "NO",
    "status": "PASS",
    "terminal_command_execution": "NO",
    "terminal_output_readable": "PASS",
    "tested_at": "2026-06-26T18:36:20.235870+00:00"
  },
  "module_id": "terminal_output_panel",
  "next_required_action": "CREATE_TOOL_REGISTRY_SHELL_GATE",
  "next_required_action_source": "execution_server_integration_plan.integration_backlog",
  "output_policy": {
    "max_output_bytes_default": 65536,
    "raw_remote_shell_passthrough": "NO",
    "redaction_required": "YES",
    "secret_echo_allowed": "NO",
    "source_of_truth": "local_canon_state_only_until_endpoint_exists",
    "terminal_output_latest_file": "/home/yeff/public_html/devon/canon/execution/state/terminal_output_latest.json",
    "terminal_output_state_file": "/home/yeff/public_html/devon/canon/execution/state/terminal_output_state.json"
  },
  "purpose": "Define the canonical local contract for terminal output rendering before any endpoint is created. This contract governs how command output will be exposed to the execution UI without granting remote mutation authority.",
  "read_policy": {
    "job_output_read": "YES",
    "runtime_output_read": "YES",
    "terminal_stream_read": "PENDING_ENDPOINT"
  },
  "remote_yeffai_mutation": "NO",
  "risk_level": "HIGH",
  "scope": "local_execution_console_terminal_output",
  "status": "PASS",
  "title": "Terminal Output Panel",
  "updated_at": "2026-06-26T18:48:54.048949+00:00",
  "validation": {
    "final_readiness": "PASS",
    "job_queue_jsonl_unchanged": "PASS",
    "remote_yeffai_mutation": "NO",
    "terminal_command_execution": "NO",
    "terminal_output_contract_exists": "PASS",
    "terminal_output_endpoint_created": "PASS",
    "terminal_output_endpoint_exists": "PASS",
    "terminal_output_endpoint_tested": "PASS",
    "terminal_output_final_readiness": "PASS",
    "terminal_output_latest_exists": "PASS",
    "terminal_output_read_tested": "PASS",
    "terminal_output_readable": "PASS",
    "terminal_output_state_exists": "PASS"
  },
  "write_policy": {
    "job_queue_jsonl_append": "NO",
    "remote_yeffai_mutation": "NO",
    "terminal_command_execution": "NO",
    "terminal_output_contract_replace_only": "YES"
  }
}
