From 3b8527b39739a34eaee540d1ec0458966146a91c Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Fri, 9 Oct 2026 22:37:49 +0200 Subject: [PATCH] docs(16.1-02): update state and roadmap after plan 02 --- .planning/ROADMAP.md | 4 ++-- .planning/STATE.md | 18 +++++++++++------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.planning/ROADMAP.md b/.planning/ROADMAP.md index ef7ea43..0a18c03 100644 --- a/.planning/ROADMAP.md +++ b/.planning/ROADMAP.md @@ -982,14 +982,14 @@ 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:** 1/3 plans executed +**Plans:** 2/3 plans executed Plans: **Wave 1** - [x] 16.1-01-PLAN.md — All fixes: cabana relation search and to-many sort through EXISTS/correlated subqueries (D-02), default locale first in form enabledLocales (D-03), Journal FormatHTML keeps raw HTML behind the gate (D-03), admin list state in the URL and browser storage (D-01) **Wave 2** *(blocked on Wave 1 completion)* -- [ ] 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) +- [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 diff --git a/.planning/STATE.md b/.planning/STATE.md index dd2d3fa..bbe188a 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -4,16 +4,16 @@ 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-01-PLAN.md -last_updated: "2026-10-09T19:05:48.037Z" +stopped_at: Completed 16.1-02-PLAN.md +last_updated: "2026-10-09T20:37:35.138Z" last_activity: 2026-10-09 last_activity_desc: Phase 16.1 execution started -state_head: 0ec2e31ffa19b38470109a4ff0eefa518ec0e803 +state_head: 80f4497f95e157e543c692af7fd2aad431d3fc49 progress: total_phases: 34 completed_phases: 13 total_plans: 151 - completed_plans: 145 + completed_plans: 146 gsd_state_version: "1.0" milestone_name: milestone --- @@ -30,7 +30,7 @@ See: .planning/PROJECT.md (updated 2026-09-16) ## Current Position Phase: 16.1 (Journal admin urgent fixes: relation search, list state, post form content and excerpt (INSERTED)) — EXECUTING -Plan: 2 of 3 +Plan: 3 of 3 Status: Ready to execute Last activity: 2026-10-09 — Phase 16.1 execution started @@ -200,6 +200,7 @@ Progress: [██████████] 100% | Phase 16 P04 | 40min | 3 tasks | 10 files | | 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 | ## Accumulated Context @@ -649,6 +650,9 @@ Recent decisions affecting current work: - [Phase 16.1]: meta.enabledLocales lists the default content locale first, then the writer's order - [Phase 16.1]: Journal FormatHTML renders raw HTML (goldmark WithUnsafe) behind the unchanged rejectUnsafe gate - [Phase 16.1]: List state: URL plus per-list localStorage key summer-admin.list:, restored before the first list request, cleared on logout +- [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 ### Pending Todos @@ -718,6 +722,6 @@ Items acknowledged and carried forward from previous milestone close: ## Session Continuity -Last session: 2026-10-09T19:05:47.263Z -Stopped at: Completed 16.1-01-PLAN.md +Last session: 2026-10-09T20:37:34.462Z +Stopped at: Completed 16.1-02-PLAN.md Resume file: None