/btw command leaks context from before /clear
Resolved 💬 2 comments Opened Jun 15, 2026 by ck1125 Closed Jun 19, 2026
Summary
The /btw slash command retains conversation context from a previous session even after /clear has been run, causing it to answer based on stale information.
Steps to reproduce
- Start a session, have some conversation (e.g. checking git branch/status)
- Run
/clearto reset the conversation - Run
/btw <question>— it answers as if/clearnever happened
Expected behaviour
/btw should answer based only on the current (post-clear) conversation context.
Actual behaviour
/btw leaks context from the cleared session. In the observed case, it described the wrong git branch (from the pre-clear session) when asked about the last interaction.
Environment
- Platform: macOS (Darwin 25.5.0)
- Shell: zsh
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗