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:
parent
7fce4c9b3e
commit
6ced154124
35 changed files with 8380 additions and 67 deletions
|
|
@ -43,3 +43,19 @@ async def test_update_settings_toggle_skill():
|
|||
await client.update_settings("usr-1", action)
|
||||
settings = await client.get_settings("usr-1")
|
||||
assert settings.skills.get("browser") is True
|
||||
|
||||
|
||||
async def test_update_settings_toggle_skill_preserves_other_skills():
|
||||
client = MockPlatformClient()
|
||||
|
||||
initial = await client.get_settings("usr-1")
|
||||
initial_skill_names = set(initial.skills)
|
||||
|
||||
action = SettingsAction(action="toggle_skill", payload={"skill": "browser", "enabled": True})
|
||||
await client.update_settings("usr-1", action)
|
||||
|
||||
settings = await client.get_settings("usr-1")
|
||||
|
||||
assert set(settings.skills) == initial_skill_names
|
||||
assert settings.skills["browser"] is True
|
||||
assert settings.skills["web-search"] is True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue