node.reap_worktrees
Finished git worktrees, removed safely: only when the commits are on the default branch or the PR merged, nothing is uncommitted or untracked, no process is inside, it is not locked, no editable install points into it and its last git activity is old enough. Ignored state beyond regenerable caches is archived (tar.gz plus manifest) before removal, and a failed archive blocks removal. Branches are always kept. Plans by default and says why each other worktree was skipped; apply=true removes up to a batch.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- node.reap_worktrees
- inputs
- [ { "name": "root", "type": "workspace directory to sweep (defaults to the configured roots, else the current directory)" }, { "name": "apply", "type": "remove what the plan lists, up to the batch size (default: plan only)" }, { "name": "min_age_hours", "type": "least hours since last git activity (default 24)" }, { "name": "batch", "type": "most worktrees removed per run (default 5)" }, { "name": "retention_days", "type": "days an archive is kept (default 30)" } ]
- outputs
- [ { "kind": "SkillResult" } ]
- version
- 0.1.0
- generator
- axi-skills-emit-md
- description
- Finished git worktrees, removed safely: only when the commits are on the default branch or the PR merged, nothing is uncommitted or untracked, no process is inside, it is not locked, no editable install points into it and its last git activity is old enough. Ignored state beyond regenerable caches is archived (tar.gz plus manifest) before removal, and a failed archive blocks removal. Branches are always kept. Plans by default and says why each other worktree was skipped; apply=true removes up to a batch.
- allowed-tools
- []
03 SKILL.md 正文
Skill node.reap_worktrees — see registration in the providing extension's skills/__init__.py. This SKILL.md is generated by axi skills emit-md (ADR-063); edit the Python SkillSpec to change it.
04 同仓库更多 Skills
library.transfer
Make someone already on a Library file's or folder's access list its Owner; you become an Editor and it stays where it is filed.
share
暂无简介
library.request
Ask the Owner for access to a Library file or folder (works from its address alone, which reveals nothing), see or withdraw your request, remind once a day; or, as someone who may share it, list its requests and approve (with the role you choose) or decline with a reason.
access
暂无简介
release.unlock
Lift the release lock now: re-arm the pull requests it disarmed, comment, clear the repository marker, and tell the roster.
release.lock_status
Whether a release lock is held on a repository, by whom, why, until when, and which pull requests it disarmed. Reads the local state file and the repo marker.