Expand description
Git workspace helpers for parallel task isolation (clone-based).
Responsibilities:
- Create and remove isolated git workspaces for parallel task execution.
- Compute the workspace root path using resolved configuration.
- Ensure clones are pushable by resolving the real origin remote.
Not handled here:
- Task selection or worker orchestration (see
commands::run::parallel). - PR creation or merge operations (see
git::pr). - Integration conflict resolution policy (see
commands::run::parallel::integration).
Invariants/assumptions:
gitis available and the repo root is valid.- Workspace paths are unique per task ID.
- Clones must have a pushable
originremote.