Git worktrees = zero-overhead isolation.
Tasks
agent-entrypoint.sh: replace git clone with git clone --bare + git worktree add
- Shared bare repo via Railway volume
- Cleanup:
git worktree remove after merge
- ~30 seconds faster startup
Files
deploy/agent-entrypoint.sh
deploy/Dockerfile.agent
Verification
- Container starts in <30s (vs ~60s now)
- Multiple agents can share bare repo
Git worktrees = zero-overhead isolation.
Tasks
agent-entrypoint.sh: replacegit clonewithgit clone --bare+git worktree addgit worktree removeafter mergeFiles
deploy/agent-entrypoint.shdeploy/Dockerfile.agentVerification