Skip to main content
Workspaces use Git worktrees to create an isolated directory and a feature/<feature-id> branch for a feature.

workspace create

On success, the command creates .worktrees/<feature-id> and the feature/<feature-id> branch, then writes workspace metadata to feature_list.json.

workspace status

This command has no arguments. It outputs JSON containing each registered workspace’s path, branch, base commit, whether the claim is active, and whether the directory still exists. It does not modify the repository.

workspace remove

By default, the command protects uncommitted and unpushed work. On success, it removes the worktree, feature branch, and workspace metadata.

workspace prune

The command considers only workspaces whose claims have been released or expired. It always skips workspaces with active claims. By default, it also skips directories with uncommitted or unpushed work. --force removes those directories as well.