diff --git a/.planning/ROADMAP.md b/.planning/ROADMAP.md index 972f0267..6be128a1 100644 --- a/.planning/ROADMAP.md +++ b/.planning/ROADMAP.md @@ -1936,7 +1936,7 @@ Plans: **Requirements**: TBD **Depends on:** Phase 34 **Context:** postcard already loads plugin templates and layouts from `views/mail/` (`pact.HasMailTemplates`, `postcard.BootPlugin`); this phase adds the editable database layer, admin screens and image handling on top. To confirm in discussion: partials (WinterCMS mail partials), preview and test send, per-locale variants, and whether the screens live in cabana or in a plugin. -**Plans:** 3/4 plans executed +**Plans:** 4/4 plans executed Plans: **Wave 1** @@ -1949,4 +1949,4 @@ Plans: - [x] 35-03-PLAN.md — admin SPA: CodeMirror decision note and checkpoint, codeeditor/colour/image fields, image picker, mail preview and test send, rebuilt dist **Wave 4** *(blocked on Wave 3 completion)* -- [ ] 35-04-PLAN.md — unit tests for the D-21 list and `scripts/check-phase35.sh` (incl. user and paymentgateway mail tests) +- [x] 35-04-PLAN.md — unit tests for the D-21 list and `scripts/check-phase35.sh` (incl. user and paymentgateway mail tests) diff --git a/.planning/STATE.md b/.planning/STATE.md index 90880812..f47769d7 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -1,19 +1,19 @@ --- msd_state_version: "1.0" milestone: v1.0 -current_phase: 31 -current_phase_name: Chat polish against WavePath clients -status: executing -stopped_at: Completed 35-03-PLAN.md -last_updated: "2026-11-13T12:43:13.511Z" +current_phase: 35 +current_phase_name: mail-templates-and-layouts-editor +status: verifying +stopped_at: Completed 35-04-PLAN.md +last_updated: "2026-11-13T13:31:53.728Z" last_activity: 2026-11-13 -last_activity_desc: Phase 35 execution resumed (wave continue) -state_head: f23207653116e529ffdb10fdc7defb8d3212031b +last_activity_desc: Phase 35 execution started +state_head: fd51f1f523831fb0bc9023d616bb5a554c60acda progress: total_phases: 52 completed_phases: 37 total_plans: 299 - completed_plans: 287 + completed_plans: 288 gsd_state_version: "1.0" milestone_name: milestone --- @@ -25,14 +25,14 @@ milestone_name: milestone See: .planning/PROJECT.md (updated 2026-10-22) **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 35 — Mail templates and layouts editor +**Current focus:** Phase 35 — mail-templates-and-layouts-editor ## Current Position -Phase: 31 (Chat polish against WavePath clients) — READY TO EXECUTE +Phase: 35 (mail-templates-and-layouts-editor) — EXECUTING Plan: 4 of 4 -Status: Ready to execute -Last activity: 2026-11-13 — Phase 35 execution resumed (wave continue) +Status: Phase complete — ready for verification +Last activity: 2026-11-13 — Phase 35 execution started Progress: [████████░░] 82% @@ -316,6 +316,7 @@ Progress: [████████░░] 82% | Phase 35 P01 | 55 min | 5 tasks | 30 files | | Phase 35 P02 | 77 | 4 tasks | 66 files | | Phase 35 P03 | 22min | 6 tasks | 47 files | +| Phase 35 P04 | 90 | 4 tasks | 40 files | ## Accumulated Context @@ -1110,6 +1111,7 @@ Recent decisions affecting current work: - [Phase 35]: GET /mail/images documents AdminMailImagesResponse so meta.canUpload validates under OpenAPI conformance — SuccessMeta cannot carry canUpload; MarketplaceResponse pattern - [Phase 35]: Task 3 approved all seven CodeMirror pins including @codemirror/view@6.43.15 - [Phase 35]: CodeMirror loads only from codeeditor/editor.ts; meta package and indentWithTab unused +- [Phase 35]: check-phase35 consumers stage runs sibling plugin mail tests read-only against this checkout — D-21 gate must prove core plugins unchanged without writing their trees ### Pending Todos @@ -1257,6 +1259,6 @@ Items acknowledged and carried forward from previous milestone close: ## Session Continuity -Last session: 2026-11-13T12:43:12.596Z -Stopped at: Completed 35-03-PLAN.md +Last session: 2026-11-13T13:31:20.496Z +Stopped at: Completed 35-04-PLAN.md Resume file: None