story-kit: done 351_story_bot_reset_command_to_clear_conversation_context
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
---
|
||||
name: "Bot reset command to clear conversation context"
|
||||
---
|
||||
|
||||
# Story 351: Bot reset command to clear conversation context
|
||||
|
||||
## User Story
|
||||
|
||||
As a project owner in a chat room, I want to type "{bot_name} reset" to drop the current Claude Code session and start fresh, so that I can reduce token usage when context gets bloated without restarting the server.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] '{bot_name} reset' kills the current Claude Code session
|
||||
- [ ] A new session starts immediately with clean context
|
||||
- [ ] Memories persist via the file system (auto-memory directory is unchanged)
|
||||
- [ ] Bot confirms the reset with a short message
|
||||
- [ ] Registered in the command registry so it appears in help output
|
||||
- [ ] Handled at bot level without LLM invocation
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- TBD
|
||||
@@ -1,30 +0,0 @@
|
||||
---
|
||||
name: "Ambient on/off command not intercepted by bot after refactors"
|
||||
---
|
||||
|
||||
# Bug 352: Ambient on/off command not intercepted by bot after refactors
|
||||
|
||||
## Description
|
||||
|
||||
The ambient on/off bot command stopped being intercepted by the bot after the recent refactors (328 split commands.rs into modules, 330 consolidated chat transports into chat/ module). Messages like "timmy ambient off", "ambient off", and "ambient on" are being forwarded to the LLM instead of being handled at the bot level. The ambient toggle was previously handled in bot.rs before the command registry dispatch — it may not have been properly wired up after the code was moved to the chat/ module structure.
|
||||
|
||||
## How to Reproduce
|
||||
|
||||
1. Type "timmy ambient off" in a Matrix room where ambient mode is on
|
||||
2. Observe that the message is forwarded to Claude instead of being intercepted
|
||||
3. Same for "timmy ambient on", "ambient off", "ambient on"
|
||||
|
||||
## Actual Result
|
||||
|
||||
Ambient toggle commands are forwarded to the LLM as regular messages.
|
||||
|
||||
## Expected Result
|
||||
|
||||
Ambient toggle commands should be intercepted at the bot level and toggle ambient mode without invoking the LLM, with a confirmation message sent directly.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] 'timmy ambient on' toggles ambient mode on and sends confirmation without LLM invocation
|
||||
- [ ] 'timmy ambient off' toggles ambient mode off and sends confirmation without LLM invocation
|
||||
- [ ] Ambient toggle works after refactors 328 and 330
|
||||
- [ ] Ambient state persists in bot.toml as before
|
||||
Reference in New Issue
Block a user