{
  "run_id": "TayHCode--herdrcc-claude-haiku-5-5-1792727092675804026",
  "date": "2026-10-23T03:55:29.945565+00:00",
  "repo": "TayHCode/herdrcc",
  "kind": "repo",
  "source": "https://github.com/TayHCode/herdrcc",
  "commit": "25e31cab532ccdb2225cd52d3a65d8e29b1b1791",
  "model": "claude-haiku-5-5",
  "model_version": "claude-haiku-5-5",
  "test_version": "readme-bdc1b9b3c0d2673aef87e076d14084a8123ddcf09d520c1ee2e364a37c3f4bb9",
  "pass": true,
  "outcome": "pass",
  "time_to_working_s": 605.052955722902,
  "total_s": 637.2696013450623,
  "steps": [
    "cd <guest-path> && pwd && ls -la && id -u && python3 --version && (git -C . rev-parse 2>/dev/null || echo \"not git\") && cat README.md 2>/dev/null | head -200",
    "ls -la <guest-path> /inputs 2>/dev/null; ls <guest-path> 2>/dev/null",
    "cd <guest-path> && (node -v; npm -v) 2>&1; cat package.json; cat .coldpass/* 2>/dev/null | head -5; ls .coldpass; ls tests bin; cat .env.example",
    "cat /etc/os-release | head -3; sudo -n true && echo SUDO_OK; (curl -fsSL https://deb.nodesource.com/setup_22.x -o /tmp/ns.sh && sudo -n bash /tmp/ns.sh >/tmp/ns.log 2>&1 && sudo -n apt-get install -y nodejs >>/tmp/ns.log 2>&1); echo rc=$?; tail -5 /tmp/ns.log; node -v; npm -v",
    "cd <guest-path> && export NODE_USE_ENV_PROXY=1 && npm ci 2>&1 | tail -15; echo \"ci rc=${PIPESTATUS[0]}\"; npm run build 2>&1 | tail -15; echo \"build rc=${PIPESTATUS[0]}\"",
    "cd <guest-path> && cat bin/herdrcc.js | head -60; echo ----; ls -R src/server | head -50; echo ----; grep -rn \"app\\.\\(get\\|post\\|put\\|delete\\)(\" src/server | head -40",
    "cd <guest-path> && cat src/server/cli.ts | head -120; echo ----; sed -n 1,80p src/server/index.ts",
    "cd <guest-path> && sed -n 80,140p src/server/index.ts; echo ----; grep -n \"\\\"/api\\|/api/\\|capability\" src/server/app.ts | head -40; echo ----; sed -n 1,40p src/server/cli.ts | grep -n \"demo\" ; tail -40 src/server/cli.ts",
    "cd <guest-path> && sed -n 20,70p src/server/app.ts; echo ----; sed -n 140,200p src/server/app.ts",
    "cd <guest-path> && grep -rn \"createLiveRouter\" src | head; grep -rln \"router\\.\\(get\\|post\\)\" src; grep -rn \"router\\.\\(get\\|post\\)\\|\\.get(\\\"/api\" src | head -30",
    "cd <guest-path> && export NODE_USE_ENV_PROXY=1 && (nohup npm start -- --demo > /tmp/demo.log 2>&1 &) ; sleep 12; cat /tmp/demo.log; KEY=$(grep -o 'launch=[A-Za-z0-9_-]*' /tmp/demo.log | head -1 | cut -d= -f2); echo \"key len ${#KEY}\"; curl -s -H \"Authorization: <secret>\" http://127.0.0.1:4173/api/v2/state | head -c 1500; echo; curl -s -o /dev/null -w \"noauth=%{http_code}\\n\" http://127.0.0.1:4173/api/v2/state",
    "pkill -f \"bin/herdrcc.js --demo\"; sleep 2; (curl -s -m 3 http://127.0.0.1:4173/api/health || echo \"port free\"); echo; cd <guest-path> && grep -n \"stays_running\\|expected_file\\|\\\"cli\\\"\\|'cli'\\|detected\\|--validate\\|--replay\" <guest-path> | head -40; wc -l <guest-path>; grep -rn \"setInterval\\|cron\\|--once\\|--now\\|schedule\" src bin --include=*.ts --include=*.js --include=*.tsx | head",
    "for p in $(pgrep -f \"herdrcc.js\" ); do echo \"pid $p: $(tr '\\0' ' ' < /proc/$p/cmdline)\"; done; ss -ltnp 2>/dev/null | grep 4173 || echo \"no listener on 4173\"",
    "grep -n \"stays_running\\|expected_file\\|detected\\|def \\|\\\"claims\\|cycles.json\\|probe.json\\|examples.json\" <guest-path> | head -80",
    "cd <guest-path> && export NODE_USE_ENV_PROXY=1 && timeout 600 npm test > /tmp/test.log 2>&1; echo \"test rc=$?\"; tail -25 /tmp/test.log; timeout 300 npm run typecheck > /tmp/tc.log 2>&1; echo \"typecheck rc=$?\"; tail -5 /tmp/tc.log; echo ---; grep -rn \"setInterval\\|setTimeout\\|cron\\|--once\\|schedule\" src bin | head",
    "cd <guest-path> && mkdir -p .coldpass && cat > .coldpass/probe.json <<'EOF'\n{\"kind\":\"cli\",\"argv\":[\"npm\",\"start\",\"--\",\"--demo\"],\"cwd\":\"<guest-path>\",\"stays_running\":true,\"expected_text\":\"Herdr Control Center is ready at http://127.0.0.1:4173/\"}\nEOF\ncat > .coldpass/claims.json <<'EOF'\n[{\"kind\":\"claim\",\"claim\":\"The demo runs without Herdr and prints a local link to open\",\"source\":\"npm start -- --demo\",\"input\":\"--demo\",\"expected\":\"Control Center starts in demo mode and prints its local ready link\",\"probe_kind\":\"cli\",\"argv\":[\"npm\",\"start\",\"--\",\"--demo\"],\"cwd\":\"<guest-path>\",\"stays_running\":true,\"expected_text\":\"Herdr Control Center is ready at http://127.0.0.1:4173/\"}]\nEOF\ncat > .coldpass/examples.json <<'EOF'\n[{\"kind\":\"example\",\"claim\":\"Developer test suite runs and passes\",\"source\":\"README.md Develop section: npm test\",\"input\":\"none\",\"expected\":\"vitest reports the test files passed\",\"argv\":[\"npm\",\"test\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"Test Files\"},\n{\"kind\":\"example\",\"claim\":\"Typecheck passes for client and server\",\"source\":\"README.md Develop section: npm run typecheck\",\"input\":\"none\",\"expected\":\"tsc exits 0 with no errors\",\"argv\":[\"npm\",\"run\",\"typecheck\"],\"cwd\":\"<guest-path>\"},\n{\"kind\":\"example\",\"claim\":\"Production build produces dist output\",\"source\":\"README.md Develop section: npm run build\",\"input\":\"none\",\"expected\":\"vite reports a successful build\",\"argv\":[\"npm\",\"run\",\"build\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"built in\"}]\nEOF\ncat > .coldpass/cycles.json <<'EOF'\n{\"detected\":false,\"reason\":\"Entry points (bin/herdrcc.js, src/server/cli.ts, src/server/index.ts) and README were inspected: no cron, scheduler, loop, webhook, --once or --now. The only timer is a 5-second client-side UI refresh in src/client/components/Shell.tsx, which is not a product cycle. The product runs as a continuous server, not a scheduled job.\",\"checks\":[]}\nEOF\ncat > .coldpass/report.json <<'EOF'\n{\"outcome\":\"working\",\"fault_owner\":null,\"operation\":\"Run the herdrcc local web dashboard in demo mode (npm start -- --demo), load it, and read the made-up agent state from its authenticated API; run the offline test suite and typecheck.\",\"operation_scope\":\"Linux Ubuntu 24.04, Node 22.23.4, npm 10.9.9. Demo mode needs no Herdr, Tailscale or credentials. Not exercised: real Herdr agents, --remote Tailscale access, pairing, install-service.\",\"steps\":[\"Read README.md; Node/npm were missing, installed Node 22 via NodeSource setup_22.x and apt-get install nodejs (sudo)\",\"NODE_USE_ENV_PROXY=1 npm ci (rc 0)\",\"npm run build (rc 0)\",\"npm start -- --demo (served http://127.0.0.1:4173; GET /api/v2/state with the printed launch key returned demo workspaces and agents; without the key returned 401)\",\"npm test (36 passed, 6 files)\",\"npm run typecheck (rc 0)\"],\"deviations\":[\"Node and npm were not installed in the guest; installed Node 22.23.4 from NodeSource (README requires 20.19+).\",\"The workspace is not a git checkout, so the git init/fetch steps were not needed; npm ci and build ran on the supplied snapshot.\",\"npm ci reported 2 moderate npm audit vulnerabilities; not fixed, since product source must not be edited.\",\"A first attempt to stop the demo server with pkill -f matched my own shell and returned rc 255; the server was then confirmed stopped by port check.\",\"Tailscale remote access, pairing and install-service were not run: they need Tailscale and a real Herdr install.\"],\"stuck_step\":null,\"main_blocker\":null,\"plain_failure\":null,\"suggested_fix\":null}\nEOF\nfor f in probe claims examples cycles report; do python3 -m json.tool .coldpass/$f.json >/dev/null && echo \"$f ok\"; done; ls -la .coldpass",
    "cd <guest-path> && COLDPASS_WORKSPACE=<guest-path> timeout 900 python3 -I <guest-path> --validate --replay; echo \"rc=$?\"",
    "sed -n 856,930p <guest-path>",
    "cd <guest-path> && grep -n \"^npm run build$\" README.md && cat > .coldpass/claims.json <<'EOF'\n[{\"kind\":\"claim\",\"claim\":\"The documented from-source build produces the client and server output\",\"source\":\"npm run build\",\"input\":\"none\",\"expected\":\"vite reports a successful build\",\"probe_kind\":\"cli\",\"argv\":[\"npm\",\"run\",\"build\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"built in\"}]\nEOF\npython3 -m json.tool .coldpass/claims.json >/dev/null && COLDPASS_WORKSPACE=<guest-path> timeout 900 python3 -I <guest-path> --validate --replay; echo \"rc=$?\"",
    "ss -ltnp | grep 4173; for p in $(ps -eo pid,args | awk '$2==\"node\" && $3==\"bin/herdrcc.js\"{print $1}'); do echo \"stray node pid $p\"; kill $p; done; sleep 2; ss -ltnp | grep 4173 || echo \"port 4173 free\"",
    "cd <guest-path> && COLDPASS_WORKSPACE=<guest-path> timeout 900 python3 -I <guest-path> --validate --replay > /tmp/check1.json 2>&1; echo \"rc=$?\"; python3 -c \"\nimport json,sys\nd=json.load(open('/tmp/check1.json'))\nprint('valid:',d.get('valid')); print('problems:',d.get('problems'))\nr=d.get('replay',{}); print('replay status:',r.get('status'))\nfor c in r.get('details',{}).get('claims',[]) or d.get('replay',{}).get('claims',[]): print('claim:',c.get('verdict'),c.get('outcome'))\n\" ; ss -ltnp | grep 4173 || echo \"port 4173 free after check\"",
    "cd <guest-path> && python3 - <<'EOF'\nimport json\np='.coldpass/report.json'\nr=json.load(open(p))\nr['deviations'] += [\n \"The README's npm start -- --demo server cannot be a checker claim: the claim path has a 120 s window and does not stop servers, so it timed out and left a server on port 4173. The demo is checked as the probe instead (stays_running). The claim uses the README's npm run build step.\",\n \"/inputs/coldpass-preflight.py was absent; the supplied checker at <guest-path> was run with --validate --replay instead.\"\n]\njson.dump(r,open(p,'w'),indent=1)\nEOF\npython3 -m json.tool .coldpass/report.json >/dev/null && echo report ok; COLDPASS_WORKSPACE=<guest-path> timeout 900 python3 -I <guest-path> --validate --replay | python3 -c \"import json,sys;d=json.load(sys.stdin);print('valid',d['valid'],'problems',d['problems'],'replay',d['replay']['status'])\"; ss -ltnp | grep 4173 || echo \"port free\""
  ],
  "stuck_step": null,
  "error_excerpt": null,
  "what_it_did": "Run the herdrcc local web dashboard in demo mode (npm start -- --demo), load it, and read the made-up agent state from its authenticated API; run the offline test suite and typecheck.",
  "suggested_fix": null,
  "tokens_in": 693619,
  "tokens_out": 14932,
  "cost_usd": 0.024028320000000002,
  "usage_complete": true,
  "checks": [
    {
      "check": "operation",
      "status": "PASS",
      "details": {
        "working": true,
        "argv": [
          "npm",
          "start",
          "--",
          "--demo"
        ],
        "kind": "cli",
        "returncode": 0,
        "stdout": "\n> <email> start\n> node bin/herdrcc.js --demo\n\nHerdr Control Center is ready at http://127.0.0.1:4173/#launch=ZJFYeYh8sNG6OQjHx3n6pn8XG3ZQJawD-x_yU_tPbUc",
        "stderr": "",
        "needs_credentials": false,
        "needs_browser": false,
        "scope": "product operation"
      }
    }
  ],
  "safety": {
    "version": "z2x-1",
    "rules_version": "z2x-1",
    "summary": "Review signals: 2 known vulnerability, 2 sensitive read.",
    "findings": [
      {
        "kind": "known-vulnerability",
        "count": 2,
        "note": "OSV reports a known vulnerability in this dependency version.",
        "location_count": 1,
        "path": "@vitest/mocker"
      },
      {
        "kind": "sensitive-read",
        "count": 2,
        "note": "A repository process attempted to read this sensitive path.",
        "location_count": 2,
        "process_count": 2
      }
    ],
    "context": [],
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ],
    "static": {
      "dependency_note": "OSV scanned supported lockfiles; unpinned dependencies and unsupported formats are outside this check."
    },
    "evidence_url": "/safety/?run=TayHCode--herdrcc-claude-haiku-5-5-1792727092675804026",
    "evidence_file": "/data/safety/TayHCode--herdrcc-claude-haiku-5-5-1792727092675804026.json.gz"
  },
  "agent_execution": "native_agent",
  "agent_runtime": "claude-code",
  "agent_runtime_version": "2.1.300 (Claude Code)",
  "tool_transport": "mcp-assigned-vm",
  "platform": "linux",
  "reasoning": "low",
  "service_tier": null,
  "resources": {
    "cpus": 2,
    "memory_mib": 4096,
    "disk_mib": 32768
  },
  "native_tool_calls": 22,
  "native_bundle": null,
  "architecture": null,
  "backend": "hyperv",
  "platform_details": {
    "backend": "hyperv",
    "os": "linux"
  },
  "platform_conflicts": null,
  "sandbox_source": null,
  "source_pin": {
    "commit": "25e31cab532ccdb2225cd52d3a65d8e29b1b1791",
    "url": "https://github.com/TayHCode/herdrcc"
  },
  "purpose": "initial",
  "profile": {
    "model": "claude-haiku-5-5",
    "reasoning": "low"
  },
  "fault": {
    "owner": null,
    "status": "resolved",
    "reason": null
  },
  "fix_id": null,
  "verifies_run_id": null,
  "hosting": null,
  "operation_scope": "product operation",
  "tool_calls": 22,
  "guest_setup": null,
  "runtime": null,
  "runtime_version": null,
  "runtime_revision": null,
  "source_revision": null,
  "evidence_version": null,
  "failure_origin": null,
  "evidence_strength": "readme_checked",
  "works": "yes",
  "install_s": null,
  "first_use_s": null,
  "mcp": "none",
  "needs": [],
  "needs_which": null,
  "agent_interface": [
    "cli"
  ],
  "license": "MIT",
  "repo_url": "https://github.com/TayHCode/herdrcc",
  "cost_to_try": "free",
  "hardware": null,
  "what_failed": null,
  "local_or_hosted": "local",
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Entry points (bin/herdrcc.js, src/server/cli.ts, src/server/index.ts) and README were inspected: no cron, scheduler, loop, webhook, --once or --now. The only timer is a 5-second client-side UI refresh in src/client/components/Shell.tsx, which is not a product cycle. The product runs as a continuous server, not a scheduled job.",
      "evidence": "Entry points (bin/herdrcc.js, src/server/cli.ts, src/server/index.ts) and README were inspected: no cron, scheduler, loop, webhook, --once or --now. The only timer is a 5-second client-side UI refresh in src/client/components/Shell.tsx, which is not a product cycle. The product runs as a continuous server, not a scheduled job.",
      "command": ""
    }
  ],
  "claims": [
    {
      "kind": "claim",
      "claim": "The documented from-source build produces the client and server output",
      "source": "npm run build",
      "input": "none",
      "expected": "vite reports a successful build",
      "command": "npm run build",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: built in",
      "evidence": "built in 743ms\n",
      "returncode": 0,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "claims_note": null,
  "example_checks": [
    {
      "kind": "example",
      "claim": "Developer test suite runs and passes",
      "source": "README.md Develop section: npm test",
      "input": "none",
      "command": "npm test",
      "evidence": "\n\u001b[2m      Tests \u001b[22m \u001b[1m\u001b[32m36 passed\u001b[39m\u001b[22m\u001b[90m (36)\u001b[39m\n\u001b[2m   Start at \u001b[22m 03:54:43\n\u001b[2m   Duration \u001b[22m 26.46s\u001b[2m (environment 68%, setup 14%, import 10%, tests 4%, transform 4%)\u001b[22m\n\n\u001b[2mEnvironment \u001b[22m \u001b[33mjsdom was created 6 times\u001b[39m\u001b[2m \u00b7 16.99s total, 68% of tracked time\u001b[22m\n\u001b[2m            \u001b[22m \u001b[2mcreate it once per worker with \u001b[22m\u001b[33mpool: 'vmThreads'\u001b[39m\u001b[2m (keeps per-file isolation) or \u001b[22m\u001b[33misolate: false\u001b[39m\u001b[2m (shares it across files)\u001b[22m\n\u001b[2m            \u001b[22m \u001b[2mlearn more: https://vitest.dev/guide/improving-performance#test-environments\u001b[22m",
      "deferred": false,
      "expected": "vitest reports the test files passed",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "Typecheck passes for client and server",
      "source": "README.md Develop section: npm run typecheck",
      "input": "none",
      "command": "npm run typecheck",
      "evidence": "> <email> typecheck\n> tsc -p tsconfig.json --noEmit && tsc -p tsconfig.server.json --noEmit",
      "deferred": false,
      "expected": "tsc exits 0 with no errors",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "Production build produces dist output",
      "source": "README.md Develop section: npm run build",
      "input": "none",
      "command": "npm run build",
      "evidence": "<email> build\n> node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && npm run build:server && npm run build:client\n\n\n> <email> build:server\n> tsc -p tsconfig.server.json\n\n\n> <email> build:client\n> vite build\n\nvite v8.3.4 building client environment for production...\ntransforming...\n\u2713 1962 modules transformed.\nrendering chunks...\ncomputing gzip size...\ndist/client/index.html                   0.53 kB \u2502 gzip:  0.32 kB\ndist/client/assets/index-f4eOhKFm.css   20.00 kB \u2502 gzip:  4.62 kB\ndist/client/assets/index-yzasuO88.js   309.00 kB \u2502 gzip: 95.15 kB\n\n\u2713 built in 734ms",
      "deferred": false,
      "expected": "vite reports a successful build",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "does_what_it_says": "yes",
  "maintenance": {
    "archived": false,
    "commits_90d": 22,
    "last_commit_at": "2026-10-15T16:14:09Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 8,
    "note": "actively maintained: last commit 7 days ago; 22 commits and 8 merged PRs in 90 days; 0 open issues, 5 open PRs; no releases",
    "open_issues": 0,
    "open_prs": 5,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "maintenance_verdict": "maintained",
  "maintenance_note": "actively maintained: last commit 7 days ago; 22 commits and 8 merged PRs in 90 days; 0 open issues, 5 open PRs; no releases",
  "maintained": "active",
  "maintained_note": "last commit 0 days ago",
  "last_commit_at": "2026-10-22T10:55:00Z",
  "last_release_at": null,
  "open_issues": null,
  "answered_issues": null,
  "platforms_claimed": [
    "linux",
    "mac",
    "windows"
  ],
  "topic": "agent-harness",
  "agent_interfaces": [
    {
      "interface": "cli",
      "evidence": "independent checker",
      "observed": true,
      "operation_checked": true
    }
  ],
  "agent_interfaces_note": "README metadata is a discovery hint, not pinned documentation proof. Observed interfaces were exercised in this run. An empty list means unknown.",
  "mcp_context": null,
  "tested_at": "2026-10-23T03:55:29.945565+00:00",
  "tested_commit": "25e31cab532ccdb2225cd52d3a65d8e29b1b1791",
  "tested_with": {
    "agent": "claude-code",
    "agent_version": "2.1.300 (Claude Code)",
    "model": "claude-haiku-5-5",
    "model_route": "claude-haiku-5-5",
    "reasoning": "low",
    "os": "linux",
    "backend": "hyperv",
    "transport": "mcp-assigned-vm"
  },
  "setup_identity": {
    "repo": "TayHCode/herdrcc",
    "source": "https://github.com/TayHCode/herdrcc",
    "commit": "25e31cab532ccdb2225cd52d3a65d8e29b1b1791",
    "source_revision": null,
    "os": "linux",
    "architecture": null,
    "backend": "hyperv",
    "model": "claude-haiku-5-5",
    "model_version": "claude-haiku-5-5",
    "agent_execution": "native_agent",
    "agent_runtime": "claude-code",
    "agent_runtime_version": "2.1.300 (Claude Code)",
    "tool_transport": "mcp-assigned-vm",
    "runtime": null,
    "runtime_version": null,
    "runtime_revision": null,
    "sandbox_source": null,
    "guest_setup": null,
    "source_pin": {
      "commit": "25e31cab532ccdb2225cd52d3a65d8e29b1b1791",
      "url": "https://github.com/TayHCode/herdrcc"
    },
    "platform_details": {
      "os": "linux",
      "backend": "hyperv"
    },
    "platform_conflicts": null,
    "reasoning": "low",
    "service_tier": null,
    "resources": {
      "cpus": 2,
      "memory_mib": 4096,
      "disk_mib": 32768
    },
    "operation": "Run the herdrcc local web dashboard in demo mode (npm start -- --demo), load it, and read the made-up agent state from its authenticated API; run the offline test suite and typecheck.",
    "operation_scope": "product operation",
    "hosting": null,
    "kind": "repo",
    "test_version": "readme-bdc1b9b3c0d2673aef87e076d14084a8123ddcf09d520c1ee2e364a37c3f4bb9",
    "evidence_version": null
  },
  "other_model": null,
  "other_run_id": null,
  "models_agree": null,
  "furthest_model": null,
  "transcript_url": null,
  "report_url": null
}
