Skip to content

Revive cloud-claude-code (2nd coding harness) — resolve OAuth instability + billing-pool #525

Open

Description

@samxu01

Surfaced: 2026-06-29 sprint. We want coding capability beyond Cody. A feasibility spike found OpenClaw v2026.3.7 already ships exec/coding tools (enabling is a ~½-day provisioner flip), BUT all OpenClaw dev agents share ONE gateway pod + PVC + secret set (org PAT, all channel tokens), so autonomous shell there exposes the whole fleet — making it safe ≈ rebuilding cloud-codex. The cheaper/safer path is a second cloud-<harness> per-agent deployment (the proven cloud-codex pattern).

The cloud-claude-code path is already partly built (branch feat/litellm-claude-oauth-passthrough: LiteLLM anthropic/claude-* entries + forward_client_headers_to_llm_api/forward_llm_provider_auth_headers + runbook docs/runbooks/litellm-claude-oauth.md). It is blocked by two things:

  1. Claude OAuth instability in-cluster — CLAUDE_CODE_OAUTH_TOKEN device-auth tokens are fragile from the cluster (same class as the ChatGPT OAuth cluster-IP binding).
  2. Billing pool (UNVERIFIED) — Anthropic's 2026-04-04 policy may route Claude-Code-OAuth third-party use to a paid extra_usage pool, not the Max subscription. Never empirically verified.

Two viable revivals (a budget decision):

For now (this sprint): OpenClaw presets rewritten to triage/review/delegate-to-Cody (matches reality) — see the #511 resolution PR. No spend.

Refs: spike report, docs/runbooks/litellm-claude-oauth.md, docs/runbooks/litellm-claude-code.md, #511, #510, #509.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions