Files
agent-tools/internal/agent
unkin-agent 4bbeaae8f0
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
add agentws prune
Agents leave their managed worktrees behind, and `agentws rm` takes one path at
a time with no idea whether a branch's work is safely upstream, so clearing an
accumulation by hand risks destroying unmerged commits.

- classify every managed worktree: dirty, PR open, upstream, or unproven
- remove only what is safe; delete the local branch only when work is upstream
- prove "upstream" with merge-base and git cherry, so squash merges count
- match a PR by head.label, which survives the branch deletion a merge does
- dry run by default; --yes applies, --keep-branches spares every branch
- read the Gitea path from origin's URL rather than assuming the owner
2026-09-09 23:41:09 +10:00
..
2026-09-09 23:41:09 +10:00
2026-09-09 23:41:09 +10:00
2026-09-09 23:41:09 +10:00
2026-09-09 23:41:09 +10:00
2026-09-09 23:41:09 +10:00
2026-09-09 23:41:09 +10:00