This repository is a Rootwork scaffold and Worktrunk companion.
- Rootwork manages the workspace container and AI context.
- Worktrunk manages actual worktree operations.
- The real git repository for a generated or adopted project lives under
repos/<ProjectName>. - Worktrees are expected under
trees/<branch | sanitize>. rwtis the Rootwork companion CLI.- The active
rwtruntime is still the shell implementation. - There is an in-progress Go rewrite in
cmd/rwt,internal/, andgo.mod.
README.md.worktree-config.ymlrwtbootstrap-machinelib/worktree-common.sh
./install-global-tools./bootstrap-machinerwt init-project [--git <url>]rwt adopt-projectrwt doctorwt switch --create <branch>wt listwt remove
- Keep Rootwork focused on scaffolding, adoption, validation, and Worktrunk setup.
- Do not reintroduce overlapping worktree-management commands into
rwt. - Prefer changing
cmd/rwt,internal/,rwt,bootstrap-machine, and scaffold files over adding one-off instructions. - When behavior changes, update both the active shell implementation and the in-progress Go implementation unless you are intentionally diverging during migration.
- Keep the README short and practical.
- Generated project workspaces should contain
.worktree-config.yml,AGENTS.md,.agents/,repos/, andtrees/.
- Project-local skills live under
.agents/skills/. - The initial local skill for this repo is
.agents/skills/rootwork-ops/.