{
  "schema_version": "runtime-bounded-test-command-v1",
  "source": "runtime-core-testing",
  "run_id": "4db6decd-9e4a-4685-9401-579eff812564",
  "name": "runtime-broad-tests",
  "status": "failed",
  "classification": "failed",
  "command": "node",
  "args": [
    "ai/runtime/test/runtime-test.mjs"
  ],
  "command_summary": "node ai/runtime/test/runtime-test.mjs",
  "phase": "stderr_output",
  "started_at": "2026-05-21T17:17:35.618Z",
  "completed_at": "2026-05-21T17:18:51.640Z",
  "duration_ms": 76022,
  "timeout_ms": 600000,
  "no_output_timeout_ms": 180000,
  "last_output_at": "2026-05-21T17:18:51.622Z",
  "last_output_age_ms": 18,
  "timed_out": false,
  "no_output_timeout": false,
  "exit_code": 1,
  "signal": null,
  "stdout_tail": "[runtime-test] phase=start\n[runtime-test] phase=runtimeHealth\n[runtime-test] phase=validateRegistries\n[runtime-test] phase=validateGovernance\n[runtime-test] phase=validateGovernance.runPaths\n[runtime-test] phase=validateGovernance.consultant\n[runtime-test] phase=validateGovernance.workRegistrationPolicy\n[runtime-test] phase=validateGovernance.shellEntrypointPolicy\n[runtime-test] phase=runtimeConcurrency\n[runtime-test] phase=runtimeLeases\n[runtime-test] phase=runtimeLeases.acquire\n[runtime-test] phase=runtimeLeases.conflict\n[runtime-test] phase=runtimeLeases.release\n[runtime-test] phase=runtimeLeases.journal\n[runtime-test] phase=runtimeLeases.complete\n[runtime-test] phase=runtimeGraphs\n[runtime-test] phase=workSession\n[runtime-test] phase=running elapsed_ms=5002\n[runtime-test] phase=running elapsed_ms=10004\n[runtime-test] phase=running elapsed_ms=15005\n[runtime-test] phase=running elapsed_ms=20005\n[runtime-test] phase=running elapsed_ms=25011\n[runtime-test] phase=running elapsed_ms=30013\n[runtime-test] phase=running elapsed_ms=35014\n[runtime-test] phase=running elapsed_ms=40021\n[runtime-test] phase=running elapsed_ms=45022\n",
  "stderr_tail": "node:internal/modules/run_main:107\n    triggerUncaughtException(\n    ^\n\nAssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n  assert.ok(\n\n    at file:///workspace/ai/runtime/test/runtime-test.mjs:903:8\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {\n  generatedMessage: true,\n  code: 'ERR_ASSERTION',\n  actual: false,\n  expected: true,\n  operator: '==',\n  diff: 'simple'\n}\n\nNode.js v24.15.0\n",
  "report_path": "/workspace/.tmp/testing-channel/reports/runtime-broad-tests-4db6decd-9e4a-4685-9401-579eff812564.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-21T17:17:35.667Z",
    "completed_at": "2026-05-21T17:18:04.184Z",
    "test_name": "runtime-broad-tests",
    "reload_attempted": true,
    "request_id": "11676350",
    "supervisor_result": {
      "schema_version": "runtime-supervisor-result-v1",
      "request_id": "11676350",
      "action": "runtime_api_build_reload",
      "target": "freshness-gated-test:runtime-broad-tests",
      "status": "success",
      "exit_code": 0,
      "message": "action completed",
      "log_path": "/workspace/.tmp/runtime-supervisor/11676350.log",
      "started_at": "2026-05-21T17:17:36.006Z",
      "completed_at": "2026-05-21T17:18:03.300Z",
      "duration_ms": 27294,
      "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": "f3518939740363cc4bfdc1b456eefc3d06ed3772cc17a903bc84c37130245437",
      "build_hash_at_start": "0b87791a99cb2d3f97c3a03f64e3202bf4cec71914c163b12dea92ee17ca458c",
      "build_hash_current": "d74aee34397d4a76797812b26e835b9bf8c0337d227ae0c81f9c6ba2470026b1",
      "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": "1779383870434-50104-d74aee34397d",
      "version": "0.1.0",
      "pid": 50104,
      "started_at": "2026-05-21T17:17:50.434Z",
      "source_hash_at_start": "f3518939740363cc4bfdc1b456eefc3d06ed3772cc17a903bc84c37130245437",
      "source_hash_current": "f3518939740363cc4bfdc1b456eefc3d06ed3772cc17a903bc84c37130245437",
      "build_hash_at_start": "d74aee34397d4a76797812b26e835b9bf8c0337d227ae0c81f9c6ba2470026b1",
      "build_hash_current": "d74aee34397d4a76797812b26e835b9bf8c0337d227ae0c81f9c6ba2470026b1",
      "build_manifest_generation": "1779383859856-46638-f35189397403",
      "immutable_generation_dir": "/workspace/ai/runtime/.runtime-generations/1779383859856-46638-f35189397403",
      "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": "Inspect stdout/stderr tails in the durable report and fix the failing runtime-broad-tests test.",
  "mutates_authority_state": false
}
