Skip to content

Session Find Uncommitted

How to invoke and present uncommitted session results — per-entry format and follow-up suggestion

When to use

user asks which sessions left uncommitted changes, or wants to audit agent writes

Slash command: /wb-session-find-uncommitted

  • context/session_uncommitted

Directions

Find which agent sessions wrote files that are still uncommitted.

Run mcp__work-buddy__wb_run("session_uncommitted") with optional days parameter (default 7).

For each result entry, report: - The session ID (8-char prefix is enough for session_get / session_search lookups) - The repo name - The dirty files and their git status (M = modified, ?? = untracked)

If any sessions besides the current one have uncommitted changes, suggest the user resume those sessions to commit or discard the changes.