One Repository
Configured mode is preferred when the project can adopt it. Standalone mode provides a smaller, ad hoc workflow.
aw init --zero-configThis creates the effective worktree directory and ensures an in-repository directory is ignored, adding a repository-local rule only when needed. The built-in location is .worktrees/; a personal ~/.arashi/config.json may supply worktreesDir and naming/create/switch defaults. Bootstrap never creates .arashi/config.json.
aw create feat/docsaw listaw switch feat/docsaw statusaw remove feat/docsWithout a user override, worktrees use .worktrees/<branch>. Relative user paths anchor at the main repository, while absolute shared roots receive a repository-qualified directory. Commands run from the main or a linked worktree resolve the same destination root.
Choose a base for one create when needed:
aw create feature/docs --base main
Limits
Section titled “Limits”An existing malformed or invalid workspace or user config produces an error rather than falling back or silently changing modes; fix the named file and field before retrying. Use aw config effective to inspect effective values and sources.
Standalone mode supports the single-repository lifecycle: create, list, status, switch, remove, prune, doctor, move, and handoff.
Repository filters, groups, workspace hooks, and multi-repository commands require configured mode. Personal create, switch, editor, worktree-directory, and naming defaults work in standalone mode. Standalone hooks continue to come only from applicable user-global hook locations.
Adopt configured mode
Section titled “Adopt configured mode”aw initReview the proposed paths. Configured mode may not keep the standalone .worktrees/<branch> layout.