---
name: /btw Side Question Slash Command
---

## User Story

As a user, I want to ask the agent a quick side question using `/btw` so that I can get a fast answer from the current conversation context without disrupting the main chat thread.

## Acceptance Criteria

- [ ] User can type `/btw <question>` in the chat input
- [ ] The agent answers using the full conversation history as context
- [ ] The question and response are displayed in a dismissible overlay, not in the main chat thread
- [ ] The question and response are not added to the conversation history
- [ ] No tool calls are made when answering a `/btw` question — the agent responds only from what is already in context
- [ ] The overlay can be dismissed with Escape, Enter, or Space
- [ ] `/btw` can be invoked while the agent is actively processing a response without interrupting it
- [ ] The slash command detection and dispatch mechanism must be reusable — build a shared parser/router so future slash commands (e.g. /help, /status) can plug in without duplicating detection logic

## Out of Scope

- Follow-up turns within the side question
- Tool usage in side question responses
- Persisting side question history

## Rejection Notes

**2026-03-14:** Previous implementation was rejected. The frontend did nothing when the user typed `/btw` — the slash command was not wired up in the UI at all. The backend may have had changes but the feature was non-functional from the user's perspective. Ensure the full end-to-end flow works: typing `/btw <question>` in the chat input must visibly trigger the overlay with a response.
