Repository navigation
feat: remove the Telegram /reset command - #284
Merged
Merged
Conversation
Sessions mean nothing to pilots (owner msg #6598). /reset leaves the owner command list and the BotFather menu; a /reset message is now a plain message to the bot, like any unknown command. The operator path (axe bot reset, POST /api/bots/NAME/reset) stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Axe task 2463. Owner msg #6598: "we don't need /reset command. sessions are meaningless to users in axe context".
Change
crates/axe-telegram/src/telegram.rs:resetleavesOWNER_COMMANDS(13 -> 12), sosetMyCommandsstops publishing it to the BotFather menu, and itsowner_commandarm is gone. A/resetmessage no longer parses as an owner command. Like any unknown/text, it is stored as a plain message and wakes the bot. No command reply and no bot change.docs/user/primitives/bot.md: the Telegram-mirrored controls arepause/resume/stop.axe bot reset NAMEis listed separately as operator only.crates/axe/tests/telegram.rs):/reset.resetas retired./resetis a plain stored message that wakes the bot, with no reply and noresetevent.Kept: the operator path
axe bot reset(CLI,crates/axe/src/cli.rs) ->POST /api/bots/NAME/reset(crates/axe-server/src/server.rs) ->bot_change(.., "reset")(crates/axe-core/src/bot.rs) is unchanged. It does not depend on Telegram, and operators still need it to clear a stuck or poisoned bot session.crates/axe/tests/bots.rskeeps covering it.Companion Harvis docs PR: popodidi/harvis#2840 (telegram skill and axe-bots runbook).
🤖 Generated with Claude Code