From 76d055e720442baf30621be1585146444b23acbc Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Sat, 17 Oct 2026 22:42:11 +0200 Subject: [PATCH] docs(phase-19): complete Chat and ChatChannels execution Gap closure closed the DM write-IDOR and GDPR CASCADE blockers; verification is 26/26. Co-authored-by: Cursor --- .planning/ROADMAP.md | 4 ++-- .planning/STATE.md | 41 +++++++++++++++++++++++------------------ .planning/state.json | 13 +++++++++---- 3 files changed, 34 insertions(+), 24 deletions(-) diff --git a/.planning/ROADMAP.md b/.planning/ROADMAP.md index b4984614..5d68fd6b 100644 --- a/.planning/ROADMAP.md +++ b/.planning/ROADMAP.md @@ -32,7 +32,7 @@ Decimal phases appear between their surrounding integers in numeric order. - [x] **Phase 16: grzybyfunkcjonalne.pl on reusable blog views** - First blog on SummerCMS (completed 2026-10-09) - [x] **Phase 17: Blog companions** - Port sitemap, menu and FAQ as shared plugins, with a framework menu-item type registry (completed 2026-10-13) - [x] **Phase 18: Payment Gateway** - Port Golem15.PaymentGateway and its Stripe operator, with Horoskopia as the acceptance consumer (completed 2026-10-14) -- [ ] **Phase 19: Chat and ChatChannels** - Port Golem15.Chat and Golem15.ChatChannels on lighthouse +- [x] **Phase 19: Chat and ChatChannels** - Port Golem15.Chat and Golem15.ChatChannels on lighthouse (completed 2026-10-17) - [ ] **Phase 19.1: Chat satellites** - Port chatbots, chatvideo, forum, herald and userfriends - [ ] **Phase 19.2: Chat polish against WavePath clients** - Replay WavePath's chat traffic through `tide` against the ported chat plugins until green - [ ] **Phase 19.3: Framework transport and infrastructure for WavePath** - Cookie refresh, credentialed CORS, cache and Redis rate limits, S3 option, OpenAPI page, Turnstile @@ -1423,7 +1423,7 @@ Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → | 17. Blog companions | 6/6 | Complete | 2026-10-13 | | 18. Payment Gateway | 8/8 | Complete | 2026-10-14 | | 18.1. Payment Gateway Subscriptions | 9/9 | Complete | 2026-10-16 | -| 19. Chat and ChatChannels | 5/5 | In Progress| | +| 19. Chat and ChatChannels | 7/7 | Complete | 2026-10-17 | | 19.1. Chat satellites | 0/TBD | Not started | - | | 19.2. Chat polish against WavePath clients | 0/TBD | Not started | - | | 19.3. Framework transport and infrastructure for WavePath | 6/6 | In Progress| | diff --git a/.planning/STATE.md b/.planning/STATE.md index e57e0bbb..4c4fc457 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -1,19 +1,20 @@ --- msd_state_version: "1.0" milestone: v1.0 -current_phase: 19 -current_phase_name: Chat and ChatChannels -status: executing -stopped_at: Phase 18.1 complete, ready to plan Phase 19 -last_updated: "2026-10-17T18:30:57.654Z" -last_activity: 2026-10-16 -last_activity_desc: Phase 18.1 complete, transitioned to Phase 19 -state_head: f3dcbd6625d17d6e03c09d012d8d7f397677f343 +current_phase: "19.1" +current_phase_name: Chat satellites +status: planning +stopped_at: Phase 19 complete, ready to plan Phase 19.1 +last_updated: "2026-10-17T20:41:56.027Z" +last_activity: 2026-10-17 +last_activity_desc: Phase 19 complete, transitioned to Phase 19.1 +state_head: d69a3d409eff912462daa4917250a572596ead58 progress: total_phases: 41 - completed_phases: 32 - total_plans: 196 - completed_plans: 191 + completed_phases: 33 + total_plans: 198 + completed_plans: 198 + percent: 80 gsd_state_version: "1.0" milestone_name: milestone --- @@ -25,14 +26,14 @@ milestone_name: milestone See: .planning/PROJECT.md (updated 2026-10-12) **Core value:** An existing WinterCMS-shaped app can be ported plugin by plugin to a single Go binary without its frontend noticing: the PHP version's API contract is the acceptance test. -**Current focus:** Phase 19 — Chat and ChatChannels (Phase 19.3 is being worked on in its own session) +**Current focus:** Phase 19 — Chat and ChatChannels ## Current Position -Phase: 19 (Chat and ChatChannels) — READY TO EXECUTE +Phase: 19.1 — Chat satellites Plan: Not started -Status: Ready to execute -Last activity: 2026-10-16 — Phase 18.1 complete, transitioned to Phase 19 +Status: Ready to plan +Last activity: 2026-10-17 — Phase 19 complete, transitioned to Phase 19.1 Progress: [████████░░] 80% @@ -40,7 +41,7 @@ Progress: [████████░░] 80% **Velocity:** -- Total plans completed: 88 +- Total plans completed: 95 - Average duration: 21 min - Total execution time: 104 min @@ -63,6 +64,7 @@ Progress: [████████░░] 80% | 16.3 | 4 | - | - | | 14.2 | 4 | - | - | | 18.1 | 9 | - | - | +| 19 | 7 | - | - | **Recent Trend:** @@ -249,6 +251,7 @@ Progress: [████████░░] 80% | Phase 18.1 P07 | 20 min | 3 tasks | 18 files | | Phase 18.1 P08 | 24 min | 4 tasks | 30 files | | Phase 18.1 P09 | 60min | 5 tasks | 27 files | +| Phase 19 P01 | 80min | 3 tasks | 34 files | ## Accumulated Context @@ -843,6 +846,8 @@ Recent decisions affecting current work: - [Phase 18.1]: 18.1-08: customer checkouts go through Service.CheckoutGuarded (per-subscriber advisory lock, 409 for any open subscription) plus Stripe idempotency keys (10-minute window, parameter hash); users.stripe_customer_id is first-write-wins - [Phase 18.1]: 18.1-08: framework pact.AdminBulkAction.Detached (opt-in, json:"-") runs a bulk action outside the cabana transaction; plan sync uses it; needs framework tag v0.1.27 at plan 09 - [Phase 18.1]: 18.1-09: framework release tag is v0.2.1 (v0.1.27 and v0.2.0 already on origin); first plugin tags pgsub v0.1.0 and pgstripe v0.1.0, pgstripe requires pgsub v0.1.0, replace lines kept +- [Phase 19]: 19-01: Task 1 reply proceed-and-push; sm-chat-plugin created and main pushed at b93cae7 +- [Phase 19]: 19-01: D-01 names, D-04 baseline 202610160001_create_golem15_chat_baseline, D-12 rewrite-as-both locked ### Pending Todos @@ -925,6 +930,6 @@ Items acknowledged and carried forward from previous milestone close: ## Session Continuity -Last session: 2026-10-16T11:56:16.182Z -Stopped at: Phase 18.1 complete, ready to plan Phase 19 +Last session: 2026-10-17T18:59:55.108Z +Stopped at: Phase 19 complete, ready to plan Phase 19.1 Resume file: None diff --git a/.planning/state.json b/.planning/state.json index ac9ab1c6..61b28cc6 100644 --- a/.planning/state.json +++ b/.planning/state.json @@ -166,7 +166,7 @@ { "number": "19", "name": "Chat and ChatChannels", - "status": "pending" + "status": "complete" }, { "number": "19.1", @@ -198,6 +198,11 @@ "name": "Two-factor auth and device flow in sm-user-plugin", "status": "pending" }, + { + "number": "19.7", + "name": "Generic MCP module", + "status": "pending" + }, { "number": "20", "name": "Płytarium cutover", @@ -206,8 +211,8 @@ ], "next": { "command": "/msd:progress --next", - "label": "Advance to the next step", - "reason": "Phase 19 of 40 · executing" + "label": "Advance to the next step (plan phase 19.1)", + "reason": "Phase 19.1 of 41 — needs a plan" }, - "updated_at": "2026-10-17T18:30:33.226Z" + "updated_at": "2026-10-17T20:41:56.065Z" }