{
  "checker": {
    "claims": [
      {
        "claim": "The library contains 34 templates, and the documented index build reports that count",
        "command": "node scripts/build-index.mjs",
        "evidence": "with 34 templates.\n",
        "expected": "Build prints 'Wrote ... with 34 templates.' and writes index.json",
        "input": "templates/ folder with one template.json per template (run: node scripts/build-index.mjs)",
        "kind": "claim",
        "outcome": "Real input produced the expected result: with 34 templates.",
        "returncode": 0,
        "source": "All 34 templates.",
        "source_checked": true,
        "source_file": "README.md",
        "verdict": "yes"
      }
    ],
    "cycle_checks": [
      {
        "claim": "Scheduled or looping main behavior",
        "command": "",
        "evidence": "Inspected README.md, AGENTS.md, scripts/build-index.mjs and scripts/new-template.mjs. No cron, scheduler, loop, webhook, --once or --now entry point exists. The library is run by hand (node scripts/build-index.mjs) and by the agent following AGENTS.md; nothing runs on a schedule.",
        "expected": "identify the product trigger",
        "input": "source inspection",
        "kind": "cycle",
        "outcome": "Inspected README.md, AGENTS.md, scripts/build-index.mjs and scripts/new-template.mjs. No cron, scheduler, loop, webhook, --once or --now entry point exists. The library is run by hand (node scripts/build-index.mjs) and by the agent following AGENTS.md; nothing runs on a schedule.",
        "source": "repository entry points",
        "verdict": "yes"
      }
    ],
    "details": {
      "argv": [
        "node",
        "scripts/build-index.mjs"
      ],
      "kind": "cli",
      "needs_browser": false,
      "needs_credentials": false,
      "returncode": 0,
      "scope": "product operation",
      "stderr": "",
      "stdout": "Wrote <guest-path> with 34 templates.",
      "working": true
    },
    "evidence_strength": "readme_checked",
    "example_checks": [
      {
        "claim": "Rebuild the library-wide index.json from every templates/<slug>/template.json (documented in scripts/build-index.mjs and AGENTS.md step 5)",
        "command": "node scripts/build-index.mjs",
        "deferred": false,
        "evidence": "Wrote <guest-path> with 34 templates.",
        "expected": "Wrote index.json with 34 templates",
        "input": "no arguments; reads templates/*/template.json",
        "kind": "example",
        "outcome": "command completed successfully",
        "returncode": 0,
        "source": "scripts/build-index.mjs",
        "verdict": "yes"
      },
      {
        "claim": "Run the template verifier before publishing a new template",
        "command": "",
        "deferred": false,
        "evidence": "Not runnable: step 4 requires 'bun run .tools/verify.ts', but .tools/ is gitignored and absent from the snapshot, and bun is not installed. No documented tests exist (no package.json, no test script).",
        "expected": "documented command completes successfully",
        "input": "",
        "kind": "example",
        "outcome": "Not runnable: step 4 requires 'bun run .tools/verify.ts', but .tools/ is gitignored and absent from the snapshot, and bun is not installed. No documented tests exist (no package.json, no test script).",
        "source": "scripts/new-template.mjs",
        "verdict": "blocked"
      },
      {
        "claim": "Open the three candidate previews in a browser for the user to compare",
        "command": "",
        "deferred": false,
        "evidence": "Requires macOS 'open' and a local browser for an interactive user choice; not part of the library build. Deferred, no browser was used.",
        "expected": "documented command completes successfully",
        "input": "",
        "kind": "example",
        "outcome": "Requires macOS 'open' and a local browser for an interactive user choice; not part of the library build. Deferred, no browser was used.",
        "source": "AGENTS.md section 1, Step 4",
        "verdict": "blocked"
      }
    ],
    "status": "PASS"
  },
  "deviations": [
    "README.md has no install or run command. Its only operations are the Get-started prompt and the gallery, so the runnable operation came from scripts/build-index.mjs and AGENTS.md step 5.",
    "Node was not installed in the guest; installed from Ubuntu apt (v18.19.1) with sudo. No README-specified version exists.",
    "The regenerated index.json differs from the shipped one in one tagline: templates/pink-script now shows 'DM Serif Display' (matching its template.json) where the shipped index.json said 'Instrument Serif'. The shipped index was stale; the build was not hand-edited.",
    "AGENTS.md step 4 (open previews in a browser, macOS 'open') and step 4 of new-template output (bun run .tools/verify.ts) were not run: no browser was used, and .tools/ is absent and gitignored with bun not installed.",
    "No Git init/fetch was done; the build does not need Git metadata. The pinned commit was therefore not verified against the snapshot."
  ],
  "fault_owner": null,
  "main_blocker": null,
  "operation": "Rebuild the library index (index.json) from the 34 template.json files, as documented in scripts/build-index.mjs and AGENTS.md step 5",
  "operation_scope": "Linux Ubuntu 24.04, Node 18.19.1 from apt (no version is pinned by the repo; the script is plain ESM and runs on it). No browser, no network, no Bun. Pinned source e5e204fb1f3b06290846e7dcd7aceddabeceec8c; the workspace was not git-verified against the pin because the build needs no Git metadata.",
  "outcome": "working",
  "plain_failure": null,
  "steps": [
    "sudo apt-get update -y && sudo apt-get install -y nodejs npm (installed Node v18.19.1, npm 9.2.0)",
    "node scripts/build-index.mjs (prints: Wrote <guest-path> with 34 templates.)"
  ],
  "stuck_step": null,
  "suggested_fix": "Regenerate and commit index.json whenever a template.json changes, so the shipped index matches the templates. Consider documenting 'node scripts/build-index.mjs' in README.md, and a Node version requirement."
}
