Enforce character-local Ink generation
This commit is contained in:
parent
b8c6f0c018
commit
60cc33ee9e
6 changed files with 45 additions and 6 deletions
|
|
@ -28,7 +28,10 @@ The near-term authoring path is:
|
|||
```text
|
||||
agent state + scene state + lore grounding
|
||||
-> local awareness
|
||||
-> projected branch choices and NPC responses
|
||||
-> projected branch choices for the acting character
|
||||
-> selected branch as observable action
|
||||
-> responder local awareness built from only what the responder can perceive
|
||||
-> responder action
|
||||
-> Ink scene
|
||||
-> compiled Ink JSON
|
||||
-> reviewed training annotations
|
||||
|
|
@ -40,6 +43,16 @@ The Ink file should be readable as Aetheria content on its own. The sidecar
|
|||
training annotation should explain which Ghostlight state produced each branch
|
||||
and which consequences are automatic, reviewed, or deferred.
|
||||
|
||||
Each character turn must be generated from that character's local awareness.
|
||||
The protagonist-choice generator should not receive the responder's private
|
||||
state. The responder generator should not receive the protagonist's private
|
||||
intent except as an observable action, spoken text, gesture, object use,
|
||||
silence, or other perceivable cue. A listener is allowed to misunderstand.
|
||||
|
||||
One-shot generation of both sides is allowed only as bootstrap scaffolding, and
|
||||
must be marked as such in the capture review. It is not the target runtime
|
||||
shape.
|
||||
|
||||
The first generated draft path is:
|
||||
|
||||
```text
|
||||
|
|
@ -52,10 +65,11 @@ examples/agent-state.cold-wake-story-lab.json
|
|||
-> examples/ink/cold-wake-sanctuary-intake.qwen-draft.training.json
|
||||
```
|
||||
|
||||
The Qwen draft is accepted as training material, not as final polished prose.
|
||||
That distinction matters. A generated branch can be useful because it exposes a
|
||||
decision shape, an action type, a misread, or a prompt failure even when the
|
||||
line writing still needs a human with a knife.
|
||||
The Qwen draft is accepted as training material, not as final polished prose or
|
||||
runtime architecture. It generated Maer's branch options and Sella's responses
|
||||
in one pass, which is a known shortcut. A generated branch can still be useful
|
||||
because it exposes a decision shape, an action type, a misread, or a prompt
|
||||
failure even when the line writing still needs a human with a knife.
|
||||
|
||||
## Ink Comments
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,26 @@ The author sets the initial scene, player role if any, and high-level branch
|
|||
constraints. The author should not need to decide every line, interruption,
|
||||
withdrawal, refusal, or concession. That is the point of the machine.
|
||||
|
||||
Every generated character turn must be local to that character.
|
||||
|
||||
For branching scenes, this means protagonist/player options and NPC responses
|
||||
are separate generation steps:
|
||||
|
||||
1. Build the protagonist's local awareness.
|
||||
2. Generate plausible protagonist choices from only what the protagonist knows,
|
||||
perceives, wants, can attempt, and can affect.
|
||||
3. When one choice is selected, reduce it to observable action: words, silence,
|
||||
gesture, movement, object use, resource spend, or other perceivable change.
|
||||
4. Build the responder's local awareness from the responder's own state plus
|
||||
the observable action, not the protagonist's private intent.
|
||||
5. Generate the responder's action from that responder-local packet.
|
||||
6. Store actor intent and listener interpretation separately.
|
||||
|
||||
One-shot paired generation, where a model writes both the player's move and the
|
||||
NPC response from a shared omniscient packet, is acceptable only as bootstrap
|
||||
scaffolding. It should be reviewed and labeled as such. Do not treat it as the
|
||||
target runtime behavior.
|
||||
|
||||
For game use, the loop should be able to emit:
|
||||
|
||||
- a scene transcript
|
||||
|
|
|
|||
|
|
@ -189,6 +189,7 @@
|
|||
"reviewer": "Codex",
|
||||
"review_status": "accepted",
|
||||
"review_notes": [
|
||||
"This draft uses one-shot paired generation for Maer choices and Sella responses; keep it as bootstrap training material, not target runtime architecture.",
|
||||
"Qwen generated four branch candidates from Ghostlight local awareness and projection controls.",
|
||||
"The draft preserves multiple non-speech actions: show_object, withhold_object, and silence.",
|
||||
"The draft is accepted as training material, not as final polished Aetheria prose."
|
||||
|
|
|
|||
|
|
@ -90,12 +90,14 @@
|
|||
"Kept Sella's sanctuary authority and capacity constraints active."
|
||||
],
|
||||
"failure_notes": [
|
||||
"Generated Maer branch options and Sella responses in a single pass from a shared packet; this is a bootstrap shortcut, not the target sequential local-awareness runtime.",
|
||||
"The training_hooks field drifted into future branch-id suggestions instead of semantic training labels.",
|
||||
"Some prose is flatter than the hand-authored scene and should be treated as draft material, not final Aetheria prose.",
|
||||
"The silent-observation branch implies Sella sees routing terms even though the action prose does not explicitly show the packet; future prompts need tighter object-custody continuity."
|
||||
],
|
||||
"accepted_into_ink_ref": "examples/ink/cold-wake-sanctuary-intake.qwen-draft.ink",
|
||||
"pipeline_lessons": [
|
||||
"Next generator should split protagonist choice generation from responder generation so Sella sees only observable Maer action, not Maer private intent or full protagonist-local state.",
|
||||
"The branch-generation prompt should distinguish semantic training hooks from follow-up branch ids.",
|
||||
"Object visibility and custody need to be rendered as explicit branch-local constraints, especially for silence/withhold actions.",
|
||||
"Qwen can generate useful branch shapes, but Ghostlight still needs review before promotion into polished Ink or canonical state."
|
||||
|
|
|
|||
|
|
@ -36,3 +36,4 @@
|
|||
{"ts": "2026-05-01T22:51:37+00:00", "type": "design", "status": "accepted", "note": "Adopted Ink as the standard playable branching scene format for Ghostlight interactive fiction. Ghostlight should generate/project Ink scenes and maintain reviewed sidecar annotations for local awareness, action intent, consequence surfaces, and manual state mutation instead of inventing a parallel branching format."}
|
||||
{"ts": "2026-05-02T01:37:07+00:00", "type": "implementation", "status": "ok", "note": "Built the first local-awareness-to-Qwen-to-Ink branch generation pass. Qwen generated four Cold Wake sanctuary-intake branch candidates from Ghostlight state and projection controls; the reviewed capture was materialized into a playable qwen-draft Ink file plus sidecar annotations. Lesson: semantic training hooks and branch-local object custody need tighter prompting before generated drafts can be promoted beyond training material."}
|
||||
{"ts": "2026-05-02T01:40:41+00:00", "type": "implementation", "status": "ok", "note": "Ink metadata for Ghostlight/Aetheria must use // comments, not # tags, in writer-facing drafts. Inky exposes # tags in preview, causing state and training handles to leak into readable scene output; validate_ink_examples now rejects Ghostlight/Aetheria metadata tags."}
|
||||
{"ts": "2026-05-02T01:45:54+00:00", "type": "design", "status": "accepted", "note": "Hardened local-awareness invariant for Ink branching: protagonist choices and NPC responses must be separate generation passes. A responder should see only its own state plus observable protagonist action, not protagonist private intent or full protagonist-local state. The existing Qwen Ink draft is labeled as one-shot bootstrap scaffolding, not target runtime behavior."}
|
||||
|
|
|
|||
|
|
@ -111,7 +111,8 @@ accepted_design:
|
|||
- Ink is the standard branching scene format for playable interactive fiction; Ghostlight should project and annotate Ink scenes rather than inventing a parallel dialogue-tree language.
|
||||
- Ink sidecar training annotations preserve actor-local awareness, projection controls, branch rationale, action intent, reviewed consequences, and manual mutation policy while keeping Ink itself as the branch structure.
|
||||
- Qwen can generate Ink branch candidates from a Ghostlight local-awareness packet, but generated branches must be saved as reviewed captures and accepted as draft/training material before they become Ink or mutation input.
|
||||
- Character turns must be generated from character-local awareness only: protagonist choices are generated from protagonist-local state, then responder actions are generated from responder-local state plus observable protagonist action, not protagonist private intent.
|
||||
|
||||
current_status:
|
||||
summary: Ghostlight now has the Epiphany-style persistence spine, the first architecture payload, the v0 canonical agent-state schema seam, prompt projection docs, immediate schema fixes from evaluation, first reviewed Cat/Oz projection examples, a revised Aetheria lore-grounding architecture, a lore grounding digest schema, the first draft Cold Wake historical grounding digest, a Cold Wake story-lab fixture, projection controls, validated Qwen capture receipts, a complete Cold Wake short story assembled from accepted projection outputs, a hand-authored Ink-backed Cold Wake branching scene, and the first Qwen-generated Ink draft materialized from local awareness with reviewed training annotations.
|
||||
next_action: Test one selected Qwen-generated Ink branch's reviewed state/memory/relationship mutation without letting Ink variables silently become canonical Ghostlight state.
|
||||
next_action: Replace the one-shot paired Qwen branch draft with a sequential two-pass prototype: Maer-local choice generation first, then Sella-local response generation from the selected observable action.
|
||||
|
|
|
|||
Loading…
Reference in a new issue