{
  "checker": {
    "details": {
      "argv": [
        "xvfb-run",
        "-a",
        "/workspace/packages/zig/zig-out/bin/craft",
        "--headless",
        "--html",
        "<h1>Craft smoke</h1>",
        "--title",
        "Smoke"
      ],
      "kind": "cli",
      "needs_browser": false,
      "needs_credentials": false,
      "returncode": 0,
      "scope": "product operation",
      "stderr": "",
      "stdout": "\n\u26a1 Loading HTML content in native window\n   Title: Smoke\n   Size: 1200x800\n\nlibEGL warning: DRI3 error: Could not get DRI3 device\nlibEGL warning: Ensure your X server supports DRI3 to get accelerated rendering\nlibEGL warning: egl: failed to create dri2 screen\nlibEGL warning: DRI2: failed to create screen\nlibEGL warning: egl: failed to create dri2 screen\nlibEGL warning: DRI2: failed to create screen\n[Permission] Linux WebView configured (camera=false, mic=false, geo=false, notify=true, clip=true)\n[excerpt truncated]",
      "working": true
    },
    "status": "PASS"
  },
  "deviations": [
    "pantry install / eval \"$(pantry env)\" not run: pantry CLI is not available in the guest; used the README's documented fallback with CRAFT_ZIG and CRAFT_ALLOW_UNPINNED_ZIG=1 and Zig 0.17.0 release (pantry.jsonc pins the dev snapshot 0.17.0-dev.1963_e00c6c439, which returned 404 from ziglang.org).",
    "bun was not preinstalled; installed via bun.sh install script (README does not show this step).",
    "The direct run 'craft --headless --html ...' failed with 'Gtk-WARNING: cannot open display' because the guest has no DISPLAY; installed xvfb and xauth and ran the same command under xvfb-run -a.",
    "Used --html instead of the README's 'craft http://localhost:3000' form, since no dev server was started for this smoke test."
  ],
  "main_blocker": null,
  "operation": "Built the Craft core binary (packages/zig/zig-out/bin/craft) from the pinned source and ran it headlessly to load an inline HTML page in a native WebKitGTK window under Xvfb; the window loaded and the process stayed running (\"Linux WebView configured\" logged). Build-from-source path of the README, not the TypeScript SDK or examples.",
  "operation_scope": "Verified: bun install, Zig 0.17.0 core build, GUI launch under a virtual X display. Not verified: a real display (no DISPLAY in the guest, so Xvfb was installed), the 'craft http://localhost:3000' form (no dev server started), the examples/ and create-craft flows, the Zig/TS unit or lint suites (intentionally not run).",
  "outcome": "working",
  "steps": [
    "apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev (README: Platform-Specific Dependencies, Linux) plus unzip, xz-utils, git",
    "curl -fsSL https://bun.sh/install | bash (bun was not present)",
    "bun install (252 packages)",
    "Zig 0.17.0 release downloaded from https://ziglang.org/download/0.17.0/zig-x86_64-linux-0.17.0.tar.xz to /opt/zig/rel (README: fallback without pantry CLI)",
    "LIBS=\"$(cd .. && pwd)/../Libraries\" -> /Libraries; git init/fetch/checkout of zig-js, zig-regex, zig-gc at the SHAs in .github/actions/first-party-zig-deps/pins.env",
    "CRAFT_ZIG=/opt/zig/rel/zig CRAFT_ALLOW_UNPINNED_ZIG=1 bun run build:core (exit 0, binary produced)",
    "xvfb-run -a packages/zig/zig-out/bin/craft --headless --html '<h1>Craft smoke</h1>' --title Smoke --log-level debug (rc=124 from timeout, i.e. it kept running; WebView configured)"
  ],
  "stuck_step": null,
  "suggested_fix": "For a real desktop run, provide a display (DISPLAY or xvfb-run). To match the README exactly, install pantry and use the pinned zig toolchain instead of the CRAFT_ZIG override."
}
