{
  "id": "terminal_output_panel",
  "label": "Terminal Output Panel Canonical",
  "phase": "phase-09",
  "category": "operational_flows",
  "status": "ACTIVE_DH_MIRROR",
  "purpose": "Preserve command output as structured execution evidence.",
  "function": "Capture stdout, stderr, exit status, command context and operator-readable evidence for execution review.",
  "technology_requirements": [
    {
      "technology": "Terminal Output Capture Store",
      "required_for": "Preserve command output as structured execution evidence.",
      "required_by_phase": "phase-09",
      "required_by_category": "terminal_output_panel",
      "required_by_buckets": [
        "Prerequisites",
        "Installation",
        "Configuration",
        "Validation",
        "Observable Evidence",
        "Failure Modes & Recovery",
        "Completion & Promotion"
      ],
      "expected_version": "MISSING until Terminal Output Capture Store is implemented and validated in the future Execution & Monitoring Panel",
      "validation_command": "MISSING until terminal_output_panel can prove scope, evidence, execution state and promotion decision",
      "evidence_path": "/home/yeff/public_html/devon/canon/execution/state/dh_sources/terminal_output_panel.json",
      "status_source": "Documentation Hub + future Execution & Monitoring Panel",
      "blocking_if_missing": true,
      "failure_impact": "Lost terminal output turns execution into folklore. When stdout, stderr and exit codes disappear, the future panel cannot separate a real correction from a command that merely looked successful. This category preserves the raw trace before interpretation corrupts it."
    }
  ],
  "depends_on": [
    "shell_execution",
    "execution_ledger",
    "observable_evidence"
  ],
  "used_by": [
    "patch_outcome_tracker",
    "test_validation_runner",
    "operator_panel"
  ],
  "overview": {
    "summary": "Terminal Output Panel Canonical is the memory of operational execution, not a visual terminal clone. Its job is to make command results durable enough for validation, rollback, learning and operator review after the command scrolls away.",
    "function": "FUNCTION: Capture command, cwd, stdout, stderr, exit code, timestamp, duration and classification so terminal evidence can be attached to the exact operation that produced it.",
    "system_position": "Shell Execution runs the command; Terminal Output Panel prevents the result from becoming anecdote. Patch Outcome Tracker needs this panel to decide whether a patch actually changed state. Test & Validation Runner needs it to prove PASS or FAIL without relying on screenshots or summary language.",
    "failure_impact": "Lost terminal output turns execution into folklore. When stdout, stderr and exit codes disappear, the future panel cannot separate a real correction from a command that merely looked successful. This category preserves the raw trace before interpretation corrupts it."
  },
  "failure_impact": "Lost terminal output turns execution into folklore. When stdout, stderr and exit codes disappear, the future panel cannot separate a real correction from a command that merely looked successful. This category preserves the raw trace before interpretation corrupts it."
}
