{
  "run_id": "chenglou--handwired-claude-haiku-5-5-1792763989065583846",
  "date": "2026-10-23T14:06:40.039466+00:00",
  "repo": "chenglou/handwired",
  "kind": "repo",
  "source": "https://github.com/chenglou/handwired",
  "commit": "257856e3b221140acb4cc4460626b850c0bd4ff1",
  "model": "claude-haiku-5-5",
  "model_version": "claude-haiku-5-5",
  "test_version": "readme-bdc1b9b3c0d2673aef87e076d14084a8123ddcf09d520c1ee2e364a37c3f4bb9",
  "pass": true,
  "outcome": "pass",
  "time_to_working_s": 377.01729968900327,
  "total_s": 410.9738609790802,
  "steps": [
    "cd <guest-path> && pwd && ls -la && id -u && python3 --version && (git -C . rev-parse HEAD 2>&1 | head -1) && cat README.md 2>/dev/null | head -200",
    "ls /inputs 2>&1; ls <guest-path> 2>&1; cat /etc/os-release | head -3",
    "cd <guest-path> && cat package.json && ls -la .coldpass && ls scripts template docs tests && which bun node npm; bun --version 2>&1; node --version 2>&1; sudo -n true && echo SUDO_OK",
    "cd <guest-path> && git init -q && git remote add origin https://github.com/chenglou/handwired && git fetch --depth 1 origin 257856e3b221140acb4cc4460626b850c0bd4ff1 2>&1 | tail -3; git reset --mixed FETCH_HEAD 2>&1 | tail -2; git rev-parse HEAD; git status --short | head; curl -fsSL https://bun.sh/install -o /tmp/bun-install.sh && bash /tmp/bun-install.sh 2>&1 | tail -5; ls ~/.bun/bin 2>&1",
    "sudo apt-get update -qq 2>&1 | tail -2; sudo apt-get install -y -qq unzip 2>&1 | tail -2; curl -fsSL https://bun.sh/install | bash 2>&1 | tail -4; export BUN_INSTALL=$HOME/.bun; $BUN_INSTALL/bin/bun --version",
    "export BUN_INSTALL=$HOME/.bun; export PATH=$BUN_INSTALL/bin:$PATH; export NODE_USE_ENV_PROXY=1; cd <guest-path> && bun install 2>&1 | tail -8; echo EXIT=$?; cat scripts/serve-demo-site.ts | head -60",
    "cd <guest-path> && cat template/README.md; echo ----; head -60 docs/README.md; echo ----; ls src src/* | head -50; echo ----; cat template/main.ts | head -60",
    "export BUN_INSTALL=$HOME/.bun; export PATH=$BUN_INSTALL/bin:$PATH; cd <guest-path> && (nohup bun start > /tmp/bunstart.log 2>&1 &) ; sleep 6; curl -s -o /dev/null -w \"%{http_code}\\n\" http://127.0.0.1:3000/; curl -s http://127.0.0.1:3000/ | grep -o '<title>[^<]*</title>'; curl -s http://127.0.0.1:3000/os/ | grep -o '<title>[^<]*</title>'; cat /tmp/bunstart.log | tail -5",
    "export BUN_INSTALL=$HOME/.bun; export PATH=$BUN_INSTALL/bin:$PATH; cd <guest-path> && bun test template 2>&1 | tail -6; echo EXIT=$?; bun lab/runtime-cost/report.ts 2>&1 | head -20",
    "export BUN_INSTALL=$HOME/.bun; export PATH=$BUN_INSTALL/bin:$PATH; cd <guest-path> && echo HOME=$HOME; bun test tests/runtime 2>&1 | tail -3; echo EXIT=$?; bun run check 2>&1 | tail -4; echo CHECK_EXIT=${PIPESTATUS[0]}; grep -rnE \"setInterval|setTimeout|cron|schedule|--once|--now|webhook\" --include=*.ts --include=*.md src scripts template README.md docs 2>/dev/null | grep -v node_modules | head -20",
    "pkill -f serve-demo-site.ts; sleep 1; curl -s -o /dev/null -w \"%{http_code}\\n\" http://127.0.0.1:3000/ || true; mkdir -p <guest-path> && cat > <guest-path> <<'EOF'\nimport json, os\nW = \"<guest-path>\"\nBUN = \"<guest-path>\"\nreadme = open(os.path.join(W, \"README.md\"), encoding=\"utf-8\").read()\ntpl = open(os.path.join(W, \"template/README.md\"), encoding=\"utf-8\").read()\nq1 = \"bun lab/runtime-cost/report.ts\"\nq2 = \"bun test tests/runtime\"\nq3 = \"bun test template        # its test\"\nassert q1 in readme and q2 in readme, \"README quote missing\"\nassert q3 in tpl, \"template quote missing\"\nclaims = [\n {\"kind\":\"claim\",\"claim\":\"The lab runtime-cost report prints per-program sizes and timings\",\"source\":q1,\n  \"input\":\"no arguments\",\"expected\":\"JSON report that includes the coordinate transform program\",\n  \"probe_kind\":\"cli\",\"argv\":[BUN,\"lab/runtime-cost/report.ts\"],\"expected_text\":\"\\\"name\\\": \\\"coordinate transform\\\"\",\"cwd\":W},\n {\"kind\":\"claim\",\"claim\":\"The runtime test folder runs and passes\",\"source\":q2,\n  \"input\":\"tests/runtime\",\"expected\":\"all runtime tests pass\",\n  \"probe_kind\":\"cli\",\"argv\":[BUN,\"test\",\"tests/runtime\"],\"expected_text\":\"Ran 174 tests across 11 files\",\"cwd\":W},\n {\"kind\":\"claim\",\"claim\":\"The template's own test runs and passes\",\"source\":q3,\n  \"input\":\"template\",\"expected\":\"3 tests pass\",\n  \"probe_kind\":\"cli\",\"argv\":[BUN,\"test\",\"template\"],\"expected_text\":\"3 pass\",\"cwd\":W},\n]\nexamples = [\n {\"kind\":\"example\",\"claim\":\"Type-check and lint the repo\",\"source\":\"README.md Running section (bun run check)\",\n  \"input\":\"none\",\"expected\":\"0 warnings and 0 errors\",\"argv\":[BUN,\"run\",\"check\"],\"cwd\":W,\"env\":{},\n  \"expected_text\":\"Found 0 warnings and 0 errors.\"},\n {\"kind\":\"example\",\"claim\":\"Run one folder's tests\",\"source\":\"README.md Running section (bun test tests/runtime)\",\n  \"input\":\"tests/runtime\",\"expected\":\"0 fail\",\"argv\":[BUN,\"test\",\"tests/runtime\"],\"cwd\":W,\"env\":{},\n  \"expected_text\":\"0 fail\"},\n {\"kind\":\"example\",\"claim\":\"Build the demo site as static files\",\"source\":\"README.md Running section (bun run site:build)\",\n  \"deferred\":True,\"reason\":\"Writes a site/ output directory into the checkout; left out on purpose to keep the source tree clean. The local site was instead checked live via bun start (see probe).\"},\n {\"kind\":\"example\",\"claim\":\"Run the full test suite\",\"source\":\"README.md Running section (bun run test)\",\n  \"deferred\":True,\"reason\":\"README says it takes about 3 minutes; not run in this pass. A folder-level test run (tests/runtime) and the template test were run instead.\"},\n]\nprobe = {\"kind\":\"http\",\"argv\":[BUN,\"start\"],\"cwd\":W,\"url\":\"http://127.0.0.1:3000/os/\",\"expected_text\":\"HandwiredOS\"}\ncycles = {\"detected\":False,\"reason\":\"Entry points inspected: package.json scripts, scripts/serve-demo-site.ts, scripts/check.ts, README Running section, template/README.md. No cron, scheduler, --once or --now trigger exists. The only repeating behavior is browser requestAnimationFrame and setTimeout in src/json-search/demo.ts and src/json-search/demo-worker.ts, which run per user interaction in a browser, so they cannot be run here without a browser.\",\"checks\":[]}\nos.makedirs(os.path.join(W, \".coldpass\"), exist_ok=True)\nfor name, obj in [(\"claims.json\", claims), (\"examples.json\", examples), (\"probe.json\", probe), (\"cycles.json\", cycles)]:\n    with open(os.path.join(W, \".coldpass\", name), \"w\", encoding=\"utf-8\") as f:\n        json.dump(obj, f, indent=2, ensure_ascii=False); f.write(\"\\n\")\nprint(\"ok\")\nEOF\npython3 -I <guest-path> && ls -la <guest-path>",
    "ps aux | grep -c \"[s]erve-demo-site\" ; ls -la <guest-path> <guest-path> 2>&1 | head",
    "mkdir -p <guest-path> && cat > <guest-path> <<'EOF'\nimport json, os\nW = \"<guest-path>\"\nBUN = \"<guest-path>\"\nreadme = open(os.path.join(W, \"README.md\"), encoding=\"utf-8\").read()\ntpl = open(os.path.join(W, \"template/README.md\"), encoding=\"utf-8\").read()\nq1 = \"bun lab/runtime-cost/report.ts\"\nq2 = \"bun test tests/runtime\"\nq3 = \"bun test template        # its test\"\nassert q1 in readme and q2 in readme, \"README quote missing\"\nassert q3 in tpl, \"template quote missing\"\nclaims = [\n {\"kind\":\"claim\",\"claim\":\"The lab runtime-cost report prints per-program sizes and timings\",\"source\":q1,\n  \"input\":\"no arguments\",\"expected\":\"JSON report that includes the coordinate transform program\",\n  \"probe_kind\":\"cli\",\"argv\":[BUN,\"lab/runtime-cost/report.ts\"],\"expected_text\":\"\\\"name\\\": \\\"coordinate transform\\\"\",\"cwd\":W},\n {\"kind\":\"claim\",\"claim\":\"The runtime test folder runs and passes\",\"source\":q2,\n  \"input\":\"tests/runtime\",\"expected\":\"all runtime tests pass\",\n  \"probe_kind\":\"cli\",\"argv\":[BUN,\"test\",\"tests/runtime\"],\"expected_text\":\"Ran 174 tests across 11 files\",\"cwd\":W},\n {\"kind\":\"claim\",\"claim\":\"The template's own test runs and passes\",\"source\":q3,\n  \"input\":\"template\",\"expected\":\"3 tests pass\",\n  \"probe_kind\":\"cli\",\"argv\":[BUN,\"test\",\"template\"],\"expected_text\":\"3 pass\",\"cwd\":W},\n]\nexamples = [\n {\"kind\":\"example\",\"claim\":\"Type-check and lint the repo\",\"source\":\"README.md Running section (bun run check)\",\n  \"input\":\"none\",\"expected\":\"0 warnings and 0 errors\",\"argv\":[BUN,\"run\",\"check\"],\"cwd\":W,\"env\":{},\n  \"expected_text\":\"Found 0 warnings and 0 errors.\"},\n {\"kind\":\"example\",\"claim\":\"Run one folder's tests\",\"source\":\"README.md Running section (bun test tests/runtime)\",\n  \"input\":\"tests/runtime\",\"expected\":\"0 fail\",\"argv\":[BUN,\"test\",\"tests/runtime\"],\"cwd\":W,\"env\":{},\n  \"expected_text\":\"0 fail\"},\n {\"kind\":\"example\",\"claim\":\"Build the demo site as static files\",\"source\":\"README.md Running section (bun run site:build)\",\n  \"deferred\":True,\"reason\":\"Writes a site/ output directory into the checkout; left out on purpose to keep the source tree clean. The local site was instead checked live via bun start (see probe).\"},\n {\"kind\":\"example\",\"claim\":\"Run the full test suite\",\"source\":\"README.md Running section (bun run test)\",\n  \"deferred\":True,\"reason\":\"README says it takes about 3 minutes; not run in this pass. A folder-level test run (tests/runtime) and the template test were run instead.\"},\n]\nprobe = {\"kind\":\"http\",\"argv\":[BUN,\"start\"],\"cwd\":W,\"url\":\"http://127.0.0.1:3000/os/\",\"expected_text\":\"HandwiredOS\"}\ncycles = {\"detected\":False,\"reason\":\"Entry points inspected: package.json scripts, scripts/serve-demo-site.ts, scripts/check.ts, README Running section, template/README.md. No cron, scheduler, --once or --now trigger exists. The only repeating behavior is browser requestAnimationFrame and setTimeout in src/json-search/demo.ts and src/json-search/demo-worker.ts, which run per user interaction in a browser, so they cannot be run here without a browser.\",\"checks\":[]}\nos.makedirs(os.path.join(W, \".coldpass\"), exist_ok=True)\nfor name, obj in [(\"claims.json\", claims), (\"examples.json\", examples), (\"probe.json\", probe), (\"cycles.json\", cycles)]:\n    with open(os.path.join(W, \".coldpass\", name), \"w\", encoding=\"utf-8\") as f:\n        json.dump(obj, f, indent=2, ensure_ascii=False); f.write(\"\\n\")\nprint(\"ok\")\nEOF\npython3 -I <guest-path> && ls -la <guest-path> && ls -d <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -60",
    "export BUN_INSTALL=$HOME/.bun; cd <guest-path> && <guest-path> install 2>&1 | tail -3; echo EXIT=$?; grep -n \"bun install\" README.md; grep -c \"\" README.md; ls -la .coldpass",
    "cd <guest-path> && python3 - <<'EOF'\nimport re\nsrc = open(\"write.py\", encoding=\"utf-8\").read()\nstart = src.index(\"readme = open\")\nend = src.index(\"examples = [\")\nnew_claims = '''readme = open(os.path.join(W, \"README.md\"), encoding=\"utf-8\").read()\nq1 = \"`git clone && bun install`, then `bun start` to run them locally.\"\nassert q1 in readme, \"README quote missing\"\nclaims = [\n {\"kind\":\"claim\",\"claim\":\"bun install sets up the repo's dependencies so bun start can run\",\n  \"source\":q1,\"input\":\"existing checkout with dependencies installed\",\n  \"expected\":\"dependencies are present and checked\",\n  \"probe_kind\":\"cli\",\"argv\":[BUN,\"install\"],\"expected_text\":\"Checked 37 installs across 119 packages\",\"cwd\":W},\n]\n'''\nsrc = src[:start] + new_claims + src[end:]\nopen(\"write.py\", \"w\", encoding=\"utf-8\").write(src)\nEOF\npython3 -I <guest-path> && ls -la <guest-path> && cd <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -60",
    "cd <guest-path> && wc -l check.py && grep -n -i \"def .*http\\|urlopen\\|expected_text\\|sleep\\|timeout\\|env\\b\\|environ\\|PATH\" check.py | head -60",
    "cd <guest-path> && sed -n 573,612p check.py; grep -n \"USER_BIN\\s*=\" check.py",
    "cd <guest-path> && grep -n \"'env'\" check.py | head; export BUN_INSTALL=<guest-path>; cd <guest-path> && (<guest-path> start > /tmp/bunstart2.log 2>&1 &); sleep 6; curl -s http://127.0.0.1:3000/json-search/ | grep -o '<title>[^<]*</title>'; curl -s http://127.0.0.1:3000/json-search/ | grep -o -i 'json search' | head -2; cat /tmp/bunstart2.log | tail -4",
    "cd <guest-path> && python3 - <<'EOF'\nsrc = open(\"write.py\", encoding=\"utf-8\").read()\nsrc = src.replace('\"argv\":[BUN,\"run\",\"check\"],\"cwd\":W,\"env\":{},', '\"argv\":[BUN,\"run\",\"check\"],\"cwd\":W,\"env\":{\"PATH\":\"<guest-path>\"},')\nsrc = src.replace('\"argv\":[BUN,\"test\",\"tests/runtime\"],\"cwd\":W,\"env\":{},', '\"argv\":[BUN,\"test\",\"tests/runtime\"],\"cwd\":W,\"env\":{\"PATH\":\"<guest-path>\"},')\nsrc = src.replace('probe = {\"kind\":\"http\",\"argv\":[BUN,\"start\"],\"cwd\":W,\"url\":\"http://127.0.0.1:3000/os/\",\"expected_text\":\"HandwiredOS\"}',\n 'probe = {\"kind\":\"http\",\"argv\":[BUN,\"start\"],\"cwd\":W,\"url\":\"http://127.0.0.1:3000/json-search/\",\"expected_text\":\"Search 100,000 JSON documents\"}')\nopen(\"write.py\", \"w\", encoding=\"utf-8\").write(src)\nEOF\ngrep -c PATH write.py; grep -n \"probe = \" write.py | cut -c1-150; pkill -f \"[s]erve-demo-site\" ; sleep 1; python3 -I <guest-path> && cd <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -c 3000",
    "cd <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay > <guest-path> 2>&1; echo RC=$?; python3 -I -c \"\nimport json,sys\nt=open('<guest-path>').read()\ni=t.find('{')\nd=json.loads(t[i:])\nprint('valid=',d.get('valid'))\nprint('problems=',d.get('problems'))\nr=d.get('replay',{})\nprint('replay status=',r.get('status'),'details=',r.get('details'))\nprint('evidence_strength=',r.get('evidence_strength'))\n\" 2>&1 | head -30; ps aux | grep -c \"[s]erve-demo-site\"",
    "cd <guest-path> && python3 -I - <<'EOF'\nimport json\nreport = {\n \"outcome\": \"working\",\n \"fault_owner\": None,\n \"operation\": \"Run the handwired demo site with bun start and load the JSON search demo page; run the documented tests and checks\",\n \"operation_scope\": \"Linux Ubuntu 24.04 guest, Bun 1.4.4 (README says tested with 1.4.3), pinned commit 257856e3b221140acb4cc4460626b850c0bd4ff1. Local-only: no browser; site:check, the full test suite and site:build were not run.\",\n \"steps\": [\n  \"git init; git remote add origin https://github.com/chenglou/handwired; git fetch --depth 1 origin 257856e3b221140acb4cc4460626b850c0bd4ff1; git reset --mixed FETCH_HEAD\",\n  \"Install Bun (README prerequisite; not preinstalled): curl -fsSL https://bun.sh/install | bash (after apt-get install unzip)\",\n  \"bun install (README: git clone && bun install)\",\n  \"bun start (README: serves the demo site at http://127.0.0.1:3000/)\",\n  \"bun test tests/runtime (docs/README.md: one folder's tests)\",\n  \"bun run check (docs/README.md: type-checks and lints)\",\n  \"bun lab/runtime-cost/report.ts (docs/README.md: lab report)\",\n  \"bun test template (template/README.md)\"\n ],\n \"deviations\": [\n  \"Bun was not installed in the guest. Installed it with the official bun.sh installer, which first needed unzip (installed with sudo apt-get install -y unzip). Installed to <guest-path>, so the absolute path <guest-path> is used in saved argv.\",\n  \"The root README.md has no Running section; the documented commands are in docs/README.md and template/README.md. Claims therefore quote only the root README line about bun install / bun start; the other commands are recorded as examples.\",\n  \"First replay of the bun run check example failed because the checker's PATH lacks Bun's bin directory (scripts/check.ts spawns bunx). Fixed by setting env PATH to include <guest-path> in the example. Not a product fault.\",\n  \"First HTTP probe pointed at /os/ failed: the checker reads the last http://127.0.0.1:3000/ URL printed by the server, which is /json-search/, so the expected text was never fetched. Probe changed to /json-search/ with its page title text. Not a product fault.\",\n  \"The full suite (bun run test, ~3 minutes), site:build and site:check (needs Chrome) were deferred.\",\n  \"The checker path /inputs/coldpass-preflight.py does not exist in this guest; the validation used <guest-path> as the task's checker location.\",\n  \"No product cycle detected: the repo has no cron, scheduler, --once or --now. Only browser animation-frame loops exist, which need a browser.\"\n ],\n \"stuck_step\": None,\n \"main_blocker\": None,\n \"plain_failure\": None,\n \"suggested_fix\": \"None needed for the operations run. Optionally, the README could point to docs/README.md for the Running commands, and state that Bun must be installed first.\"\n}\nimport os\nos.makedirs(\".coldpass\", exist_ok=True)\njson.dump(report, open(\".coldpass/report.json\", \"w\", encoding=\"utf-8\"), indent=2, ensure_ascii=False)\nprint(\"report written\")\nEOF\nls -la .coldpass; python3 -I -c \"\nimport json\nfor f in ['claims','examples','probe','cycles']:\n    json.load(open('<guest-path>'%f)); print(f,'ok')\n\"; ls -la <guest-path> | grep -i report; ps aux | grep -c \"[b]un start\"",
    "ps -eo pid,ppid,etime,args | grep \"[b]un\" | cut -c1-160; curl -s -o /dev/null -w \"port3000=%{http_code}\\n\" http://127.0.0.1:3000/ || echo \"port3000 closed\"",
    "cd <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay > <guest-path> 2>&1; echo RC=$?; python3 -I -c \"\nimport json\nt=open('<guest-path>').read(); d=json.loads(t[t.find('{'):])\nprint('valid=',d.get('valid'),'problems=',d.get('problems'))\nr=d.get('replay',{}); print('status=',r.get('status'),'strength=',r.get('evidence_strength'))\nprint('claims=',[c.get('verdict') for c in r.get('claims',[])])\nprint('examples=',[c.get('verdict') for c in r.get('example_checks',[])])\nprint('cycles=',[c.get('verdict') for c in r.get('cycle_checks',[])])\n\"; ps -eo args | grep -c \"[s]erve-demo-site\""
  ],
  "stuck_step": null,
  "error_excerpt": null,
  "what_it_did": "Run the handwired demo site with bun start and load the JSON search demo page; run the documented tests and checks",
  "suggested_fix": null,
  "tokens_in": 576042,
  "tokens_out": 20272,
  "cost_usd": 0.0241916,
  "usage_complete": true,
  "checks": [
    {
      "check": "operation",
      "status": "PASS",
      "details": {
        "working": true,
        "argv": [
          "<guest-path>",
          "start"
        ],
        "kind": "http",
        "status": 200,
        "bytes": 7741,
        "url": "http://127.0.0.1:3000/json-search/",
        "response_checked": true,
        "response_excerpt": "Search 100,000 JSON documents \u00b7 Handwired</title>\n  <meta name=\"description\" content=\"Type a pattern, and a fixed program of weighted sums, ReLU gates and table reads searches 100,000 JSON documents again at each keystroke, once per document, in one pass on the GPU.\">\n  <meta name=\"theme-color\" content=\"#f3eee4\">\n  <!-- One stylesheet, which imports assets/site.css and assets/tool.css in that order. Bun's development server puts\n       several stylesheet links in the reverse of their order here, while the build keeps the order. -->\n  \n<link rel=\"stylesheet\" href=\"/_bun/asset/b4a748f11383ab0c.c",
        "scope": "product operation"
      }
    }
  ],
  "safety": {
    "version": "z2x-1",
    "rules_version": "z2x-1",
    "summary": "Review signals: 1 connection review, 11 hardcoded secret, 1 sensitive read.",
    "expected": "Reviewed as expected for a test run: read only test files inside the test workspace or its temporary folders.",
    "findings": [
      {
        "kind": "connection-review",
        "count": 1,
        "note": "Repository processes attempted these non-loopback connections; proxies can hide the final hostname.",
        "location_count": 24,
        "process_count": 8
      },
      {
        "kind": "hardcoded-secret",
        "count": 11,
        "note": "Gitleaks found a possible hardcoded secret; value withheld.",
        "location_count": 7
      },
      {
        "kind": "sensitive-read",
        "count": 1,
        "note": "A repository process attempted to read this sensitive path.",
        "location_count": 1,
        "path": "<guest-path>",
        "process_count": 7
      }
    ],
    "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=chenglou--handwired-claude-haiku-5-5-1792763989065583846",
    "evidence_file": "/data/safety/chenglou--handwired-claude-haiku-5-5-1792763989065583846.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": 23,
  "native_bundle": null,
  "architecture": null,
  "backend": "hyperv",
  "platform_details": {
    "backend": "hyperv",
    "os": "linux"
  },
  "platform_conflicts": null,
  "sandbox_source": null,
  "source_pin": {
    "commit": "257856e3b221140acb4cc4460626b850c0bd4ff1",
    "url": "https://github.com/chenglou/handwired"
  },
  "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": 23,
  "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": [
    "api"
  ],
  "license": "MIT",
  "repo_url": "https://github.com/chenglou/handwired",
  "cost_to_try": "free",
  "hardware": "GPU",
  "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 inspected: package.json scripts, scripts/serve-demo-site.ts, scripts/check.ts, README Running section, template/README.md. No cron, scheduler, --once or --now trigger exists. The only repeating behavior is browser requestAnimationFrame and setTimeout in src/json-search/demo.ts and src/json-search/demo-worker.ts, which run per user interaction in a browser, so they cannot be run here without a browser.",
      "evidence": "Entry points inspected: package.json scripts, scripts/serve-demo-site.ts, scripts/check.ts, README Running section, template/README.md. No cron, scheduler, --once or --now trigger exists. The only repeating behavior is browser requestAnimationFrame and setTimeout in src/json-search/demo.ts and src/json-search/demo-worker.ts, which run per user interaction in a browser, so they cannot be run here without a browser.",
      "command": ""
    }
  ],
  "claims": [
    {
      "kind": "claim",
      "claim": "bun install sets up the repo's dependencies so bun start can run",
      "source": "`git clone && bun install`, then `bun start` to run them locally.",
      "input": "existing checkout with dependencies installed",
      "expected": "dependencies are present and checked",
      "command": "<guest-path> install",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Checked 37 installs across 119 packages",
      "evidence": "Checked 37 installs across 119 packages (no changes) [30.00ms]\n",
      "returncode": 0,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "claims_note": null,
  "example_checks": [
    {
      "kind": "example",
      "claim": "Type-check and lint the repo",
      "source": "README.md Running section (bun run check)",
      "input": "none",
      "command": "<guest-path> run check",
      "evidence": "ab/ui-exploration/text-tabulated\nbunx tsc -p lab/ui-exploration/text-walker\nbunx tsc -p lab/ui-exploration/user-population\nbunx oxlint --type-aware knip.config.ts src tests scripts template lab/candidate-gallery lab/cascade-argmax lab/data-adapter lab/event-window lab/generative-fields lab/hard-attend lab/json-search lab/knuth-plass lab/learned-interpreter lab/recovery-lr lab/recovery-parser lab/recovery-toml lab/reusable-layout lab/runtime-cost lab/trace-compiler lab/user-effort\nFound 0 warnings and 0 errors.\nFinished in 5.4s on 618 files with 110 rules using 2 threads.\n$ bun scripts/check.ts",
      "deferred": false,
      "expected": "0 warnings and 0 errors",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "Run one folder's tests",
      "source": "README.md Running section (bun test tests/runtime)",
      "input": "tests/runtime",
      "command": "<guest-path> test tests/runtime",
      "evidence": "exactly Math.min, Math.max and the clamp, including mixed magnitudes and subnormal values [11.01ms]\n\ntests/runtime/prefix-networks.test.ts:\n(pass) prefix networks > every prefix is the ordered combination of its items, for 1 to 70 items [8.09ms]\n(pass) prefix networks > combines and longest chains follow the formulas for powers of two [0.72ms]\n(pass) prefix networks > a state machine scan gives the loop's states, in S \u00d7 (k + combines) + k live operations, or k + S \u00d7 combines from a constant initial state [12.99ms]\n\n 174 pass\n 0 fail\n 155853 expect() calls\nRan 174 tests across 11 files. [4.23s]",
      "deferred": false,
      "expected": "0 fail",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "Build the demo site as static files",
      "source": "README.md Running section (bun run site:build)",
      "input": "",
      "command": "",
      "evidence": "Writes a site/ output directory into the checkout; left out on purpose to keep the source tree clean. The local site was instead checked live via bun start (see probe).",
      "deferred": true,
      "expected": "documented command completes successfully",
      "verdict": "deferred",
      "outcome": "Writes a site/ output directory into the checkout; left out on purpose to keep the source tree clean. The local site was instead checked live via bun start (see probe)."
    },
    {
      "kind": "example",
      "claim": "Run the full test suite",
      "source": "README.md Running section (bun run test)",
      "input": "",
      "command": "",
      "evidence": "README says it takes about 3 minutes; not run in this pass. A folder-level test run (tests/runtime) and the template test were run instead.",
      "deferred": true,
      "expected": "documented command completes successfully",
      "verdict": "deferred",
      "outcome": "README says it takes about 3 minutes; not run in this pass. A folder-level test run (tests/runtime) and the template test were run instead."
    }
  ],
  "does_what_it_says": "yes",
  "maintenance": {
    "last_commit_at": "2026-10-17T00:33:49Z",
    "commits_90d": 747,
    "merged_prs_90d": 0,
    "open_issues": 3,
    "open_prs": 7,
    "reply_share": 0.0,
    "reply_threads": 2,
    "median_reply_hours": null,
    "last_release_at": null,
    "archived": false,
    "verdict": "maintained",
    "note": "actively maintained: last commit 6 days ago; 747 commits and 0 merged PRs in 90 days; 3 open issues, 7 open PRs; 0 of 2 recent threads got a maintainer reply; no releases"
  },
  "maintenance_verdict": "maintained",
  "maintenance_note": "actively maintained: last commit 6 days ago; 747 commits and 0 merged PRs in 90 days; 3 open issues, 7 open PRs; 0 of 2 recent threads got a maintainer reply; no releases",
  "maintained": "active",
  "maintained_note": "last commit 6 days ago; 3 open issues, 0 answered or closed",
  "last_commit_at": "2026-10-17T01:12:12Z",
  "last_release_at": null,
  "open_issues": 3,
  "answered_issues": 0,
  "platforms_claimed": [
    "linux"
  ],
  "topic": "coding",
  "agent_interfaces": [
    {
      "interface": "api",
      "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-23T14:06:40.039466+00:00",
  "tested_commit": "257856e3b221140acb4cc4460626b850c0bd4ff1",
  "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": "chenglou/handwired",
    "source": "https://github.com/chenglou/handwired",
    "commit": "257856e3b221140acb4cc4460626b850c0bd4ff1",
    "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": "257856e3b221140acb4cc4460626b850c0bd4ff1",
      "url": "https://github.com/chenglou/handwired"
    },
    "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 handwired demo site with bun start and load the JSON search demo page; run the documented tests and checks",
    "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": "/reports/chenglou--handwired-claude-haiku-5-5-1792763989065583846.json"
}
