You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remote runtimes: analysis runs without a repository fail with "Cannot use simple-git on a directory that does not exist" (agent playground on Fly) #3893
On a Docker-less instance (Fly, with Sprites or Fly Machines runtimes), every analysis run without a repository fails immediately. For example, in the agent playground on propr-dev-3868, a signed-in Claude agent answering "hi" gives:
Cannot use simple-git on a directory that does not exist (14ms)
Cause: runtimes without bind mounts always use the clone workspace transport (resolveWorkspaceTransportMode → createWorkspaceTransport in packages/core/src/git/workspaceTransport.ts). CloneWorkspaceTransport.prepare (packages/core/src/git/workspaceCloneTransport.ts) opens spec.workspace.hostPath with git and requires a clean worktree with a commit. Analysis runs with no repository pass a scratch path that doesn't exist on the control plane and isn't a git repo:
Vibe → mkdtemp('/tmp/vibe-analysis-'), which exists but isn't a git repository
Docker never hits this, because bind mounts the path and Docker creates it.
This breaks the agent playground and probably every other analyze() caller without a repository on Fly (task titles, summaries and similar lightweight analysis). Audit the callers.
Expected
An analysis run with no repository workspace runs on remote runtimes with an empty scratch working directory: no git checkout, nothing returned, no GitHub token minted.
Suggested shape (the implementer may choose another):
Mark such runs explicitly in the run spec, e.g. workspace.mode = 'none' or workspace.kind = 'scratch', instead of relying on a magic /tmp/*-analysis path.
Have the transport layer use a "none" transport for them that starts the run in an empty directory on the Sprite or Machine and has no complete step. On Docker, keep today's behavior.
Keep the existing refusals for real repository workspaces: a read-only workspace on clone and the start-as-root requirement.
Acceptance
Unit tests: for each agent (Claude, Codex, Antigravity, OpenCode, Pi, Vibe), analyze() with no repository on a runtime without bind mounts uses the no-workspace path and never calls git on the host path. Repository-backed runs still use clone.
Live on a Fly instance (Sprites): the playground returns an answer from a signed-in Claude and Codex agent. Any other no-repository analyze() caller found in the audit works too.
Activity
propr-dev commentedon Nov 29, 2026
🤖 AI processing has started for this issue using codex agent with gpt-6.2-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-6.2-sol3893/gpt-6.2-sol-remote-runtimes-analysis--20261129-2225-mj23758-epic-runtime-abstraction-sc0issue-3893-20261129-2225-gpt-6.2-sol-mj2🔍 Track Task Execution
fix: run repository-free analysis in scratch dirs on remote runtimes
[3893 by GPT-6.2 Sol] Remote runtimes: analysis runs without a reposi…
integry commentedon Dec 1, 2026
Done in #3894, which merged into the runtime epic; the epic merged into
mainwith #3774 and ships in 0.9.4.