Portable multi-provider coding CLI launcher with harness-first planning.
- Planning control-plane is established (
AGENTS.md,HARNESS_CHECKLIST.md,docs/*). - Active plan:
docs/exec-plans/active/EP-001-portable-coder-foundation-and-multi-provider-mvp.md. - MVP launcher exists:
scripts/pcoder/scripts/pcoder.cmd. - MVP platform scope is currently Windows-first.
- Windows target hosts: Windows 11, Server 2016, Server 2022, Server 2025.
- MVP tool scope is Codex + Claude only.
- WSL is optional when present, but not required.
- Primary Linux backend for Windows MVP is bundled QEMU VM.
- VM policy is try hardware acceleration first, then auto fallback to portable software mode.
- Bootstrap runtime payload (Windows):
scripts/runtime/windows/bootstrap-runtime.cmd- Optional launcher path:
scripts/pcoder runtime bootstrap - Optional URL overrides:
PCODER_QEMU_INSTALLER_URL,PCODER_QEMU_SHA512_URL,PCODER_UBUNTU_IMAGE_URL
- Optional launcher path:
- Run onboarding once:
scripts/pcoder setup --init. - Choose auth modes as needed:
- OAuth:
scripts/pcoder setup --codex-auth oauth --claude-auth oauth - API keys:
scripts/pcoder setup --codex-auth api --claude-auth api
- OAuth:
- Inject required env vars only for API mode (
OPENAI_API_KEYand/orANTHROPIC_AUTH_TOKEN). - Run
scripts/pcoder doctor. - Launch in VM mode (Windows):
scripts/pcoder run <tool> --mode linux-portable. - Use
--no-sync-backif you do not want VM changes copied back automatically.
On Windows, pcoder run defaults to --mode linux-portable.
Auth management:
scripts/pcoder auth statusscripts/pcoder auth login codexscripts/pcoder auth login claudescripts/pcoder auth logout codexscripts/pcoder auth logout claude
Windows smoke test:
scripts/runtime/windows/smoke-check.cmd
- GitHub Actions workflow:
.github/workflows/ci.yml - Runner target: Depot-hosted runner label
depot-ubuntu-24.04
- Workflow:
.github/workflows/claude-pr-runner.yml - Trigger: mention
@claudein PR comments/reviews (or run manually viaworkflow_dispatch) - Runner target: Depot-hosted runner label
depot-ubuntu-24.04 - Configure one auth secret:
ANTHROPIC_API_KEY(API key mode), orCLAUDE_CODE_OAUTH_TOKEN(OAuth mode)
Supported tool IDs:
codexclaude
Read in order:
AGENTS.mdHARNESS_CHECKLIST.mddocs/PLANS.md- active ExecPlan in
docs/exec-plans/active/