Skip to content

v2: Front-loaded generation, character references, re-roll strategy#1

Open
hrishioa wants to merge 1 commit intomasterfrom
hrishi/v2
Open

v2: Front-loaded generation, character references, re-roll strategy#1
hrishioa wants to merge 1 commit intomasterfrom
hrishi/v2

Conversation

@hrishioa
Copy link
Copy Markdown
Contributor

Major architecture changes based on extensive experimentation:

  1. GENERATION: Replace 3-iteration generate-all loop with single front-loaded generation (all context + references in first message, simple "give me page N" requests per panel). Best character consistency across panels.

  2. REVIEW LOOP: New review-and-reroll loop that distinguishes stochastic failures (re-roll) from systematic issues (fix prompt). Agent correctly identifies text leaks as stochastic and re-rolls instead of rewriting prompts.

  3. CHARACTER REFERENCES: Inject curated character close-ups into the generation chat. Text specs alone cannot control visual consistency — visual references are essential.

  4. PROMPT STANDARDIZATION: RENDERING RULES header on every prompt, standardized character specs with age/proportions/limbs/scale, font anchoring, stripped parenthetical stage directions.

New scripts: generate-frontloaded-v2.ts, generate-panel-with-history.ts, diagnose-chat-context.ts

New prompts: generate-panels-frontloaded.md, review-and-reroll.md

See LEARNINGS.md for the complete play-by-play of all discoveries.

Major architecture changes based on extensive experimentation:

1. GENERATION: Replace 3-iteration generate-all loop with single
   front-loaded generation (all context + references in first message,
   simple "give me page N" requests per panel). Best character
   consistency across panels.

2. REVIEW LOOP: New review-and-reroll loop that distinguishes
   stochastic failures (re-roll) from systematic issues (fix prompt).
   Agent correctly identifies text leaks as stochastic and re-rolls
   instead of rewriting prompts.

3. CHARACTER REFERENCES: Inject curated character close-ups into
   the generation chat. Text specs alone cannot control visual
   consistency — visual references are essential.

4. PROMPT STANDARDIZATION: RENDERING RULES header on every prompt,
   standardized character specs with age/proportions/limbs/scale,
   font anchoring, stripped parenthetical stage directions.

New scripts: generate-frontloaded-v2.ts, generate-panel-with-history.ts,
diagnose-chat-context.ts

New prompts: generate-panels-frontloaded.md, review-and-reroll.md

See LEARNINGS.md for the complete play-by-play of all discoveries.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant