Correct image prompt assembly rules

This commit is contained in:
Meta Vens 2026-05-03 10:37:21 +01:00
commit 8cccfd38a3
9 changed files with 48 additions and 12 deletions

View file

@ -157,6 +157,12 @@ When the user says to prepare for imminent compaction:
need stable character visual refs for every recurring named character, and
scene prompts should either include those refs during prompt assembly or carry
enough appearance detail to stand alone.
- Include visual character refs only for characters actually visible in the
rendered frame. Do not feed imagegen refs for absent, off-frame, merely
mentioned, or object-represented characters.
- Treat visual continuity notes as tool/reviewer constraints, not prompt text.
If imagegen needs the fact, rewrite it as concrete visible description in the
base prompt, character ref, or branch/state modifier.
- Ground scene writing in the source's material details: habitat form,
infrastructure, law, class pressure, money, route access, surveillance,
communication channels, body affordances, and local failure costs.

View file

@ -436,8 +436,7 @@ Prompt assembly for illustrated replay should combine:
```text
global style cue
+ global visual continuity
+ visual_character_refs for visible named characters
+ visual_character_refs for named characters actually visible in this rendered frame
+ visual section base_image_prompt
+ triggered state or branch image modifiers
```
@ -449,6 +448,14 @@ itself. The same applies to visual style: if a fixture depends on a specific
look, the assembled prompt must carry that style cue every time. Names are
handles, not faces.
Do not include `visual_continuity_notes` verbatim in the image prompt. They are
tooling and review constraints for keeping repeated generations coherent. If a
continuity fact needs to reach the image model, rewrite it as concrete visible
prompt text in the base prompt, a character ref, or a branch/state modifier.
The image generator only sees the prompt you send it. It does not remember the
previous scene unless a real image-editing workflow supplies that image as
input.
The coordinator owns this surface for now. The responder should not receive
omniscient visual art direction unless the character can observe it. Character
packets may receive the local visible subset: what this actor can see, hear,

View file

@ -1289,7 +1289,8 @@
{
"agent_id": "orrin_dax",
"default_stance": "absent or off-frame, represented by cracked mug",
"visual_ref": "visual_character_refs.characters.orrin_dax"
"visual_ref": "visual_character_refs.characters.orrin_dax",
"prompt_ref_policy": "omit_visual_ref_unless_rendered_in_frame"
}
],
"state_image_modifiers": [],
@ -1343,11 +1344,11 @@
}
],
"global_style_cue": "Style: Media Molecule Dreams-style 3D volumetric brushstroke painting; visible sculpted fleck strokes; painterly VR-made geometry; every detail is made of brush matter that feels partly solid, partly liquid, partly gas. Extremely detailed but soft, handmade, and non-photoreal. Tiny brushstrokes are allowed and encouraged, but the broad composition must remain readable.",
"prompt_assembly_rule": "Assemble each image prompt from visual_scene_plan.global_style_cue, global location continuity, visible character visual refs, the scene base_image_prompt, and any triggered state_image_modifiers or global_branch_image_modifiers."
"prompt_assembly_rule": "Assemble each image prompt from visual_scene_plan.global_style_cue, visual refs only for characters actually visible in the rendered frame, the scene base_image_prompt, and any triggered state_image_modifiers or global_branch_image_modifiers. Do not include visual_continuity_notes verbatim; use them only as tooling/review constraints unless rewritten as concrete visible prompt text."
},
"visual_character_refs": {
"purpose": "Stable named-character visual identities for prompt assembly. Image prompts must include these refs for every named visible character; scene prompts alone are not expected to teach imagegen what Lio, Nara, Orrin, Teth, or Ilya look like.",
"prompt_assembly_rule": "For each visual_scene_plan scene, assemble the image prompt from visual_scene_plan.global_style_cue, global location continuity, each visible character visual_ref, the scene base_image_prompt, and any triggered state_image_modifiers or global_branch_image_modifiers.",
"prompt_assembly_rule": "For each visual_scene_plan scene, include only the visual_character_refs for named characters actually visible in that rendered frame. Do not include refs for absent, off-frame, merely mentioned, or object-represented characters.",
"characters": {
"lio_vale": {
"display_name": "Lio Vale",
@ -1418,7 +1419,8 @@
},
"branch_compiler_notes": {
"review_notes": [
"Added a global Media Molecule Dreams-style volumetric brushstroke cue so image prompt assembly carries the intended non-photoreal handmade visual language without repeating it in every scene."
"Added a global Media Molecule Dreams-style volumetric brushstroke cue so image prompt assembly carries the intended non-photoreal handmade visual language without repeating it in every scene.",
"Corrected image prompt assembly: visual_continuity_notes are non-prompt tooling constraints, and assembled prompts include only character refs for characters actually visible in the frame."
]
}
}

View file

@ -56,9 +56,11 @@ Visual replay is a live seam too. Illustrated IF fixtures need click-through
sections with stable `visual_scene_id` anchors, stable visual character refs
for recurring named characters, a global style cue when the visual language
matters, imagegen-ready base prompts, character visibility and stance controls,
and branch/state modifiers. One whole-fixture image prompt is not enough when
the prose moves through several places, focal objects, alarms, standoffs, and
aftermath states. Names are handles, not faces.
and branch/state modifiers. Prompt assembly includes only refs for characters
actually visible in the frame, and continuity notes are not prompt text unless
rewritten as concrete visible description. One whole-fixture image prompt is
not enough when the prose moves through several places, focal objects, alarms,
standoffs, and aftermath states. Names are handles, not faces.
## Important Contracts

View file

@ -60,7 +60,10 @@ not carry live next-action lists.
fictional equipment and body affordances in visible terms. Named
recurring characters need stable visual character refs; names are handles,
not faces. When a fixture targets a specific image language, store one
global style cue and include it in every assembled image prompt.
global style cue and include it in every assembled image prompt. Include
character refs only for characters actually visible in the rendered frame;
keep continuity notes as tooling constraints unless rewritten as visible
prompt text.
- IF review correction: run an independent artifact reviewer after branch/Ink generation and before acceptance. The reviewer audits fake variables, cosmetic choices, missing state reads, fake folds, unearned convergence, state-named-instead-of-checked prose, visual callback gaps, and endings that ignore major state. The first Cold Wake user review is a seed failure taxonomy for this evaluator path.
- Visual review correction: run a visual scene continuity reviewer for
illustrated fixtures. It audits oversized Ink screens, missing visual

View file

@ -41,6 +41,10 @@ should be authored here first and referenced from artifacts or tools.
assembly for every generated image.
- Treat named characters as handles, not visual descriptions. Illustrated IF
sidecars need stable visual character refs for recurring named characters, and
prompt assembly must include those refs when the character is visible.
prompt assembly must include those refs only when the character is actually
visible in the rendered frame.
- Treat continuity notes as tooling constraints, not prompt text. If the image
model needs a continuity fact, put it in visible terms inside the base prompt,
character ref, or modifier.
- If a prompt is used for a capture, preserve the exact rendered prompt in the
capture and include the prompt file path when the capture schema allows it.

View file

@ -63,6 +63,9 @@ intent, but they do not excuse missing reader/player-facing structure.
- Does each named visible character point to a stable visual identity ref, or
does the scene prompt itself include enough description to render the person
consistently?
- Are character refs limited to characters actually visible in that frame,
excluding absent, off-frame, merely mentioned, or object-represented
characters?
- Are character positions and stances controlled by branch state where needed?
- Are nonhuman or altered bodies represented through visible affordances:
harnesses, supports, water/mist interfaces, manipulators, suit geometry,
@ -150,6 +153,12 @@ Each finding must include:
- Do not accept named characters as visual descriptions. "Lio Vale stands by
the manifold" is not enough unless the sidecar provides a stable visual
reference for Lio and the prompt assembly path says to include it.
- Do not accept assembled prompts that include refs for characters not actually
visible in the frame. The model will draw the bodies it is told about,
because of course it will. Little beast has no stage manager.
- Do not accept `visual_continuity_notes` as prompt text. They are tooling
constraints; prompt-visible continuity must be rewritten as visible scene,
character, or modifier description.
- Do not require every sentence to have a unique image. Require every distinct
place, focal area, pivotal visual beat, and branch-visible state to have a
durable visual anchor or modifier.
@ -180,6 +189,8 @@ Use these labels when applicable:
- `missing_character_visibility`
- `missing_character_design_ref`
- `named_character_as_lore_password`
- `off_frame_character_ref_in_prompt`
- `continuity_note_used_as_prompt_text`
- `missing_branch_visual_modifier`
- `missing_state_trigger`
- `branch_delta_not_visual`

View file

@ -46,3 +46,4 @@
{"ts": "2026-05-03T09:08:30+00:00", "type": "review", "status": "ok", "note": "Added visual scene continuity reviewer prompt and revised Pallas IF fixture for illustrated replay: click-through visual scene anchors, imagegen-ready per-section prompts, character visibility/stance controls, branch/state visual modifiers, and acceptance after visual review cleanup."}
{"ts": "2026-05-03T09:25:38+00:00", "type": "review", "status": "ok", "note": "Added stable visual character refs for the Pallas illustrated IF fixture and updated visual review doctrine so named characters cannot rely on imagegen knowing their appearance from names alone."}
{"ts": "2026-05-03T09:30:46+00:00", "type": "design", "status": "ok", "note": "Illustrated IF fixtures with a target look should store a global visual style cue and include it in every assembled image prompt; the Pallas fixture now carries the Dreams-style volumetric brushstroke cue."}
{"ts": "2026-05-03T09:37:16+00:00", "type": "design", "status": "ok", "note": "Corrected illustrated prompt assembly: prompts should include only in-frame character refs, while continuity notes remain tooling constraints unless rewritten as concrete visible prompt text."}

View file

@ -42,7 +42,7 @@ hard_boundaries:
- Technology exploration must emit game-usable item, component, assembly, supply-chain, compatibility, and provenance data mapped toward Aetheria-Economy.
- Interactive-fiction fixtures should branch and fold: normalize most consequences into compact state variables and shared-scene conditionals, reserving isolated route splits for major world-changing divergence.
- Interactive-fiction fixtures require independent artifact review before acceptance; tracked variables must materially affect later affordances, risk, appraisal, callbacks, visual state, or outcomes, unless explicitly marked telemetry-only.
- Complete interactive-fiction fixtures must emit visual art direction for website imagery, with click-through visual scene segmentation, stable visual character refs for recurring named characters, a global style cue when the visual language matters, one durable base image prompt per distinct section, character visibility and stance controls, and additive modification prompts for branch-visible consequences and scene-state changes.
- Complete interactive-fiction fixtures must emit visual art direction for website imagery, with click-through visual scene segmentation, stable visual character refs for recurring named characters, a global style cue when the visual language matters, one durable base image prompt per distinct section, character visibility and stance controls, and additive modification prompts for branch-visible consequences and scene-state changes; assembled prompts include only actually visible character refs and do not use continuity notes as prompt text unless rewritten as concrete visible description.
- Archived local-model prototype runners are receipts and plumbing tests, not the gold-data path.
live_architecture: