{
  "schema_version": "runtime-bounded-test-command-v1",
  "source": "runtime-core-testing",
  "run_id": "bcebeff8-4ed5-4f49-8ecf-db6da1acf6ab",
  "name": "runtime-daemon-tests",
  "status": "passed",
  "classification": "passed",
  "command": "node",
  "args": [
    "ai/runtime/test/runtime-daemon-test.mjs"
  ],
  "command_summary": "node ai/runtime/test/runtime-daemon-test.mjs",
  "phase": "stdout_output",
  "started_at": "2026-05-21T12:51:54.531Z",
  "completed_at": "2026-05-21T12:54:21.921Z",
  "duration_ms": 147390,
  "timeout_ms": 300000,
  "no_output_timeout_ms": 90000,
  "last_output_at": "2026-05-21T12:54:21.916Z",
  "last_output_age_ms": 5,
  "timed_out": false,
  "no_output_timeout": false,
  "exit_code": 0,
  "signal": null,
  "stdout_tail": "[runtime-daemon-test] phase=start\n[runtime-daemon-test] phase=running elapsed_ms=5003\n[runtime-daemon-test] phase=running elapsed_ms=10004\n[runtime-daemon-test] phase=running elapsed_ms=15005\n[runtime-daemon-test] phase=running elapsed_ms=20008\n[runtime-daemon-test] phase=running elapsed_ms=25009\n[runtime-daemon-test] phase=running elapsed_ms=30010\n[runtime-daemon-test] phase=running elapsed_ms=35014\n[runtime-daemon-test] phase=running elapsed_ms=40019\n[runtime-daemon-test] phase=running elapsed_ms=45026\n[runtime-daemon-test] phase=running elapsed_ms=50026\n[runtime-daemon-test] phase=running elapsed_ms=55031\n[runtime-daemon-test] phase=running elapsed_ms=60034\n[runtime-daemon-test] phase=running elapsed_ms=65035\n[runtime-daemon-test] phase=running elapsed_ms=70041\n[runtime-daemon-test] phase=running elapsed_ms=75044\n[runtime-daemon-test] phase=running elapsed_ms=80046\n[runtime-daemon-test] phase=running elapsed_ms=85047\n[runtime-daemon-test] phase=running elapsed_ms=90049\n[runtime-daemon-test] phase=running elapsed_ms=95055\n[runtime-daemon-test] phase=running elapsed_ms=100056\nAI runtime daemon tests passed.\n",
  "stderr_tail": "",
  "report_path": "ai/reports/report-000295-live-work-unified-display-runtime-daemon-tests.json",
  "cleanup": {
    "attempted": false,
    "reason": "test completed without timeout",
    "stale_lease_count": 0,
    "action": "not_needed"
  },
  "freshness_preflight": {
    "schema_version": "runtime-freshness-test-preflight-v1",
    "source": "runtime-core-testing",
    "status": "reloaded_fresh",
    "started_at": "2026-05-21T12:51:54.627Z",
    "completed_at": "2026-05-21T12:52:34.252Z",
    "test_name": "runtime-daemon-tests",
    "reload_attempted": true,
    "request_id": "88415a27",
    "supervisor_result": {
      "schema_version": "runtime-supervisor-result-v1",
      "request_id": "88415a27",
      "action": "runtime_api_build_reload",
      "target": "freshness-gated-test:runtime-daemon-tests",
      "status": "success",
      "exit_code": 0,
      "message": "action completed",
      "log_path": "/workspace/.tmp/runtime-supervisor/88415a27.log",
      "started_at": "2026-05-21T12:51:54.934Z",
      "completed_at": "2026-05-21T12:52:33.950Z",
      "duration_ms": 39016,
      "trusted_runtime": "runtime-core-supervisor"
    },
    "before": {
      "schema_version": "runtime-daemon-freshness-v1",
      "source": "runtime-core",
      "status": "restart_required",
      "generation": "1779121808508-3987-0b87791a99cb",
      "version": "0.1.0",
      "pid": 3987,
      "started_at": "2026-05-18T16:30:08.508Z",
      "source_hash_at_start": "dac93bf110e8a5e7f9c90bbf432dae7daf82ff366047e10b891bc658f2a72851",
      "source_hash_current": "d27b6a3fda9a52b3c4503b0be937dcb61789eb4f614d8d08a5c2305230c71ffc",
      "build_hash_at_start": "0b87791a99cb2d3f97c3a03f64e3202bf4cec71914c163b12dea92ee17ca458c",
      "build_hash_current": "e4ce2081150c148aefaebf571f4f777a9f30b8031efb2a206d9b2b449f9df0e8",
      "build_manifest_generation": "1779121408004-60852-dac93bf110e8",
      "immutable_generation_dir": "/workspace/ai/runtime/.runtime-generations/1779121408004-60852-dac93bf110e8",
      "build_state_status": "ready",
      "active_build_detected": false,
      "restart_required": true,
      "reasons": [
        "runtime_source_hash_changed",
        "runtime_build_hash_changed",
        "runtime_generation_changed"
      ]
    },
    "after": {
      "schema_version": "runtime-daemon-freshness-v1",
      "source": "runtime-core",
      "status": "fresh",
      "generation": "1779367938480-59328-e4ce2081150c",
      "version": "0.1.0",
      "pid": 59328,
      "started_at": "2026-05-21T12:52:18.480Z",
      "source_hash_at_start": "d27b6a3fda9a52b3c4503b0be937dcb61789eb4f614d8d08a5c2305230c71ffc",
      "source_hash_current": "d27b6a3fda9a52b3c4503b0be937dcb61789eb4f614d8d08a5c2305230c71ffc",
      "build_hash_at_start": "e4ce2081150c148aefaebf571f4f777a9f30b8031efb2a206d9b2b449f9df0e8",
      "build_hash_current": "e4ce2081150c148aefaebf571f4f777a9f30b8031efb2a206d9b2b449f9df0e8",
      "build_manifest_generation": "1779367919200-52580-d27b6a3fda9a",
      "immutable_generation_dir": "/workspace/ai/runtime/.runtime-generations/1779367919200-52580-d27b6a3fda9a",
      "build_state_status": "ready",
      "active_build_detected": false,
      "restart_required": false,
      "reasons": []
    },
    "reasons": [],
    "message": "Typed Runtime supervisor build/reload completed and daemon freshness was verified.",
    "next_action": "Run the freshness-gated test.",
    "mutates_authority_state": false
  },
  "recommended_next_action": "No action required; test channel completed.",
  "mutates_authority_state": false
}
