Skip to content

feat(dx): document /tmp worktree isolation pattern for parallel agents #418

@bokelley

Description

@bokelley

Context

Multiple agents working in the same checkout clobber each other's branches. Observed during the comprehensive cycle: W2 left in-progress edits on W3's branch.

The git worktree add /tmp/<branch> -b <name> main pattern isolates work so parallel agents don't collide, but it isn't documented anywhere.

Acceptance Criteria

  • Documentation section (in CLAUDE.md or contributor docs) describing the worktree isolation pattern
  • Checklist for spawning parallel work
  • Example invocation

Refs

  • Observed clobber: W2 ↔ W3 collision during comprehensive cycle

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions