{
  "tokens_out": 4210,
  "outcome": "unsupported",
  "suggested_fix": "Provide ORQ_API_KEY as a sandbox/test key in the guest environment, then run the README example (or a deployments/list call) to exercise the API. The SDK should also validate an empty api_key and raise a clear error.",
  "cycle_checks": null,
  "fault": {
    "owner": "prerequisite",
    "status": "diagnosed",
    "reason": "No ORQ_API_KEY in the guest. With an empty key the SDK fails with LocalProtocolError rather than a clear missing-credential message.",
    "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": "initial",
  "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": "7e85ef85d34b2e8fe838d64808185a865af0c43d",
  "failure_origin": null,
  "stuck_step": "SDK Example Usage: deployments.invoke requires ORQ_API_KEY",
  "repo_url": null,
  "needs": null,
  "checks": [
    {
      "status": "PASS",
      "details": {
        "working": false,
        "argv": [
          "show",
          "orq-ai-sdk"
        ],
        "kind": "cli",
        "returncode": 0,
        "stdout": "Name: orq-ai-sdk\nVersion: 4.16.12\nSummary: Python Client SDK for the Orq API.\nHome-page: \nAuthor: Orq\nAuthor-email: \nLicense: \nLocation: <host-path>\nRequires: httpcore, httpx, pydantic, requests\nRequired-by: ",
        "stderr": "",
        "needs_credentials": false,
        "needs_browser": false,
        "scope": "partial: install"
      },
      "check": "install",
      "optional": false
    }
  ],
  "open_issues": null,
  "agent_runtime_version": "2.1.300 (Claude Code)",
  "verifies_run_id": null,
  "total_s": 88.70356607437134,
  "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/orq-ai/orq-python",
  "models_agree": null,
  "maintenance_verdict": null,
  "cost_usd": 0.006493340000000001,
  "safety": null,
  "answered_issues": null,
  "what_failed": null,
  "steps": [
    "cd <host-path> && ls -la && cat README.md | head -200",
    "cd <host-path> && ls -la .github/workflows 2>/dev/null; ls <host-path>; which python3 pip3 node npm uv 2>&1; python3 --version",
    "cd <host-path> && grep -n -i \"mcp\\|cli\\|python -m\\|scripts/\\|make \\|pip install\\|uv \" README.md | head -40; cat pyproject.toml | head -60; ls scripts; cat .github/workflows/sdk_generation.yml",
    "cd <host-path> && python3 -m venv <host-path> && <host-path> install -q --upgrade pip 2>&1 | tail -3; <host-path> install -q ./ 2>&1 | tail -5; echo rc=$?; <host-path> -c \"import orq_ai_sdk,sys;print('ok', orq_ai_sdk.__file__)\"; env | grep -i \"orq\\|proxy\" ; sed -n 1,80p <host-path> | head -120",
    "rm -rf <host-path>; (sudo -n apt-get update -qq && sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y -qq python3.12-venv) 2>&1 | tail -3; cd <host-path> && python3 -m venv <host-path> && <host-path> install -q ./ 2>&1 | tail -5; echo rc=$?; <host-path> -I -c \"import orq_ai_sdk;print('ok', orq_ai_sdk.__file__)\"; env | grep -i \"orq\\|proxy\" | sed 's/=.*/=<set>/'",
    "cd <host-path> && grep -n \"credentials_error\\|needs_credentials\\|def validate\" <host-path> | head -30; ls .coldpass 2>/dev/null; <host-path> -I -c \"\nimport os\nfrom orq_ai_sdk import Orq\ntry:\n    with Orq(api_key=<secret>'ORQ_API_KEY','')) as orq:\n        print(orq.deployments.invoke(key='x', stream=False, messages=[{'role':'user','content':'hi'}]))\nexcept Exception as e:\n    print(type(e).__name__, str(e)[:300])\n\" 2>&1 | tail -5",
    "sed -n 380,420p <host-path>; sed -n 535,600p <host-path>",
    "cd <host-path> && mkdir -p .coldpass && cat > .coldpass/probe.json <<'EOF'\n{\"checks\":[{\"check\":\"install\",\"kind\":\"cli\",\"argv\":[\"<host-path>\",\"show\",\"orq-ai-sdk\"],\"cwd\":\"<host-path>\"}]}\nEOF\ncat > .coldpass/report.json <<'EOF'\n{\"outcome\":\"needs_credentials\",\"operation\":\"Installed orq-ai-sdk from the pinned source into a venv; attempted the README 'SDK Example Usage' call (orq.deployments.invoke) with no API key.\",\"operation_scope\":\"Install verified only. The documented API call needs ORQ_API_KEY and network access to the orq.ai API; neither is available in this guest, so no API operation was exercised.\",\"steps\":[\"apt-get install python3.12-venv (README Python venv prerequisite; python3 -m venv failed with ensurepip missing)\",\"python3 -m venv <host-path>\",\"<host-path> install ./ (README 'SDK Installation' pip route, run from the pinned source)\",\"<host-path> -I -c 'import orq_ai_sdk' (import ok)\",\"README 'SDK Example Usage' sync call with empty api_key: <secret> raised LocalProtocolError: Illegal header value b'Bearer ' (no clear credential error)\"],\"deviations\":[\"'python3 -m venv' failed (ensurepip unavailable); installed python3.12-venv via apt-get and recreated the venv.\",\"Documented 'uv add' / 'pip install orq-ai-sdk' were replaced by installing from the local pinned source (./) so the tested code matches the pinned commit.\"],\"stuck_step\":\"SDK Example Usage: deployments.invoke requires ORQ_API_KEY\",\"main_blocker\":\"No ORQ_API_KEY in the guest. With an empty key the SDK fails with LocalProtocolError rather than a clear missing-credential message.\",\"suggested_fix\":\"Provide ORQ_API_KEY as a sandbox/test key in the guest environment, then run the README example (or a deployments/list call) to exercise the API. The SDK should also validate an empty api_key and raise a clear error.\"}\nEOF\n<env-var>=<host-path> python3 -I <host-path> --validate"
  ],
  "platform_conflicts": null,
  "claims_note": null,
  "maintained_note": null,
  "repo": "orq-ai/orq-python",
  "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-18T15:52:30.556486+00:00",
  "kind": "repo",
  "resources": {
    "cpus": 2,
    "memory_mib": 4096,
    "disk_mib": 32768
  },
  "error_excerpt": "No ORQ_API_KEY in the guest. With an empty key the SDK fails with LocalProtocolError rather than a clear missing-credential message.",
  "pass": null,
  "evidence_version": null,
  "source_revision": null,
  "run_id": "orq-ai--orq-python-claude-haiku-5-5-1792338661852904606",
  "last_release_at": null,
  "furthest_model": null,
  "model": "claude-haiku-5-5",
  "what_it_did": "Installed orq-ai-sdk from the pinned source into a venv; attempted the README 'SDK Example Usage' call (orq.deployments.invoke) with no API key.",
  "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": null,
  "tokens_in": 115595,
  "tested_at": null,
  "test_version": "readme-03aea4c41d53955e3723c330e9927d2a9df627f6642624cc0078a97c73a53c8a",
  "recovery": {
    "source": "legacy-oct16-18",
    "original_run_id": "orq-ai--orq-python-claude-haiku-5-5-1792338661852904606",
    "historical": true,
    "ledger_sha256": "c5e6a833c182c1e2aecf69d0bd0020aec63c65d98f3e933e4b32232340312736"
  },
  "transcript_url": "/transcripts/orq-ai--orq-python-claude-haiku-5-5-1792338661852904606.txt",
  "report_url": "/reports/orq-ai--orq-python-claude-haiku-5-5-1792338661852904606.json"
}
