{
  "schema_version": "runtime-bounded-test-command-v1",
  "source": "runtime-core-testing",
  "run_id": "1341c1aa-20e7-4771-bb69-28638762b386",
  "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:43:54.871Z",
  "completed_at": "2026-05-21T17:46:11.206Z",
  "duration_ms": 136335,
  "timeout_ms": 600000,
  "no_output_timeout_ms": 180000,
  "last_output_at": "2026-05-21T17:46:11.188Z",
  "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=5007\n[runtime-test] phase=running elapsed_ms=10008\n[runtime-test] phase=running elapsed_ms=15015\n[runtime-test] phase=running elapsed_ms=20020\n[runtime-test] phase=running elapsed_ms=25029\n[runtime-test] phase=running elapsed_ms=30030\n[runtime-test] phase=running elapsed_ms=35036\n[runtime-test] phase=running elapsed_ms=40037\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:963: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-1341c1aa-20e7-4771-bb69-28638762b386.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:43:54.905Z",
    "completed_at": "2026-05-21T17:45:30.232Z",
    "test_name": "runtime-broad-tests",
    "reload_attempted": true,
    "request_id": "bb62e0f5",
    "supervisor_result": {
      "schema_version": "runtime-supervisor-result-v1",
      "request_id": "bb62e0f5",
      "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/bb62e0f5.log",
      "started_at": "2026-05-21T17:43:55.488Z",
      "completed_at": "2026-05-21T17:45:29.977Z",
      "duration_ms": 94489,
      "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": "b02aec388afc63f55640e4d5f94904ff02aa4e7af9ae8b5743da5292484d8a59",
      "build_hash_at_start": "0b87791a99cb2d3f97c3a03f64e3202bf4cec71914c163b12dea92ee17ca458c",
      "build_hash_current": "ad74a11a0f0ad4edb09918382285fe8a33bcb6da215a175cf8bb90500593b127",
      "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": "1779385517038-22360-ad74a11a0f0a",
      "version": "0.1.0",
      "pid": 22360,
      "started_at": "2026-05-21T17:45:17.038Z",
      "source_hash_at_start": "b02aec388afc63f55640e4d5f94904ff02aa4e7af9ae8b5743da5292484d8a59",
      "source_hash_current": "b02aec388afc63f55640e4d5f94904ff02aa4e7af9ae8b5743da5292484d8a59",
      "build_hash_at_start": "ad74a11a0f0ad4edb09918382285fe8a33bcb6da215a175cf8bb90500593b127",
      "build_hash_current": "ad74a11a0f0ad4edb09918382285fe8a33bcb6da215a175cf8bb90500593b127",
      "build_manifest_generation": "1779385487608-11573-b02aec388afc",
      "immutable_generation_dir": "/workspace/ai/runtime/.runtime-generations/1779385487608-11573-b02aec388afc",
      "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
}
