fabro/lib/crates
Bryan Helmkamp 9245a9987b Fix Daytona sandbox clone failing on unpushed worktree branch
When `arc run` uses a Daytona sandbox, `initialize()` re-detects the
branch from cwd — but by that point the worktree has switched HEAD to
`arc/run/{run_id}`, which was never pushed, causing the clone to fail
with HTTP 400. Pass the already-known base branch (e.g. `main`) from
the caller instead of re-detecting it inside the sandbox.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-10 23:11:42 -04:00
..
arc-agent Remove --no-dotenv flag, always load ~/.arc/.env, never load ./.env 2026-03-10 19:26:43 -04:00
arc-api Wire arc-devcontainer into sandbox creation flow 2026-03-10 22:54:59 -04:00
arc-cli Migrate 29 CLI tests from assert_cmd/insta to declarative trycmd 2026-03-10 22:42:24 -04:00
arc-config Add GitHub App manifest setup to arc install 2026-03-10 14:36:13 -04:00
arc-db Split ~/.arc/logs/ into logs/ and runs/ 2026-03-10 09:40:03 -04:00
arc-devcontainer Detect unsupported COPY/ADD in devcontainer base Dockerfiles 2026-03-10 22:09:30 -04:00
arc-exe Move crates/ to lib/crates/ and update all references 2026-03-09 13:12:35 -04:00
arc-git-storage Move crates/ to lib/crates/ and update all references 2026-03-09 13:12:35 -04:00
arc-github Simplify PR commands: rename fields, use constant, parallelize list 2026-03-10 19:54:38 -04:00
arc-llm Convert field-by-field and contains() tests to insta inline snapshots 2026-03-10 21:24:27 -04:00
arc-mcp Add sandbox MCP transport for running MCP servers inside Daytona sandboxes 2026-03-10 02:09:04 -04:00
arc-openai-oauth Add api.responses.write scope to OpenAI OAuth flow 2026-03-10 18:07:33 -04:00
arc-slack Move crates/ to lib/crates/ and update all references 2026-03-09 13:12:35 -04:00
arc-sprites Move crates/ to lib/crates/ and update all references 2026-03-09 13:12:35 -04:00
arc-types Fix relative paths broken by crates/ → lib/crates/ move 2026-03-09 13:20:47 -04:00
arc-util Add CLI telemetry event tracking with command sanitization and git hashing 2026-03-10 22:32:54 -04:00
arc-workflows Fix Daytona sandbox clone failing on unpushed worktree branch 2026-03-10 23:11:42 -04:00