Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix([comic-script-generation-panel-hardening]): address codex review — scrub residual hard 4-6 count from docs

[._.]/ Adam Eivy8c936c9f64df
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index aaeb321531..37ff55be7d 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -22,7 +22,7 @@
## Changed
-- **[comic-script-generation-panel-hardening] Comic scripts now reliably break each page into discrete panels.** The script generator is now explicitly told never to put action, dialogue, or scene content in a page's description — that's reserved for short layout notes — and that every page must split into 4–6 numbered panels. This prevents the occasional malformed page that dumped a whole scene into the page header with no panel breakdown (which the comic renderer couldn't draw). Existing installs auto-upgrade unless they've customized the comic-script prompt.
+- **[comic-script-generation-panel-hardening] Comic scripts now reliably break each page into discrete panels.** The script generator is now explicitly told never to put action, dialogue, or scene content in a page's description — that's reserved for short layout notes — and that every page must decompose into numbered panel blocks (how many follows the existing pacing guidance — typically 4–6, a splash, or the occasional dense grid). This prevents the occasional malformed page that dumped a whole scene into the page header with no panel breakdown (which the comic renderer couldn't draw). Existing installs auto-upgrade unless they've customized the comic-script prompt.
- **[conflict-source-attribution] Sync conflicts now record which machine they came from.** When two of your machines edit the same universe, series, or issue and one push loses, the archived entry in Sharing → Conflicts now names the peer it collided with instead of showing an empty source — so you can tell which machine's edit you're reviewing. Previously every conflict was logged as an anonymous "sync".
- **[conflict-restore-additive] "Restore mine" in Sharing → Conflicts is now a faithful restore of your whole version.** Restoring a universe's archived version now replaces its categories exactly as your version had them — a category that slipped in from the other machine's edit (after the timestamp-overwrite) is removed, instead of lingering. Merging back a single field still overlays it without disturbing the rest of the record.
- **[series-merge-season-rehoming] Merging two series now keeps each issue in its season.** When you merge a duplicate series into another, issues that belonged to a season are placed into the surviving series' matching season (paired by season number) instead of all landing un-grouped for you to re-file by hand. Issues that had no season stay un-grouped, as before.
diff --git a/scripts/migrations/063-comic-script-panel-decomposition-prompt.js b/scripts/migrations/063-comic-script-panel-decomposition-prompt.js
index 3d5c082b39..f09be9cf10 100644
--- a/scripts/migrations/063-comic-script-panel-decomposition-prompt.js
+++ b/scripts/migrations/063-comic-script-panel-decomposition-prompt.js
@@ -9,8 +9,9 @@
* rules in `pipeline-comic-script.md`:
* (a) page-level text is layout intent ONLY (1–3 lines max), never action /
* dialogue / scene content;
- * (b) every page MUST decompose into 4–6 discrete `Panel N` blocks carrying
- * Description / Caption / Dialogue / SFX.
+ * (b) every page MUST decompose into discrete `Panel N` blocks carrying
+ * Description / Caption / Dialogue / SFX (the count follows the existing
+ * rhythm rule — 4–6 typical, splash, or the rare 7–8 grid).
*
* Strategy: hash-driven prompt-replace via `./_lib.js`. Idempotent.
*/
@@ -35,7 +36,8 @@ const { applyMigration, up } = makePromptReplaceMigration({
` against your current:\n` +
` data/prompts/stages/${filename}\n` +
` and add the two rules forbidding page-level scene content and\n` +
- ` mandating 4–6 discrete Panel blocks per page.`,
+ ` mandating discrete Panel blocks per page (count following the\n` +
+ ` existing rhythm rule).`,
skipFooter: (count) =>
`⚠️ ${count} comic-script prompt(s) could not be auto-updated because\n` +
` they were customized. Comic scripts still generate, but pages may\n` +