{
  "schema_version": "runtime-bounded-test-command-v1",
  "source": "runtime-core-testing",
  "run_id": "a15c3ab2-31c1-4fa4-bd41-4626aaeee1cb",
  "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:50:43.064Z",
  "completed_at": "2026-05-21T17:51:50.664Z",
  "duration_ms": 67600,
  "timeout_ms": 600000,
  "no_output_timeout_ms": 180000,
  "last_output_at": "2026-05-21T17:51:50.647Z",
  "last_output_age_ms": 17,
  "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=5006\n[runtime-test] phase=running elapsed_ms=10007\n[runtime-test] phase=running elapsed_ms=15017\n[runtime-test] phase=running elapsed_ms=20023\n[runtime-test] phase=running elapsed_ms=25024\n[runtime-test] phase=running elapsed_ms=30028\n[runtime-test] phase=running elapsed_ms=35032\n[runtime-test] phase=running elapsed_ms=40033\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:980: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-a15c3ab2-31c1-4fa4-bd41-4626aaeee1cb.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:50:43.089Z",
    "completed_at": "2026-05-21T17:51:10.159Z",
    "test_name": "runtime-broad-tests",
    "reload_attempted": true,
    "request_id": "9b0956f0",
    "supervisor_result": {
      "schema_version": "runtime-supervisor-result-v1",
      "request_id": "9b0956f0",
      "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/9b0956f0.log",
      "started_at": "2026-05-21T17:50:43.428Z",
      "completed_at": "2026-05-21T17:51:09.150Z",
      "duration_ms": 25722,
      "trusted_runtime": "runtime-core-supervisor"
    },
    "before": {
      "schema_version": "runtime-daemon-freshness-v1",
      "source": "runtime-core",
      "status": "restart_required",
      "generation": "1779385709705-89161-ad74a11a0f0a",
      "version": "0.1.0",
      "pid": 89161,
      "started_at": "2026-05-21T17:48:29.705Z",
      "source_hash_at_start": "b02aec388afc63f55640e4d5f94904ff02aa4e7af9ae8b5743da5292484d8a59",
      "source_hash_current": "3ceb580adb73b1ee25c2ac7f14a4effda06fcade6fdeb9f7e303aee3eab5ff1c",
      "build_hash_at_start": "ad74a11a0f0ad4edb09918382285fe8a33bcb6da215a175cf8bb90500593b127",
      "build_hash_current": "469f5709980e71254e47a59e084e523709fd309daaf835bd5e3485653915468b",
      "build_manifest_generation": "1779385673764-77208-b02aec388afc",
      "immutable_generation_dir": "/workspace/ai/runtime/.runtime-generations/1779385673764-77208-b02aec388afc",
      "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": "1779385855864-40493-469f5709980e",
      "version": "0.1.0",
      "pid": 40493,
      "started_at": "2026-05-21T17:50:55.864Z",
      "source_hash_at_start": "3ceb580adb73b1ee25c2ac7f14a4effda06fcade6fdeb9f7e303aee3eab5ff1c",
      "source_hash_current": "3ceb580adb73b1ee25c2ac7f14a4effda06fcade6fdeb9f7e303aee3eab5ff1c",
      "build_hash_at_start": "469f5709980e71254e47a59e084e523709fd309daaf835bd5e3485653915468b",
      "build_hash_current": "469f5709980e71254e47a59e084e523709fd309daaf835bd5e3485653915468b",
      "build_manifest_generation": "1779385847482-37763-3ceb580adb73",
      "immutable_generation_dir": "/workspace/ai/runtime/.runtime-generations/1779385847482-37763-3ceb580adb73",
      "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
}
