`homeboy worktree` command reference

Generated from the clap command tree. This page is the complete synopsis, argument, flag, and subcommand surface for this command family.

Concepts, recipes, and contracts are hand-written in docs/commands/worktree.md.

Global flags apply to every command and are documented once in the root command reference.

homeboy worktree

sh
homeboy worktree <COMMAND>

Manage component-backed task worktrees

SubcommandSummary
homeboy worktree createCreate a task worktree from a registered component checkout
homeboy worktree adoptAdopt an existing local workspace path for @workspace: refs
homeboy worktree queue-createCreate multiple task worktrees one-at-a-time with queue status JSON
homeboy worktree listList persisted task worktrees
homeboy worktree statusInspect one task worktree and its safety gates
homeboy worktree removeRemove one task worktree after safety checks
homeboy worktree cleanupRemove cleanup-eligible task worktrees after safety checks
homeboy worktree quarantineInspect or explicitly reconcile quarantined malformed task-worktree records

homeboy worktree create

sh
homeboy worktree create [OPTIONS] <COMPONENT_ID>

Create a task worktree from a registered component checkout

ArgumentRequiredDescription
<COMPONENT_ID>yesComponent ID to use as the source checkout
OptionValueDescription
--branch<BRANCH>Branch to create in the task worktree
--from<FROM>Base ref for the new worktree branch
--task-url<TASK_URL>Task or issue URL associated with this worktree
--run-id<RUN_ID>Agent-task run ID associated with this worktree
--cleanup-policy<CLEANUP_POLICY>Cleanup policy for lifecycle cleanup Values: remove-when-safe, preserve-on-failure.

homeboy worktree adopt

sh
homeboy worktree adopt [OPTIONS] <HANDLE> <PATH>

Adopt an existing local workspace path for @workspace: refs

ArgumentRequiredDescription
<HANDLE>yesWorkspace handle resolved by @workspace:
<PATH>yesExisting local directory to resolve for this handle
OptionValueDescription
--kind<KIND>Optional generic kind label recorded as provenance
--provenance-json<PROVENANCE_JSON>Optional JSON provenance payload recorded with the adopted path

homeboy worktree queue-create

sh
homeboy worktree queue-create [OPTIONS] <REPO>

Create multiple task worktrees one-at-a-time with queue status JSON

ArgumentRequiredDescription
<REPO>yesRegistered component/repo handle, e.g. homeboy
OptionValueDescription
--branch<BRANCH>Branch to create. Repeat for fanout batches
--from<FROM>Base ref for each worktree branch
--task-url<TASK_URL>Task or issue URL associated with these worktrees
--task-ref<TASK_REF>Short task reference associated with these worktrees, e.g. Extra-Chill/homeboy#5786
--dry-runflagPrint the queue plan/status without creating worktrees
--retry-after-seconds<RETRY_AFTER_SECONDS>Suggested orchestrator wait when queueing is blocked but no retry-after value is available

homeboy worktree list

sh
homeboy worktree list

List persisted task worktrees

homeboy worktree status

sh
homeboy worktree status <ID>

Inspect one task worktree and its safety gates

ArgumentRequiredDescription
<ID>yesTask worktree ID, e.g. component@branch-slug

homeboy worktree remove

sh
homeboy worktree remove [OPTIONS] <ID>

Remove one task worktree after safety checks

ArgumentRequiredDescription
<ID>yesTask worktree ID, e.g. component@branch-slug
OptionValueDescription
--forceflagAllow dirty/unpushed worktree removal; hard gates still apply
--cleanup-branchflagDelete the local task branch after removing the worktree when branch safety allows it
--allow-unmerged-branchflagPermit deleting an unmerged task branch. Requires –cleanup-branch

homeboy worktree cleanup

sh
homeboy worktree cleanup [OPTIONS]

Remove cleanup-eligible task worktrees after safety checks

OptionValueDescription
--applyflagRemove planned worktrees and artifacts after safety checks. Without this flag, only reports the plan
--forceflagAllow dirty/unpushed worktree removal; hard gates still apply
--dry-runflagDeprecated plan-only alias retained for one release; bare cleanup also reports the plan
--cleanup-artifactsflagAlso remove declared rebuildable artifacts from the Homeboy checkout that built this binary
--cleanup-branchesflagDelete merged task branches for removed cleanup candidates
--allow-unmerged-branchesflagPermit deleting unmerged task branches. Requires –cleanup-branches

homeboy worktree quarantine

sh
homeboy worktree quarantine <COMMAND>

Inspect or explicitly reconcile quarantined malformed task-worktree records

SubcommandSummary
homeboy worktree quarantine listList quarantined records still protecting Cargo targets
homeboy worktree quarantine clearMark one quarantined record terminally reconciled while retaining its original evidence

homeboy worktree quarantine list

sh
homeboy worktree quarantine list

List quarantined records still protecting Cargo targets

homeboy worktree quarantine clear

sh
homeboy worktree quarantine clear [OPTIONS] <PROVENANCE_PATH>

Mark one quarantined record terminally reconciled while retaining its original evidence

ArgumentRequiredDescription
<PROVENANCE_PATH>yesProvenance sidecar reported by cleanup or worktree quarantine list
OptionValueDescription
--verified-terminalflagConfirms terminal state was independently verified before clearing protection