{
  "checker": {
    "details": {
      "argv": [
        "/usr/bin/js2wasm",
        "examples/wasi/hello-fs.ts",
        "--target",
        "wasi",
        "-o",
        "<host-path>"
      ],
      "kind": "cli",
      "needs_browser": false,
      "needs_credentials": false,
      "returncode": 0,
      "scope": "product operation",
      "stderr": "note: auto-enabled Node API emulation (found a `node:` import). Pass --emulate none to disable.",
      "stdout": "<host-path>  (374 bytes)\n<host-path>  (182643 chars)\n<host-path>  (24 chars)\n<host-path>  (4115 chars)\n\nTo run: wasmtime -W gc=y,function-references=y,tail-call=y,exceptions=y <host-path>",
      "working": true
    },
    "status": "PASS"
  },
  "deviations": [
    "Node/npm not present in guest: installed Node 22 via NodeSource setup script and apt nodejs (README prerequisite, Node >=20).",
    "pnpm not present: installed pnpm@10.30.2 globally via npm (repo packageManager pin).",
    "'pnpm run build' (README's build step) was OOM-killed at default heap (exit 134, V8 heap out of memory). Re-ran with NODE_OPTIONS=--max-old-space-size=6144 (guest has 8 GB RAM); build then succeeded.",
    "README 'npx js2wasm input.ts' failed with 'js2wasm: not found': the package bin is not linked into node_modules/.bin in the repo checkout. Ran 'sudo npm i -g --ignore-scripts <host-path>' to link /usr/bin/js2wasm, and used that bin. Product source unchanged.",
    "Probe argv invoking 'node dist/cli.js' and a .ts input under .coldpass were rejected by the checker as agent-written, so the probe uses the global js2wasm bin with a repo example input.",
    "wasm-opt/binaryen not installed; compile warns and skips optimization (non-fatal). wasmtime not installed, so the output was not run under wasmtime."
  ],
  "main_blocker": null,
  "operation": "Compile a TypeScript file to WasmGC with the README CLI: js2wasm examples/wasi/hello-fs.ts --target wasi -o <dir> (writes hello-fs.wasm, .wat, .d.ts, .imports.js). Earlier, a scratch add() function compiled with --target standalone and instantiated in Node returned add(2,3)=5.",
  "operation_scope": "Compile step only, verified by output files. The emitted .wasm was not executed under wasmtime (not installed; README recommends wasmtime 46+ with -W gc=y,function-references=y,tail-call=y,exceptions=y). No MCP server: .mcp.json only configures a Claude symphony channel script, which is not a product operation, so start/tools/list was not applicable. Browser not needed.",
  "outcome": "working",
  "steps": [
    "Read README.md (Quick start, Compile modes, Testing headings)",
    "Installed Node 22 via NodeSource apt setup (guest had no node/npm)",
    "npm i -g pnpm@10.30.2 (matches packageManager field)",
    "NODE_USE_ENV_PROXY=1 pnpm install --frozen-lockfile (README 'pnpm install')",
    "NODE_OPTIONS=--max-old-space-size=6144 pnpm run build (package.json build script; README build step)",
    "Compiled scratch add() with node dist/cli.js --target standalone -o <dir>; instantiated in Node: add(2,3)=5",
    "sudo npm i -g --ignore-scripts <host-path> to expose the README 'js2wasm' bin as /usr/bin/js2wasm",
    "/usr/bin/js2wasm examples/wasi/hello-fs.ts --target wasi -o .coldpass/probe-out (succeeded, 374-byte wasm)",
    "<env-var>=<host-path> python3 -I <host-path> --validate -> valid"
  ],
  "stuck_step": null,
  "suggested_fix": null
}
