{
  "checker": {
    "details": {
      "checks": [
        {
          "check": "install",
          "details": {
            "argv": [
              "<host-path>",
              "--help"
            ],
            "kind": "cli",
            "needs_browser": false,
            "needs_credentials": false,
            "returncode": 0,
            "scope": "partial: install",
            "stderr": "",
            "stdout": "usage: microcc-headless [-h] [-f FILES] [--model MODEL]\n                        [--max-loops MAX_LOOPS] [--output-format {text,json}]\n                        [--verbose] [--foreground]\n                        project_dir [prompt]\n\nRun a single prompt headlessly, no TUI/GUI \u2014 the microcc equivalent of `claude\n-p`. Point it at a project_dir and a prompt; it picks up that dir's existing\nconversation history, runs to completion, prints the outcome, and exits with a\nreal status code. Invoke it from cron whenever, no manifest required. When\nspawned by a micro-cc session's bash_ (a subagent), it instead registers,\ndetaches, and returns at once with STARTED or REFUSED.\n\n[excerpt truncated]",
            "working": false
          },
          "optional": false,
          "status": "PASS"
        },
        {
          "check": "credentials_error",
          "details": {
            "argv": [
              "<host-path>",
              "/tmp/microcc-smoke-proj",
              "Reply with the word OK."
            ],
            "blocker": "product did not produce a clear credential error: {\"returncode\": 1, \"stdout\": \"\", \"stderr\": \"No API endpoint configured \\u2014 run `microcc` once and use /login\\n\", \"needs_credentials\": false, \"needs_browser\": false}",
            "kind": "cli",
            "needs_browser": false,
            "needs_credentials": false,
            "returncode": 1,
            "stderr": "No API endpoint configured \u2014 run `microcc` once and use /login",
            "stdout": "",
            "working": false
          },
          "optional": false,
          "status": "FAIL"
        }
      ],
      "scope": "partial checks",
      "working": false
    },
    "status": "FAIL"
  },
  "deviations": [
    "Used the README curl|sh installer with PATH set to ~/.local/bin afterwards; no other deviation.",
    "Did not run the interactive microcc TUI or /login (needs a provider credential that is not available in this guest).",
    "Did not run the full test suite or lint, as instructed."
  ],
  "main_blocker": "No model backend or API credential is configured. The headless run exits 1 with: No API endpoint configured \u2014 run `microcc` once and use /login",
  "operation": "README 'Use' step: microcc-headless <project_dir> <prompt> (single headless prompt). Install verified with microcc-headless --help.",
  "operation_scope": "Install and CLI startup work. The headless prompt cannot run because no model backend is configured (no ~/.micro-cc/settings.json and no provider API key in the environment). The README says to type /login on first run; that is interactive and needs a provider credential, which was not available in this guest.",
  "outcome": "blocked",
  "steps": [
    "curl -fsSL https://raw.githubusercontent.com/GSequist/microcc/main/install.sh | sh (installed uv, then micro-cc; exposes microcc and microcc-headless in ~/.local/bin)",
    "microcc-headless --help (usage printed, exit 0)",
    "microcc-headless /tmp/microcc-smoke-proj 'Reply with the word OK.' (exit 1: 'No API endpoint configured \u2014 run `microcc` once and use /login')"
  ],
  "stuck_step": "microcc-headless <project_dir> <prompt> (README 'Use' section)",
  "suggested_fix": "Provide a provider credential in the guest (e.g. ANTHROPIC_API_KEY, or run microcc once and /login with a key), then rerun: microcc-headless /path/to/project 'Reply with the word OK.'"
}
