From 533d0d2fcd6f5bdbe1ab194e13e95d618c69317c Mon Sep 17 00:00:00 2001 From: Jakub Zych Date: Fri, 13 Nov 2026 11:11:42 +0100 Subject: [PATCH] docs(35-01): record plan decisions in state --- .planning/STATE.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.planning/STATE.md b/.planning/STATE.md index 96db4854..fc453a11 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -5,10 +5,10 @@ current_phase: 35 current_phase_name: Mail templates and layouts editor status: executing stopped_at: Completed 35-01-PLAN.md -last_updated: "2026-11-13T10:11:00.377Z" +last_updated: "2026-11-13T10:11:36.542Z" last_activity: 2026-11-13 last_activity_desc: Phase 35 execution started -state_head: 2bf9081c1bd8385b45210ead8524eda5512b3ca1 +state_head: db86b51a51529abb74cbbf8a2a55be1b1a47e073 progress: total_phases: 50 completed_phases: 37 @@ -1095,6 +1095,12 @@ Recent decisions affecting current work: - [Phase 33]: 33-15: a crawl's job owns its terminal status (cancel records cancel_requested_at), finishes on a detached 10-minute context, writes heartbeat_at every minute; RecoverStale ends running rows without a heartbeat for 10 minutes - [Phase 33]: 33-15: sitemap rebuilds run under pg_advisory_xact_lock(hashtext('golem15.sitemap.rebuild')) around settings, collect and apply; apply never writes a content row's lastmod - [Phase 33]: 33-15: G2 (journal-tag pattern while tag pages are off) deferred to v0.6.2: signpost.Activate refuses a type without a DefaultPattern starting with / +- [Phase 35]: 35-01 Task 1 answered as-planned: P35-01 schema, P35-02 partial syntax and built-ins, P35-03 sample.* keys, P35-04 layout CSS slot and logoUrl, P35-05 names adopted without changes +- [Phase 35]: 35-01: postcard logs 'override failed, sending the file version' only when the file version then renders; when both fail, the file version's error is returned as before +- [Phase 35]: 35-01: a partial call in a body leaves the token MAILPARTIAL + 32 hex nonce + XX, swapped in one pass after goldmark; raw HTML stays disabled for bodies +- [Phase 35]: 35-01: Editor.Validate refuses a template body whose source holds a script, iframe, object or embed tag, because Markdown would drop it silently at send +- [Phase 35]: 35-01: Branding (compiled CSS and logoUrl) also applies to the file version sent after a failing override; an invalid stored colour keeps mail.brandCss with a warning +- [Phase 35]: 35-01: pact has five row states; cabana keeps only three until 35-02 updates rowStateOrder and docs/backend/lists-and-filters.md ### Pending Todos