{
  "tokens_out": 3333,
  "outcome": "blocked",
  "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'.",
  "cycle_checks": null,
  "fault": {
    "owner": null,
    "status": "pending",
    "reason": "No model backend or API credential configured; headless run exits 1 with 'No API endpoint configured'.",
    "evidence": []
  },
  "runtime_revision": null,
  "agent_execution": "native_agent",
  "time_to_working_s": null,
  "usage_complete": true,
  "runtime": null,
  "architecture": null,
  "local_or_hosted": null,
  "agent_interfaces_note": null,
  "platform_details": null,
  "platforms_claimed": null,
  "maintenance": null,
  "evidence_strength": null,
  "purpose": "repair",
  "topic": null,
  "needs_which": null,
  "tested_with": null,
  "native_bundle": null,
  "agent_runtime": "claude-code",
  "maintenance_note": null,
  "runtime_version": null,
  "does_what_it_says": null,
  "commit": "622497afb8be81bbda593d1fadb94ab980ade85d",
  "failure_origin": null,
  "stuck_step": "microcc-headless <project_dir> <prompt> (README 'Use' section)",
  "repo_url": null,
  "needs": null,
  "checks": [
    {
      "status": "PASS",
      "details": {
        "working": false,
        "argv": [
          "--help"
        ],
        "kind": "cli",
        "returncode": 0,
        "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]",
        "stderr": "",
        "needs_credentials": false,
        "needs_browser": false,
        "scope": "partial: install"
      },
      "check": "install",
      "optional": false
    },
    {
      "status": "FAIL",
      "details": {
        "working": false,
        "argv": [
          "/tmp/microcc-proj",
          "List the files in this directory"
        ],
        "kind": "cli",
        "returncode": 1,
        "stdout": "",
        "stderr": "No API endpoint configured \u2014 run `microcc` once and use /login",
        "needs_credentials": false,
        "needs_browser": false,
        "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}"
      },
      "check": "credentials_error",
      "optional": false
    }
  ],
  "open_issues": null,
  "agent_runtime_version": "2.1.300 (Claude Code)",
  "verifies_run_id": "GSequist--microcc-claude-haiku-5-5-1792349501146799615",
  "total_s": 123.14717078208923,
  "license": null,
  "tool_calls": 8,
  "model_version": "claude-haiku-5-5",
  "example_checks": [],
  "mcp": null,
  "other_model": null,
  "first_use_s": null,
  "native_tool_calls": 8,
  "last_commit_at": null,
  "source": "https://github.com/GSequist/microcc",
  "models_agree": null,
  "maintenance_verdict": null,
  "cost_usd": 0.00458124,
  "safety": null,
  "answered_issues": null,
  "what_failed": null,
  "steps": [
    "cd <host-path> && ls -la && cat README.md 2>/dev/null | head -300",
    "cd <host-path> && git log -1 --format=%H 2>&1; ls .coldpass 2>&1; echo \"CDP=$CDP_URL $<env-var>\"; ls <host-path> 2>&1",
    "cd <host-path> && cat install.sh; echo ---; cat .env.example; echo ---; ls .github/workflows 2>/dev/null; echo ---; which python3 pip3 pipx uv 2>&1; python3 --version",
    "cd /tmp && export NODE_USE_ENV_PROXY=1 && (curl -fsSL https://raw.githubusercontent.com/GSequist/microcc/622497afb8be81bbda593d1fadb94ab980ade85d/install.sh | sh) 2>&1 | tail -30; echo \"rc=${PIPESTATUS[0]}\"",
    "B=$(uv tool dir --bin 2>/dev/null || echo $HOME/.local/bin); echo $B; ls -la $B/microcc-headless; mkdir -p /tmp/microcc-proj && cd /tmp/microcc-proj && env | grep -iE 'api_key|anthropic|openai|litellm' | sed 's/=.*/=<set>/'; timeout 120 $B/microcc-headless /tmp/microcc-proj \"List the files in this directory\" ; echo \"rc=$?\"",
    "cd <host-path> && wc -l checker/check.py && grep -nE 'credentials_error|\"checks\"|check\"|expected_text|stays_running|--validate' checker/check.py | head -60",
    "cd <host-path> && sed -n 395,420p checker/check.py; sed -n 440,470p checker/check.py",
    "cd <host-path> && mkdir -p .coldpass && cat > .coldpass/probe.json <<'EOF'\n{\"checks\":[\n {\"check\":\"install\",\"kind\":\"cli\",\"argv\":[\"<host-path>\",\"--help\"],\"cwd\":\"<host-path>\"},\n {\"check\":\"credentials_error\",\"kind\":\"cli\",\"argv\":[\"<host-path>\",\"/tmp/microcc-proj\",\"List the files in this directory\"],\"cwd\":\"<host-path>\",\"expected_returncode\":1,\"expected_text\":\"No API endpoint configured\"}\n]}\nEOF\ncat > .coldpass/report.json <<'EOF'\n{\"outcome\":\"needs_credentials\",\n \"operation\":\"microcc-headless <project_dir> <prompt> (README 'Use' section) - single non-interactive prompt; not runnable without a model backend login\",\n \"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.\",\n \"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)\"],\n \"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.\"],\n \"stuck_step\":\"microcc-headless <project_dir> <prompt> (README 'Use' section)\",\n \"main_blocker\":\"No model backend or API credential configured; headless run exits 1 with 'No API endpoint configured'.\",\n \"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'.\",\n \"fault_owner\":\"prerequisite\"}\nEOF\npython3 -I -m json.tool .coldpass/probe.json >/dev/null && python3 -I -m json.tool .coldpass/report.json >/dev/null && echo json-ok; <env-var>=<host-path> python3 -I <host-path> --validate 2>&1 | tail -20"
  ],
  "platform_conflicts": null,
  "claims_note": null,
  "maintained_note": null,
  "repo": "GSequist/microcc",
  "service_tier": null,
  "maintained": null,
  "source_pin": null,
  "operation_scope": "partial checks",
  "reasoning": "low",
  "claims": [],
  "platform": "linux",
  "cost_to_try": null,
  "backend": null,
  "tool_transport": "mcp-assigned-vm",
  "hardware": null,
  "agent_interface": null,
  "profile": {
    "model": "claude-haiku-5-5",
    "reasoning": "low"
  },
  "date": "2026-10-18T18:55:37.082415+00:00",
  "kind": "repo",
  "resources": {
    "cpus": 2,
    "memory_mib": 4096,
    "disk_mib": 32768
  },
  "error_excerpt": "No model backend or API credential configured; headless run exits 1 with 'No API endpoint configured'.",
  "pass": false,
  "evidence_version": null,
  "source_revision": null,
  "run_id": "GSequist--microcc-claude-haiku-5-5-1792349613935229331",
  "last_release_at": null,
  "furthest_model": null,
  "model": "claude-haiku-5-5",
  "what_it_did": "microcc-headless <project_dir> <prompt> (README 'Use' section) - single non-interactive prompt; not runnable without a model backend login",
  "sandbox_source": null,
  "other_run_id": null,
  "hosting": null,
  "tested_commit": null,
  "guest_setup": null,
  "mcp_context": null,
  "agent_interfaces": [],
  "setup_identity": null,
  "works": null,
  "install_s": null,
  "fix_id": "fix-9a2146f06fe8cf00c64f",
  "tokens_in": 82083,
  "tested_at": null,
  "test_version": "readme-0f1761a42b39dea53df094e4d7669fd69254833abda71bf5e3362f8887dc37cc",
  "recovery": {
    "source": "legacy-oct16-18",
    "original_run_id": "GSequist--microcc-claude-haiku-5-5-1792349613935229331",
    "historical": true,
    "ledger_sha256": "c5e6a833c182c1e2aecf69d0bd0020aec63c65d98f3e933e4b32232340312736"
  },
  "transcript_url": "/transcripts/GSequist--microcc-claude-haiku-5-5-1792349613935229331.txt",
  "report_url": "/reports/GSequist--microcc-claude-haiku-5-5-1792349613935229331.json"
}
