summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-04 13:14:08 +0300
committerPaul Buetow <paul@buetow.org>2026-04-04 13:14:08 +0300
commit49d79f4cc718f08d89dea117210b5d14ddc437f3 (patch)
tree03a6a0ce27fb34249adc41e084045a7d4341176b
parentd3e7e4831a23fe44939737af70fbf51409ddfb95 (diff)
fix: enforce per-page location from story excerpt, bump to 0.16.0v0.16.0
- Add explicit LOCATION rule to story page prompt: all panels must show only the location described in that page's excerpt, not any other story location - Strengthen excerpt label so model illustrates only the current excerpt - Bump version to 0.16.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--internal/story/artist.go6
-rw-r--r--internal/version.go2
2 files changed, 6 insertions, 2 deletions
diff --git a/internal/story/artist.go b/internal/story/artist.go
index 072adb2..04f459a 100644
--- a/internal/story/artist.go
+++ b/internal/story/artist.go
@@ -500,13 +500,17 @@ func buildStoryPagePrompt(section string, pageNum, totalPages int, style, bible
"The full image area must be covered by the 4 panels with no empty space.\n"+
renderReq+
"STRICT CONSISTENCY RULES — apply to every single panel:\n"+
+ " • LOCATION: every panel on this page MUST be set in the EXACT location described in "+
+ "the story excerpt below. Do NOT show any other location that appears earlier or later "+
+ "in the story. If the excerpt is set in the jungle, ALL panels show jungle. "+
+ "If the excerpt is set on Mars, ALL panels show Mars. Follow the excerpt strictly.\n"+
" • Human characters: identical face, AGE APPEARANCE, hair colour/style, and clothing "+
"to the reference — a child must never look older or younger than defined.\n"+
" • Animal characters: identical breed, fur colour/pattern, markings, and eye colour — "+
"NEVER substitute a different animal or a generic version of the species.\n"+
" • Clothing changes only if this page's excerpt explicitly describes a change.\n"+
" • LANGUAGE: all speech, thought, and caption text — Bulgarian Cyrillic ONLY.\n"+
- "Story excerpt:\n\n%s",
+ "Story excerpt (ALL panels must illustrate THIS excerpt only — no other part of the story):\n\n%s",
vocabBlock, style, bibleBlock, pageNum, totalPages, excerpt,
)
}
diff --git a/internal/version.go b/internal/version.go
index 99bca67..2350872 100644
--- a/internal/version.go
+++ b/internal/version.go
@@ -1,3 +1,3 @@
package internal
-const Version = "0.15.0"
+const Version = "0.16.0"