{
  "checker": {
    "claims": [
      {
        "claim": "bun install sets up the repo's dependencies so bun start can run",
        "command": "<guest-path> install",
        "evidence": "Checked 37 installs across 119 packages (no changes) [30.00ms]\n",
        "expected": "dependencies are present and checked",
        "input": "existing checkout with dependencies installed",
        "kind": "claim",
        "outcome": "Real input produced the expected result: Checked 37 installs across 119 packages",
        "returncode": 0,
        "source": "`git clone && bun install`, then `bun start` to run them locally.",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      }
    ],
    "cycle_checks": [
      {
        "claim": "Scheduled or looping main behavior",
        "command": "",
        "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.",
        "expected": "identify the product trigger",
        "input": "source inspection",
        "kind": "cycle",
        "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.",
        "source": "repository entry points",
        "verdict": "yes"
      }
    ],
    "details": {
      "argv": [
        "<guest-path>",
        "start"
      ],
      "bytes": 7741,
      "kind": "http",
      "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",
      "status": 200,
      "url": "http://127.0.0.1:3000/json-search/",
      "working": true
    },
    "evidence_strength": "readme_checked",
    "example_checks": [
      {
        "claim": "Type-check and lint the repo",
        "command": "<guest-path> run check",
        "deferred": false,
        "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",
        "expected": "0 warnings and 0 errors",
        "input": "none",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": "README.md Running section (bun run check)",
        "verdict": "yes"
      },
      {
        "claim": "Run one folder's tests",
        "command": "<guest-path> test tests/runtime",
        "deferred": false,
        "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]",
        "expected": "0 fail",
        "input": "tests/runtime",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": "README.md Running section (bun test tests/runtime)",
        "verdict": "yes"
      },
      {
        "claim": "Build the demo site as static files",
        "command": "",
        "deferred": true,
        "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).",
        "expected": "documented command completes successfully",
        "input": "",
        "kind": "example",
        "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).",
        "source": "README.md Running section (bun run site:build)",
        "verdict": "deferred"
      },
      {
        "claim": "Run the full test suite",
        "command": "",
        "deferred": true,
        "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.",
        "expected": "documented command completes successfully",
        "input": "",
        "kind": "example",
        "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.",
        "source": "README.md Running section (bun run test)",
        "verdict": "deferred"
      }
    ],
    "status": "PASS"
  },
  "deviations": [
    "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.",
    "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.",
    "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.",
    "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.",
    "The full suite (bun run test, ~3 minutes), site:build and site:check (needs Chrome) were deferred.",
    "The checker path /inputs/coldpass-preflight.py does not exist in this guest; the validation used <guest-path> as the task's checker location.",
    "No product cycle detected: the repo has no cron, scheduler, --once or --now. Only browser animation-frame loops exist, which need a browser."
  ],
  "fault_owner": null,
  "main_blocker": null,
  "operation": "Run the handwired demo site with bun start and load the JSON search demo page; run the documented tests and checks",
  "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.",
  "outcome": "working",
  "plain_failure": null,
  "steps": [
    "git init; git remote add origin https://github.com/chenglou/handwired; git fetch --depth 1 origin 257856e3b221140acb4cc4460626b850c0bd4ff1; git reset --mixed FETCH_HEAD",
    "Install Bun (README prerequisite; not preinstalled): curl -fsSL https://bun.sh/install | bash (after apt-get install unzip)",
    "bun install (README: git clone && bun install)",
    "bun start (README: serves the demo site at http://127.0.0.1:3000/)",
    "bun test tests/runtime (docs/README.md: one folder's tests)",
    "bun run check (docs/README.md: type-checks and lints)",
    "bun lab/runtime-cost/report.ts (docs/README.md: lab report)",
    "bun test template (template/README.md)"
  ],
  "stuck_step": null,
  "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."
}
