feat(telegram): обязательный alias для бриджинга - #34
Merged
Conversation
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…nFeedback Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…-нарровингу mypy не сужает объявленный Optional[UserSettings] после присваивания не-Optional значения (в отличие от pyright); без аннотации сужение работает по ветке if/else как положено. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Flexlug
force-pushed
the
worktree-config-example-review
branch
from
July 4, 2026 13:11
5ea0ff3 to
4ebc8e8
Compare
_delete_after в commands/framework.py и новый _delete_reply_after в reactions.py делали одно и то же — единый примитив для самоудаляющихся служебных сообщений бота. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 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.
Summary
on_message, сразу после проверкиis_disabled.require_alias: bool = TrueвTelegramCommandsConfig; действует для всех ролей без исключений (OWNER включительно)./set_alias(личка с ботом, т.к. командный роутерprivate_only=True).Дизайн и план:
docs/superpowers/specs/2026-07-04-require-alias-design.md,docs/superpowers/plans/2026-07-04-require-alias.md.Test plan
pytest -q— 361 passedruff check— cleanmypy lora_bridge— cleantests/test_telegram_require_alias.py, доп. кейсы вtest_telegram_reactions.pyиtest_config_schema.py