Skip to content

feat: add vole agent leftover cleanup command - #154

Merged
wukongnotnull merged 9 commits into
mainfrom
feat/v3-t3-agent
Sep 2, 2026
Merged

feat: add vole agent leftover cleanup command#154
wukongnotnull merged 9 commits into
mainfrom
feat/v3-t3-agent

Conversation

@wukongnotnull

Copy link
Copy Markdown
Owner

Summary

  • Add a new top-level vole agent command that plans leftover agent containers, sessions, and caches, then applies through the existing trash funnel (no second delete path).
  • Deduplicate agent leftovers against leftover Git worktrees so worktree still owns whole checkouts and agent does not double-count them.
  • Wire Home item 7 (Agent, digit 7) and extend the command-surface probe / CLI tests so --help lists agent only because it is actually shipped.

Test plan

  • cargo test -p vole-cli --test agent_cli --test interactive_cli --test plan_alias_cli
  • ./scripts/check-command-surface.sh --enforce includes agent
  • vole agent --plan lists leftovers and skips worktree-owned checkouts
  • vole agent --apply <plan.json> moves selected items to Trash via the existing funnel
  • Interactive Home shows item 7 Agent; items 1–6 unchanged; digit 7 opens agent
  • macOS CI (fmt, clippy, tests) is green

Made with Cursor

wukongnotnull and others added 6 commits September 2, 2026 15:54
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
wukongnotnull and others added 2 commits September 2, 2026 16:40
Absolute July 2026 mtimes aged past OlderThanDays(30) and selected the "fresh" dir.

Co-authored-by: Cursor <cursoragent@cursor.com>
…hecks

Apply no longer mutates process cwd; plan sizes default to timed du; git discovery walks once against the 15s budget.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep both worktree and agent in --help coverage, and keep both
coverage-note sentences from T2 hints long-tail and T3 agent.

Co-authored-by: Cursor <cursoragent@cursor.com>
@wukongnotnull
wukongnotnull merged commit 906936c into main Sep 2, 2026
5 checks passed
@wukongnotnull
wukongnotnull deleted the feat/v3-t3-agent branch September 2, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant