{
  "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-proj",
              "List the files in this directory"
            ],
            "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": [
    "Installer fetched the pinned install.sh but installs the latest micro-cc from PyPI via uv, not necessarily the source at the pinned commit 622497a.",
    "README 'Use' command microcc-headless failed: 'No API endpoint configured \u2014 run `microcc` once and use /login' (exit 1). Requires interactive /login or an API key, which is a prerequisite not available here; not a repo defect."
  ],
  "fault_owner": "prerequisite",
  "main_blocker": "No model backend or API credential configured; headless run exits 1 with 'No API endpoint configured'.",
  "operation": "microcc-headless <project_dir> <prompt> (README 'Use' section) - single non-interactive prompt; not runnable without a model backend login",
  "operation_scope": "Install verified via README installer and microcc-headless --help. The headless operation needs a model API endpoint/credential (/login or API key env vars). None is configured in this guest and none was obtained. The credentials_error check runs the documented command and shows the missing-credential message.",
  "outcome": "blocked",
  "steps": [
    "curl -fsSL https://raw.githubusercontent.com/GSequist/microcc/622497afb8be81bbda593d1fadb94ab980ade85d/install.sh | sh  (installed micro-cc via uv tool; executables microcc, microcc-headless)",
    "microcc-headless /tmp/microcc-proj 'List the files in this directory' (README Use section)"
  ],
  "stuck_step": "microcc-headless <project_dir> <prompt> (README 'Use' section)",
  "suggested_fix": "Provide a model credential (e.g. ANTHROPIC_API_KEY or LiteLLM base URL/key per .env.example) or run `microcc` interactively once with /login, then rerun microcc-headless /path/to/project 'prompt'."
}
