Skip to content

prep-exit 0.4.0: add --close mode for a clean exit with no handoff - #83

Merged
vdsmon merged 1 commit into
mainfrom
feat/prep-exit-close
Oct 21, 2026
Merged

vdsmon merged 1 commit into
mainfrom
feat/prep-exit-close

Conversation

@vdsmon

@vdsmon vdsmon commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Sometimes I want to end a session for good, with no next session to pick it up. Today prep-exit always writes a handoff and a resume prompt, which is noise in that case. This adds a --close mode for a clean exit.

What changes

  • /prep-exit --close (or "clean exit", "no handoff") runs the same audit and saves, then writes no handoff and no resume prompt.
  • Findings go where they live for good: the project's notes, docs or issue tracker, else memory. The project memory entry is updated to today's state.
  • It ties up loose ends without asking: merged worktrees and their branches (checked with git merge-base --is-ancestor), the session's watches and crons, and finished background output.
  • Stopping a job that is still running still needs a yes.
  • The report lists Saved, Tied up and Still open (with where each open item is recorded). It does not call the cc-wrap-up band.
  • prep-exit goes to 0.4.0.

Tested

mise run verify passes (0 failures). mise run test passes all 4 offline suites. Not run live yet: reinstall the plugin to try it.

With --close the skill runs the same audit and saves, then writes no handoff and no resume prompt: findings go to the project's notes or memory, merged worktrees are removed, this session's watches and crons are cancelled, and the report lists what was saved, tied up and still open.
@vdsmon
vdsmon merged commit 2cb3838 into main Oct 21, 2026
1 check passed
@vdsmon
vdsmon deleted the feat/prep-exit-close branch October 21, 2026 13:37
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