feat(matrix): land QA follow-ups and refresh docs

- harden Matrix onboarding/chat lifecycle after manual QA
- refresh README and Matrix docs to match current behavior
- add local ignores for runtime artifacts and include current planning/report docs

Closes #7
Closes #9
Closes #14
This commit is contained in:
Mikhail Putilovskij 2026-04-05 19:08:58 +03:00
parent 7fce4c9b3e
commit 6ced154124
35 changed files with 8380 additions and 67 deletions

View file

@ -4,6 +4,25 @@ from adapter.matrix.reactions import build_skills_text
from core.protocol import IncomingCommand, OutgoingMessage, SettingsAction
HELP_TEXT = "\n".join(
[
"Команды",
"",
"!new [название] создать новый чат",
"!chats список активных чатов",
"!rename <название> переименовать текущий чат",
"!archive архивировать текущий чат",
"!settings общий обзор настроек",
"!skills список навыков",
"!soul [поле значение] показать или изменить личность",
"!safety [триггер on/off] показать или изменить безопасность",
"!status краткий статус",
"!whoami показать ваш id",
"!yes / !no подтвердить или отменить действие",
]
)
def _render_mapping(title: str, data: dict | None) -> str:
data = data or {}
lines = [title]
@ -66,6 +85,12 @@ async def handle_settings(
return [OutgoingMessage(chat_id=event.chat_id, text=dashboard)]
async def handle_help(
event: IncomingCommand, auth_mgr, platform, chat_mgr, settings_mgr
) -> list:
return [OutgoingMessage(chat_id=event.chat_id, text=HELP_TEXT)]
async def handle_settings_skills(
event: IncomingCommand, auth_mgr, platform, chat_mgr, settings_mgr
) -> list: