{
  "schema_version": "runtime-bounded-test-command-v1",
  "source": "runtime-core-testing",
  "run_id": "06e63efa-afc8-476f-8fdc-698a60150188",
  "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:55:24.242Z",
  "completed_at": "2026-05-21T17:57:57.230Z",
  "duration_ms": 152988,
  "timeout_ms": 600000,
  "no_output_timeout_ms": 180000,
  "last_output_at": "2026-05-21T17:57:57.212Z",
  "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=5006\n[runtime-test] phase=running elapsed_ms=10008\n[runtime-test] phase=running elapsed_ms=15014\n[runtime-test] phase=running elapsed_ms=20020\n[runtime-test] phase=running elapsed_ms=25026\n[runtime-test] phase=running elapsed_ms=30034\n[runtime-test] phase=running elapsed_ms=35034\n[runtime-test] phase=running elapsed_ms=40035\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-06e63efa-afc8-476f-8fdc-698a60150188.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:55:24.282Z",
    "completed_at": "2026-05-21T17:57:13.858Z",
    "test_name": "runtime-broad-tests",
    "reload_attempted": true,
    "request_id": "a527e572",
    "supervisor_result": {
      "schema_version": "runtime-supervisor-result-v1",
      "request_id": "a527e572",
      "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/a527e572.log",
      "started_at": "2026-05-21T17:55:25.313Z",
      "completed_at": "2026-05-21T17:57:07.064Z",
      "duration_ms": 101751,
      "trusted_runtime": "runtime-core-supervisor"
    },
    "before": {
      "schema_version": "runtime-daemon-freshness-v1",
      "source": "runtime-core",
      "status": "restart_required",
      "generation": "1779386003745-91010-0e47216af6f3",
      "version": "0.1.0",
      "pid": 91010,
      "started_at": "2026-05-21T17:53:23.745Z",
      "source_hash_at_start": "538e96ae56df67ab831df8d2a2c051e2147460112778bc1d7fff0ec1c0512183",
      "source_hash_current": "9f430c2054cae54949df59649c023ee6ac7fc63ebbab113729fd08afa9b65936",
      "build_hash_at_start": "0e47216af6f389bbb905e1d46f96ffec79447c764a56eba92364c10886a6d5c1",
      "build_hash_current": "719a4e11bc17db3376ce65a685aa09b1f95edbe75ed1740ac4649bc57b4879cf",
      "build_manifest_generation": "1779385985464-84942-538e96ae56df",
      "immutable_generation_dir": "/workspace/ai/runtime/.runtime-generations/1779385985464-84942-538e96ae56df",
      "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": "1779386213414-63376-719a4e11bc17",
      "version": "0.1.0",
      "pid": 63376,
      "started_at": "2026-05-21T17:56:53.414Z",
      "source_hash_at_start": "9f430c2054cae54949df59649c023ee6ac7fc63ebbab113729fd08afa9b65936",
      "source_hash_current": "9f430c2054cae54949df59649c023ee6ac7fc63ebbab113729fd08afa9b65936",
      "build_hash_at_start": "719a4e11bc17db3376ce65a685aa09b1f95edbe75ed1740ac4649bc57b4879cf",
      "build_hash_current": "719a4e11bc17db3376ce65a685aa09b1f95edbe75ed1740ac4649bc57b4879cf",
      "build_manifest_generation": "1779386182480-52681-9f430c2054ca",
      "immutable_generation_dir": "/workspace/ai/runtime/.runtime-generations/1779386182480-52681-9f430c2054ca",
      "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
}
