CLI command
jeden worktree clear
Remove stale, safely bounded Git worktrees owned by Jeden.
Exact invocation#
jeden worktree clear [--dry-run] [--json] [--cwd path]Inputs and options#
- Optional:
--dry-run,--json, and repository--cwd.
Output and state effect#
Evaluates stale managed worktrees and either reports the removal plan or runs git worktree remove, returning removed and skipped rows with reasons.
Refusals and boundaries#
- The command refuses removal outside canonical Jeden-managed roots and never removes the current checkout or repository top level.
- Live or unknown task ownership is kept; Git removal failures are reported as skipped, not silently counted as removed.