treeman
v0.1.0Map parallel-agent git worktrees to owners and plan safe cleanup from supplied facts.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
plan_worktrees
Plan parallel-agent git worktrees from caller-supplied worktree facts: the ownership map, each tree's status, and which trees are safe to remove. Returns the plan only; git and the filesystem are never touched.
| Parameter | Type | Description |
|---|---|---|
stale_days * | integer | Inactivity threshold in days; beyond it a worktree is stale |
worktrees * | array | Worktrees to plan, in the caller's order |
main_path | string | Path of the primary worktree, which is never cleaned up (optional) |