Skip to main content

Module worktree

Module worktree 

Source
Expand description

asd worktree — plan-scoped git worktrees (agent-worktree-workflow t-001).

Mirror of CTXone’s ctx worktree. Each unit of work gets its own worktree + plan/<name> branch, so parallel agents get isolated files + HEAD (they can’t clobber each other) while sharing context via the hub. Lifecycle: asd worktree start -> add ../-wt- on plan/ (work there) -> the CLI can’t cd you; open your session in it asd worktree finish -> merge back + MANDATORY teardown

The plan<->worktree binding is by CONVENTION (dir <repo>-wt-<plan>, branch plan/<plan>); list recovers it from git worktree list.

Enums§

WorktreeCmd

Functions§

run