fix: document safe template default editing

This commit is contained in:
James
2026-08-25 06:54:02 +00:00
parent 1e11608d44
commit 71e8e92ae9
9 changed files with 36 additions and 0 deletions
+4
View File
@@ -14,6 +14,10 @@ Only defaults declared in `data-composition-variables` are editable:
Typed copy is length-locked to within 20% of the original.
## Safe editing mechanics
Call `set_template_variable_defaults` once with the existing variable ids and their new defaults. Do not directly edit or rewrite `index.html` or its `data-composition-variables` attribute; the imported declaration is HTML-entity-encoded JSON and the setter preserves that encoding. Never edit `__template_baseline__.html` or a duplicate composition file. Validate after the setter succeeds.
## Protected
Preserve notes chrome, paper treatment, fonts, colors, checklist geometry, scene structure, duration, timing, easing, handwriting motion, and reveal cadence.