docs(05-02): complete room-local clear plan
- add execution summary for room-local clear and strict routing - update roadmap and state with plan 05-02 completion metadata
This commit is contained in:
parent
22a3a2b60a
commit
e73e13e758
3 changed files with 133 additions and 13 deletions
|
|
@ -3,12 +3,12 @@ gsd_state_version: 1.0
|
|||
milestone: v1.0
|
||||
milestone_name: — Production-ready surfaces
|
||||
status: Executing Phase 05
|
||||
last_updated: "2026-04-27T22:06:43.419Z"
|
||||
last_updated: "2026-04-27T22:15:58Z"
|
||||
progress:
|
||||
total_phases: 6
|
||||
completed_phases: 2
|
||||
completed_phases: 3
|
||||
total_plans: 16
|
||||
completed_plans: 10
|
||||
completed_plans: 13
|
||||
---
|
||||
|
||||
# State
|
||||
|
|
@ -24,12 +24,19 @@ See: .planning/PROJECT.md (updated 2026-04-02)
|
|||
|
||||
**Phase 05** in progress: MVP deployment hardening
|
||||
|
||||
Plan `05-03` is complete. Shared-volume attachment handling now keeps Matrix file references room-safe on disk and relative across the `/agents` deployment boundary.
|
||||
Plan `05-01` is complete. Matrix startup now reconciles managed Space rooms from synced topology before live traffic, restoring local metadata and deterministic legacy `platform_chat_id` bindings on restart.
|
||||
|
||||
- `cafb0ec` — failing regressions for `/agents` workspace paths and send-file normalization
|
||||
- `9a03160` — runtime normalization of `/workspace` and `/agents` absolute paths back to relative `workspace_path` values
|
||||
- `a75b26a` — failing restart reconciliation regressions for recovery, idempotence, startup ordering, and legacy backfill
|
||||
- `8a80d00` — startup reconciliation module and pre-sync wiring in the Matrix runtime
|
||||
|
||||
Verified with `UV_CACHE_DIR=/tmp/uv-cache uv run pytest tests/adapter/matrix/test_files.py tests/platform/test_real.py tests/adapter/matrix/test_send_outgoing.py -v`.
|
||||
Verified with `MATRIX_AGENT_REGISTRY_PATH='' MATRIX_PLATFORM_BACKEND='' UV_CACHE_DIR=/tmp/uv-cache-surfaces uv run pytest tests/adapter/matrix/test_invite_space.py tests/adapter/matrix/test_chat_space.py tests/adapter/matrix/test_reconciliation.py tests/adapter/matrix/test_restart_persistence.py tests/adapter/matrix/test_dispatcher.py -v`.
|
||||
|
||||
Plan `05-02` is complete. Matrix room-local context commands now rely on repaired per-room `platform_chat_id` bindings, and `!clear` rotates only the active room's upstream context when prototype room state is available.
|
||||
|
||||
- `ae37476` — failing regressions for clear registration, room-local rotation, and strict routed-platform metadata requirements
|
||||
- `85e2fda` — room-local clear semantics, compatibility alias wiring, and strict context resolution without shared chat fallbacks
|
||||
|
||||
Verified with `MATRIX_AGENT_REGISTRY_PATH='' MATRIX_PLATFORM_BACKEND='' UV_CACHE_DIR=/tmp/uv-cache-surfaces uv run pytest tests/adapter/matrix/test_context_commands.py tests/adapter/matrix/test_routed_platform.py tests/adapter/matrix/test_dispatcher.py -v`.
|
||||
|
||||
## Decisions
|
||||
|
||||
|
|
@ -59,6 +66,11 @@ Verified with `UV_CACHE_DIR=/tmp/uv-cache uv run pytest tests/adapter/matrix/tes
|
|||
- [Phase 05 reset]: Discard the single-chat / DM-first deployment direction. Replan around Space+rooms, per-room `platform_chat_id`, real `!clear`, reconciliation, and split prod/fullstack compose artifacts.
|
||||
- [Phase 05]: Keep adapter/matrix/files.py as the sole path builder; sdk/real.py only normalizes shared-volume attachment references.
|
||||
- [Phase 05]: Normalize /workspace and /agents absolute file paths back to relative workspace_path values before agent transport and Matrix file rendering.
|
||||
- [Phase 05]: Treat synced Matrix topology as authoritative for startup recovery; keep SQLite rebuildable.
|
||||
- [Phase 05]: Backfill missing platform_chat_id values during startup reconciliation before routed handling begins.
|
||||
- [Phase 05]: Expose `clear` only when prototype room-context support is available, while keeping `reset` as a compatibility alias.
|
||||
- [Phase 05]: Require recovered `platform_chat_id` for save/context/clear flows instead of falling back to shared local chat ids.
|
||||
- [Phase 05]: Split Compose artifacts by runtime intent: bot-only prod handoff vs internal full-stack verification.
|
||||
|
||||
## Blockers
|
||||
|
||||
|
|
@ -88,9 +100,11 @@ Verified with `UV_CACHE_DIR=/tmp/uv-cache uv run pytest tests/adapter/matrix/tes
|
|||
| 04 | 03 | 1 session | 1 commit + summary | 4 | 2026-04-17 |
|
||||
| 04 | follow-up | 1 session | 5 tasks | 10+ | 2026-04-24 |
|
||||
| 05 | 03 | 3 min | 2 | 3 | 2026-04-27T22:06:43Z |
|
||||
| 05 | 01 | 8 min | 2 | 4 | 2026-04-27T22:09:28Z |
|
||||
| 05 | 02 | 16 min | 2 | 4 | 2026-04-27T22:15:58Z |
|
||||
|
||||
## Session
|
||||
|
||||
- Last session: 2026-04-27T22:06:43Z
|
||||
- Stopped at: Completed 05-03-PLAN.md
|
||||
- Last session: 2026-04-27T22:15:58Z
|
||||
- Stopped at: Completed 05-02-PLAN.md
|
||||
- Resume file: .planning/phases/05-mvp-deployment/.continue-here.md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue