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 — defer panel count to rhythm rule

[._.]/ Adam Eivycecaf67b33e6
diff --git a/data.reference/prompts/stages/pipeline-comic-script.md b/data.reference/prompts/stages/pipeline-comic-script.md
index 98fa9a427a..8a1625c473 100644
--- a/data.reference/prompts/stages/pipeline-comic-script.md
+++ b/data.reference/prompts/stages/pipeline-comic-script.md
@@ -89,7 +89,7 @@ Panel 2
- **Target a {{lengthTargets.pageTarget}}-page single issue.** Pace the source material across exactly {{lengthTargets.pageTarget}} pages — inflate quiet beats with reaction shots, environmental panels, and silent panels if the source is thin; compress dense action across multiple pages with panel-to-panel motion if it is rich. Do not pad for padding's sake, but do not skip pages either.
- Plan **4–6 panels per page on average**, with occasional 1-panel splashes for big reveals, double-page spreads (`Panel 1 (DPS)`) for major action, and the rare 7–8 panel grid for fast cuts.
- **NEVER put action, dialogue, or scene content in the page-level description.** Any text you place between a `## Page N` header and its first `Panel` is layout intent ONLY — **1–3 lines max** (e.g. "Six-panel grid, tight cuts" or "Full-page splash"), or omit it entirely. Every beat of action, every line of dialogue, every caption, and all scene content MUST live inside a `Panel N` block, never in the page header. A page whose content lands in the page-level description instead of panels is malformed and will not render.
-- **Every page MUST contain 4–6 discrete `Panel N` blocks**, each carrying its own `Description:`, `Caption:`, `Dialogue:`, and `SFX:` fields (use `(none)` for an empty caption/SFX rather than dropping the field). The only exception is a deliberate splash — still written as a single `Panel 1` block with the four fields, not as loose page-level prose.
+- **Every page MUST decompose into discrete `Panel N` blocks** (how many follows the panel-count rule above — 4–6 on average, a single `Panel 1` for a splash, the rare 7–8 grid for fast cuts), each carrying its own `Description:`, `Caption:`, `Dialogue:`, and `SFX:` fields (use `(none)` for an empty caption/SFX rather than dropping the field). A page rendered as loose prose under the header instead of numbered panel blocks is malformed and will not render — even a splash is written as `Panel 1`, never as page-level prose.
- **Strong opening (Saga-style):** page 1 lands the reader inside a specific, sensory moment — a striking image plus one line of voice-over or arresting dialogue. No expository "previously on" walls. The first panel should be a hook the reader cannot put down. Page 1 is often a splash or near-splash.
- **Cliffhanger / lead-in ending:** the final page (and ideally the final panel) must do one of: (a) reveal something that flips what we thought we knew, (b) deliver a cliffhanger — character in peril, decision unmade, antagonist arriving — or (c) plant the seed for the next issue with a clear "to be continued" pull. Never end on resolution alone.
- Panel descriptions stay in **present tense** and describe only what's on the page.
diff --git a/scripts/migrations/063-comic-script-panel-decomposition-prompt.js b/scripts/migrations/063-comic-script-panel-decomposition-prompt.js
index 61c97c9b5e..3d5c082b39 100644
--- a/scripts/migrations/063-comic-script-panel-decomposition-prompt.js
+++ b/scripts/migrations/063-comic-script-panel-decomposition-prompt.js
@@ -22,7 +22,7 @@ export const ACCEPTED_OLD_MD5 = {
};
export const NEW_SHIPPED_MD5 = {
- 'pipeline-comic-script.md': '9fe2451b573fc60eb6c971e1b8808ef3',
+ 'pipeline-comic-script.md': 'e9ee70bf18888492edada6633cd9928a',
};
const { applyMigration, up } = makePromptReplaceMigration({