diff --git a/.planning/config.json b/.planning/config.json index b1c95a9..570c45c 100644 --- a/.planning/config.json +++ b/.planning/config.json @@ -1,5 +1,5 @@ { - "model_profile": "balanced", + "model_profile": "budget", "commit_docs": true, "parallelization": true, "search_gitignored": false, diff --git a/.planning/phases/01-matrix-qa-polish/01-02-PLAN.md b/.planning/phases/01-matrix-qa-polish/01-02-PLAN.md index 1f5e277..d924add 100644 --- a/.planning/phases/01-matrix-qa-polish/01-02-PLAN.md +++ b/.planning/phases/01-matrix-qa-polish/01-02-PLAN.md @@ -13,7 +13,7 @@ must_haves: truths: - "!new creates a room and adds it to the user's Space via room_put_state" - "!new without space_id returns an error message (not a crash)" - - "!archive removes room from Space via room_put_state with empty content" + - "!archive archives the chat via chat_mgr.archive; Space child removal (room_put_state) deferred to Phase 2 — requires reverse room_id lookup not available" - "!rename calls client.room_set_name if client available" - "RoomCreateError is handled gracefully with user-facing message" artifacts: diff --git a/.planning/phases/01-matrix-qa-polish/01-03-PLAN.md b/.planning/phases/01-matrix-qa-polish/01-03-PLAN.md index 479fb2a..949e4e4 100644 --- a/.planning/phases/01-matrix-qa-polish/01-03-PLAN.md +++ b/.planning/phases/01-matrix-qa-polish/01-03-PLAN.md @@ -3,7 +3,7 @@ phase: 01-matrix-qa-polish plan: 03 type: execute wave: 2 -depends_on: ["01-01"] +depends_on: ["01-01", "01-02"] files_modified: - adapter/matrix/bot.py - adapter/matrix/reactions.py diff --git a/.planning/phases/01-matrix-qa-polish/01-04-PLAN.md b/.planning/phases/01-matrix-qa-polish/01-04-PLAN.md index e30dbda..969beb3 100644 --- a/.planning/phases/01-matrix-qa-polish/01-04-PLAN.md +++ b/.planning/phases/01-matrix-qa-polish/01-04-PLAN.md @@ -524,8 +524,8 @@ async def test_mat05_new_chat_without_space_id_returns_error(): client.room_create.assert_not_awaited() -async def test_mat10_archive_calls_chat_mgr(): - """MAT-10: !archive archives via chat_mgr.""" +async def test_mat10_archive_calls_chat_mgr_archive(): + """MAT-10: !archive archives chat via chat_mgr.archive (Space removal deferred).""" platform, store, chat_mgr, auth_mgr, settings_mgr = await _setup() handler = make_handle_archive(None, store) diff --git a/.planning/phases/01-matrix-qa-polish/01-VALIDATION.md b/.planning/phases/01-matrix-qa-polish/01-VALIDATION.md index 8df7613..7f94024 100644 --- a/.planning/phases/01-matrix-qa-polish/01-VALIDATION.md +++ b/.planning/phases/01-matrix-qa-polish/01-VALIDATION.md @@ -47,7 +47,7 @@ created: 2026-04-02 | MAT-07 | 03 | 1 | OutgoingUI does NOT send m.reaction | unit | `pytest tests/adapter/matrix/test_send_outgoing.py -x -q` | ⬜ pending | | MAT-08 | 03 | 1 | pending_confirm store roundtrip | unit | `pytest tests/adapter/matrix/test_store.py -x -q` | ⬜ pending | | MAT-09 | 03 | 2 | !yes/!no reads pending_confirm | unit | `pytest tests/adapter/matrix/test_confirm.py -x -q` | ⬜ pending | -| MAT-10 | 02 | 2 | !archive calls room_put_state empty | unit | `pytest tests/adapter/matrix/test_chat_space.py -x -q` | ⬜ pending | +| MAT-10 | 02 | 2 | !archive archives chat via chat_mgr.archive (Space removal deferred) | unit | `pytest tests/adapter/matrix/test_chat_space.py -x -q` | ⬜ pending | | MAT-11 | 04 | 2 | !settings returns dashboard | unit | `pytest tests/adapter/matrix/test_dispatcher.py -x -q` | ⬜ pending | | MAT-12 | 02 | 1 | RoomCreateError → user message | unit | `pytest tests/adapter/matrix/test_chat_space.py -x -q` | ⬜ pending |