From b4adf751c89d1dc0e5bd8972373e1dbb5573463b Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Fri, 9 Oct 2026 22:52:51 +0200 Subject: [PATCH] docs(16.1-03): update state and roadmap after plan 03 --- .planning/ROADMAP.md | 4 ++-- .planning/STATE.md | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.planning/ROADMAP.md b/.planning/ROADMAP.md index 0a18c03..0447bd3 100644 --- a/.planning/ROADMAP.md +++ b/.planning/ROADMAP.md @@ -982,7 +982,7 @@ Plans: **Goal:** The Journal posts list and post form in the admin work on real imported data, found on UAT (uat.grzybyfunkcjonalne.pl/gfadmin/golem15/journal/posts): (1) list search no longer fails with "Server error" — the Go log shows `ERROR: column Categories.post_id does not exist (SQLSTATE 42703)` from summercms@v0.1.9 modules/cabana/query.go:129, i.e. search across a belongsToMany (pivot) relation builds a hasMany join; (2) list sort and filters are remembered after opening a record and going back, as WinterCMS persisted list state; (3) the post form shows the stored content (DB has content/content_html on 104/104 posts, the form shows it empty); (4) the post form shows the stored excerpt (100/104 posts have it in the DB). Fixes span summercms.go core (modules/cabana — coordinate with the concurrent session working in modules/) and sm-journal-plugin; release a summercms tag, bump the host, redeploy to UAT and re-run the staging smoke. **Requirements**: TBD **Depends on:** Phase 16 -**Plans:** 2/3 plans executed +**Plans:** 3/3 plans executed Plans: **Wave 1** @@ -992,7 +992,7 @@ Plans: - [x] 16.1-02-PLAN.md — Release gate (human), summercms tag, journal and host bumps, UAT redeploy and on-server smoke, re-save posts 53 and 64 (D-04) **Wave 3** *(blocked on Wave 2 completion)* -- [ ] 16.1-03-PLAN.md — Unit tests: DryRun SQL matrix, locale order, FormatHTML keep/refuse, list-state vitest; Postgres tests for a Docker host; phase gate +- [x] 16.1-03-PLAN.md — Unit tests: DryRun SQL matrix, locale order, FormatHTML keep/refuse, list-state vitest; Postgres tests for a Docker host; phase gate ### Phase 16.2: Plugin-provided field types and the Blog Editor formwidget (INSERTED) diff --git a/.planning/STATE.md b/.planning/STATE.md index bbe188a..927b26f 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -3,17 +3,17 @@ msd_state_version: "1.0" milestone: v1.0 current_phase: "16.1" current_phase_name: "Journal admin urgent fixes: relation search, list state, post form content and excerpt (INSERTED)" -status: executing -stopped_at: Completed 16.1-02-PLAN.md -last_updated: "2026-10-09T20:37:35.138Z" +status: verifying +stopped_at: Completed 16.1-03-PLAN.md +last_updated: "2026-10-09T20:52:42.223Z" last_activity: 2026-10-09 last_activity_desc: Phase 16.1 execution started -state_head: 80f4497f95e157e543c692af7fd2aad431d3fc49 +state_head: 62025d22b3bffed3d8646627d699e489dafc7d3b progress: total_phases: 34 completed_phases: 13 total_plans: 151 - completed_plans: 146 + completed_plans: 147 gsd_state_version: "1.0" milestone_name: milestone --- @@ -31,7 +31,7 @@ See: .planning/PROJECT.md (updated 2026-09-16) Phase: 16.1 (Journal admin urgent fixes: relation search, list state, post form content and excerpt (INSERTED)) — EXECUTING Plan: 3 of 3 -Status: Ready to execute +Status: Phase complete — ready for verification Last activity: 2026-10-09 — Phase 16.1 execution started Progress: [██████████] 100% @@ -201,6 +201,7 @@ Progress: [██████████] 100% | Phase 16 P05 | 19 min | 3 tasks | 27 files | | Phase 16.1 P01 | 11 min | 4 tasks | 20 files | | Phase 16.1 P02 | 1h 26m | 3 tasks | 4 files | +| Phase 16.1 P03 | 12 min | 3 tasks | 8 files | ## Accumulated Context @@ -653,6 +654,7 @@ Recent decisions affecting current work: - [Phase 16.1]: 16.1-02: summercms v0.1.16 tagged on d77393b after the human chose docker-first; journal a675f2f and host cac2ee7 pushed; UAT redeployed - [Phase 16.1]: 16.1-02: UAT Go log checks read /var/log/supervisor/grzybyfunkcjonalne-go.log directly; supervisorctl tail fails on ANSI escapes in GORM log lines and makes grep-count checks vacuous - [Phase 16.1]: 16.1-02: D-01/D-03 end-of-phase UAT checks are human-reported but not independently confirmed; queued for /msd-verify-work +- [Phase 16.1]: FormatHTML refuse tests require an error and empty result for every unsafe input: with html.WithUnsafe the gate is the only XSS defence ### Pending Todos @@ -722,6 +724,6 @@ Items acknowledged and carried forward from previous milestone close: ## Session Continuity -Last session: 2026-10-09T20:37:34.462Z -Stopped at: Completed 16.1-02-PLAN.md +Last session: 2026-10-09T20:52:41.534Z +Stopped at: Completed 16.1-03-PLAN.md Resume file: None