Skip to content

Cloud Dev: Git worktree isolation #125

@gHashTag

Description

@gHashTag

Git worktrees = zero-overhead isolation.

Tasks

  1. agent-entrypoint.sh: replace git clone with git clone --bare + git worktree add
  2. Shared bare repo via Railway volume
  3. Cleanup: git worktree remove after merge
  4. ~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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions