{
  "checker": {
    "details": {
      "argv": [
        "<host-path>",
        "index",
        "<host-path>",
        "--index",
        "<host-path>"
      ],
      "kind": "cli",
      "needs_browser": false,
      "needs_credentials": false,
      "returncode": 0,
      "scope": "product operation",
      "stderr": "",
      "stdout": "index: ~/digup-probe-index/index.sqlite\nsync: 3 new \u00b7 0 changed \u00b7 0 moved \u00b7 0 removed \u00b7 0 unchanged\n[   1/3] doc        done     1.08s  notes.txt  (1 chunks)\n[   2/3] doc        done     0.04s  lease.txt  (1 chunks)\n[   3/3] doc        done     0.05s  invoice.txt  (1 chunks)\ndone in 1 s: 3 done",
      "working": true
    },
    "status": "PASS"
  },
  "deviations": [
    "scripts/build-llama.sh with glslc installed chose the Vulkan flavour and failed (SPIRV-Headers not found). Removed glslc (apt package glslc), cleared Vendor/llama-build and Vendor/llama, reran: CPU build succeeded.",
    "digup worker/index failed with 'no backends are loaded' because ggml backend .so files are in Vendor/llama/lib, not beside the binary. Fixed by setting DIGUP_BACKENDS=<host-path> (documented in LlamaEmbedder.swift), no source edit.",
    "Did not build the Tauri desktop app (shell/): needs Rust, Node 24, Vulkan SDK, ffmpeg and webkit packaging; out of scope for the CLI smoke task.",
    "Did not run swift test or cargo test (smoke scope)."
  ],
  "main_blocker": null,
  "operation": "digup index of a 3-file text folder into a fresh index, then digup search (exact-word and meaning queries) returning the right files",
  "operation_scope": "Linux CPU build of the digup CLI (no GPU, no GUI/Tauri app). Model EmbeddingGemma 2 Q8_0 downloaded with digup download-model. Browser/CDP not used. Desktop app (shell/) not built.",
  "outcome": "working",
  "steps": [
    "apt-get install build tools from .github/workflows/packages.yml (build tools list) plus glslc (later removed)",
    "Downloaded Swift 6.4.0 from download.swift.org (ubuntu2204 tarball), verified GPG signature, extracted to <host-path>",
    "scripts/fetch-vendor.sh",
    "scripts/build-llama.sh (CPU flavour; llama.cpp b11461 patched, shared libs in Vendor/llama/lib)",
    "swift build -c release --product digup",
    "./.build/release/digup --help",
    "./.build/release/digup download-model --to <host-path>",
    "DIGUP_MODELS=... DIGUP_BACKENDS=... ./.build/release/digup index <folder> --index <dir>",
    "DIGUP_MODELS=... DIGUP_BACKENDS=... ./.build/release/digup search \"INV-20419\" / \"pets allowed in the lease\" --index <dir>"
  ],
  "stuck_step": null,
  "suggested_fix": null
}
