Skip to content

refactor(telegram): remove low-value read-only commands#106

Merged
asiniscalchi merged 1 commit into
mainfrom
refactor/trim-telegram-commands
Jun 13, 2026
Merged

refactor(telegram): remove low-value read-only commands#106
asiniscalchi merged 1 commit into
mainfrom
refactor/trim-telegram-commands

Conversation

@asiniscalchi

Copy link
Copy Markdown
Owner

Drop the /status, /stats, /last, /today, and /recent commands. They mostly re-displayed entries the user can already scroll to in chat, or exposed vanity counters, and carried a disproportionate amount of support code.

Removes the commands from the Telegram adapter and JournalCommand enum, their service handlers, and all code left dead only by their removal: the status report module, the JournalService status/embedding-config builder methods and their app.rs wiring, the unused fetch_last_for_conversation and stats repository methods, and the JournalStats type. Tests that relied on the removed commands to verify behaviour (undo isolation, multiuser routing) now assert against the database directly.

Drop the /status, /stats, /last, /today, and /recent commands. They
mostly re-displayed entries the user can already scroll to in chat, or
exposed vanity counters, and carried a disproportionate amount of
support code.

Removes the commands from the Telegram adapter and JournalCommand enum,
their service handlers, and all code left dead only by their removal:
the status report module, the JournalService status/embedding-config
builder methods and their app.rs wiring, the unused fetch_last_for_conversation
and stats repository methods, and the JournalStats type. Tests that
relied on the removed commands to verify behaviour (undo isolation,
multiuser routing) now assert against the database directly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@asiniscalchi asiniscalchi merged commit 3ff7806 into main Jun 13, 2026
3 checks passed
@asiniscalchi asiniscalchi deleted the refactor/trim-telegram-commands branch June 13, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant