Session-report editorial preservation — parked 2026-05-15 EOD
DARE.CO.UK · PARKED SKETCH · 2026-05-31
Mirrored from ~/.claude/.../memory/project_session_report_editorial_preservation_parked.md. This is a design sketch parked for future build — read for context, not as a current deliverable.
Teach dare_session_report.py to preserve a manual editorial section between
<!-- EDITORIAL -->/<!-- /EDITORIAL -->marker comments across re-runs, so the augmented-session-report pattern survives the driver regenerating the report multiple times per day. ~15 min Monday work.
Flagged 2026-05-15 5:08pm by Dan:
“Park the editorial-preservation tweak for monday.”
What needs building
~/bin/dare_session_report.py regenerates the daily session report from scratch each run. Today the report was regenerated twice during active work, and each re-run wiped the manual 4-chunk editorial section that had been added at the top. Currently the only way to keep editorial intact is “augment after every driver run, never re-run.”
The fix: marker-block preservation.
- Before writing the new report, READ the existing one (if it exists)
- Look for content between
<!-- EDITORIAL -->and<!-- /EDITORIAL -->HTML comment markers - If found, splice that block back into the regenerated report at a fixed anchor point (e.g., right after TL;DR)
- Markers are HTML-comment-safe in markdown, render invisibly, don’t show in the published HTML
Companion change: report template
Driver’s generated report should include the markers as empty placeholders by default: