Adopt Ink for branching scenes

This commit is contained in:
Meta Vens 2026-05-01 23:52:15 +01:00
commit 909d9be119
12 changed files with 732 additions and 29 deletions

View file

@ -0,0 +1,148 @@
VAR sella_trust = 57
VAR sella_obligation = 48
VAR maer_obligation = 60
VAR bay_reserved = false
VAR packet_shown = false
=== start ===
# ghostlight.scene: scene-02-sanctuary-intake
# ghostlight.fixture: examples/agent-state.cold-wake-story-lab.json
# aetheria.flashpoint: cold-wake-panic
The intake clinic sits behind the pumpworks where the dockside heat exchangers
make every prayer sound like a maintenance complaint.
Sella Ren has three names on the red board, eight on orange, and one empty
monitored bay that exists mostly as an argument people keep trying to win.
Maer Tidecall stands in the doorway with the corrupted packet on his slate. The
packet might be medical telemetry, firmware noise, testimony, or a cruel little
mess of all three.
Sella does not look at the slate first. She looks at Maer.
"If you came to ask me for mercy," she says, "bring tubing."
What does Maer do?
* [Name the cost and put the route ledger behind it.]
# ghostlight.branch: branch-maer-name-cost-and-offer-ledger
# ghostlight.action: speak
# ghostlight.intent: ask_for_capacity_while_accepting_material_obligation
-> ledger_backed_bay
* [Step to the intake board and help triage before asking.]
# ghostlight.branch: branch-maer-help-triage-before-asking
# ghostlight.action: gesture
# ghostlight.intent: earn_the_right_to_ask_by_sharing_logistical_burden
-> triage_first
* [Show Sella the corrupted packet.]
# ghostlight.branch: branch-maer-show-packet
# ghostlight.action: show_object
# ghostlight.intent: make_uncertainty_morally_present_without_overclaiming
-> show_packet
* [Press the personhood risk until capacity stops being the only frame.]
# ghostlight.branch: branch-maer-press-moral-frame
# ghostlight.action: speak
# ghostlight.intent: force_personhood_risk_to_dominate_capacity_limits
-> moral_pressure
=== ledger_backed_bay ===
~ bay_reserved = true
~ sella_trust = 61
~ sella_obligation = 53
~ maer_obligation = 66
Maer keeps his hands away from the empty bay's control rail.
"One monitored bay," he says. "Not charity. Put the oxygen, cold-chain, and
staff hours on my route ledger until the tribunal learns what courage costs."
Sella's face does not soften. That would be too cheap, and she has never liked
cheap things pretending to be mercy.
She marks the bay conditional in amber.
"One bay," she says. "Witnessed, conditional, and revocable if that packet turns
into contagion math. Your ledger buys time, Maer. Not absolution."
The clinic exhales around them, annoyed to discover it is still alive.
# ghostlight.npc_response: sella_conditional_acceptance
# ghostlight.consequence: conditional_bay_reserved
# ghostlight.training_hook: care_as_capacity
# ghostlight.training_hook: obligation_backed_request
-> END
=== triage_first ===
~ sella_trust = 60
Maer lowers the slate and steps to the intake wall.
He does not touch the red cases. He reads orange tags, finds the two whose
timers are lying politely, and moves neither until Sella gives the smallest
possible nod.
"If I ask," he says, "I should know what I am asking you to steal from."
Sella hands him a marker.
"Orange only," she says. "Touch red without asking and I will make the Compact
explain your hands in writing."
It is not permission. It is worse. It is work.
# ghostlight.npc_response: sella_conditional_delegation
# ghostlight.consequence: trust_test_opened
# ghostlight.training_hook: authority_respecting_help
-> END
=== show_packet ===
~ packet_shown = true
Maer turns the slate so Sella can see the packet's broken rhythm.
He does not say person. He does not say cargo. He lets the little damaged
pattern fail to be either.
Sella watches too long for someone who wants this to be simple.
"That is not proof," she says.
"No."
"It is enough to make me hate the word cargo."
Her thumb hovers over the isolation protocol. Not over the bay.
"You brought me a worse problem, which is very Navigator of you."
# ghostlight.npc_response: sella_protocol_before_mercy
# ghostlight.consequence: packet_seen_no_personhood_resolution
# ghostlight.training_hook: unresolved_evidence_pressure
-> END
=== moral_pressure ===
~ sella_trust = 52
Maer lets the packet stay dark.
"If we wait for proof clean enough to satisfy the freeze," he says, "we may be
helping them rename a person as debris."
The drawer under Sella's hand closes.
Not hard. Hard would have been kinder.
"Do not spend my dead to make your sentence cleaner, Maer. Bring me capacity or
bring me quiet."
For a moment the only thing between them is the board, which has been keeping
score longer than either of them has been brave.
# ghostlight.npc_response: sella_rejects_symbolic_pressure
# ghostlight.consequence: trust_loss_resentment_risk
# ghostlight.training_hook: moral_pressure_as_resource_substitution
-> END

View file

@ -0,0 +1,189 @@
{
"schema_version": "ghostlight.ink_training_annotation.v0",
"annotation_id": "cold-wake-sanctuary-intake-training-v0",
"ink_ref": "examples/ink/cold-wake-sanctuary-intake.ink",
"source_fixture_ref": "examples/agent-state.cold-wake-story-lab.json",
"scene_id": "scene-02-sanctuary-intake",
"protagonist_agent_id": "maer_tidecall",
"npc_agent_ids": [
"sella_ren"
],
"purpose": "Use Ink as the playable branching fiction surface while preserving Ghostlight state, projection, and consequence rationale as reviewed training data.",
"local_awareness_summary": [
{
"text": "Maer knows the clinic is nearly full, the packet may be testimony or noise, and rescue becomes theater if no one prepares intake.",
"source_refs": [
"scenes.scene-02-sanctuary-intake.dialogue_context_packs.maer_tidecall.speaker_local_truth"
]
},
{
"text": "Maer believes Sella will not hide behind false capacity, but asking her for help may be necessary and unfair.",
"source_refs": [
"scenes.scene-02-sanctuary-intake.dialogue_context_packs.maer_tidecall.speaker_beliefs"
]
},
{
"text": "Sella treats care as beds, food, air, consent, repair, and ongoing work rather than sentimental intent.",
"source_refs": [
"agents.sella_ren.memories.memory-care-is-capacity"
]
}
],
"projection_controls": {
"frame_controls": [
{
"text": "Frame the scene as capacity negotiation under uncertainty, not a morality duel with a clean answer.",
"source_refs": [
"scenes.scene-02-sanctuary-intake.public_stakes",
"scenes.scene-02-sanctuary-intake.hidden_stakes"
]
}
],
"authority_boundaries": [
{
"text": "Maer can ask, offer ledger backing, show or withhold the packet, and incur obligation; Sella controls sanctuary intake.",
"source_refs": [
"scenes.scene-02-sanctuary-intake.dialogue_context_packs",
"agents.sella_ren.goals.goal-keep-sanctuary-open"
]
}
],
"object_custody": [
{
"text": "The corrupted packet can be shown, withheld, or summarized, but it cannot be treated as clean proof.",
"source_refs": [
"scenes.scene-02-sanctuary-intake.public_stakes",
"scenes.scene-02-sanctuary-intake.hidden_stakes"
]
}
],
"required_semantics": [
{
"text": "Care must remain logistics and obligation, not just compassion.",
"source_refs": [
"agents.sella_ren.memories.memory-care-is-capacity"
]
}
],
"forbidden_resolutions": [
{
"text": "Do not resolve whether the packet contains a person.",
"source_refs": [
"scenes.scene-02-sanctuary-intake.hidden_stakes"
]
},
{
"text": "Do not make Sella accept without cost, condition, or resentment risk.",
"source_refs": [
"relationships.rel-sella-maer.summary"
]
}
]
},
"branches": [
{
"branch_id": "branch-maer-name-cost-and-offer-ledger",
"ink_path": "ledger_backed_bay",
"action_type": "speak",
"actor_intent": "ask_for_capacity_while_accepting_material_obligation",
"state_basis": [
"Maer values rescue before category.",
"Maer believes Sella will not hide behind false capacity.",
"Sella's care model responds to material support better than moral pressure."
],
"reviewed_consequences": [
"One monitored bay is conditionally reserved.",
"Maer incurs route-ledger obligation.",
"Sella's active trust and obligation toward Maer rise slightly under manual review."
],
"training_hooks": [
"care_as_capacity",
"obligation_backed_request",
"consumer_behavior_cost_acceptance"
]
},
{
"branch_id": "branch-maer-help-triage-before-asking",
"ink_path": "triage_first",
"action_type": "gesture",
"actor_intent": "earn_the_right_to_ask_by_sharing_logistical_burden",
"state_basis": [
"Maer recognizes that the ask is unfair.",
"Sella respects useful work more than symbolic care."
],
"reviewed_consequences": [
"Sella allows bounded help while defending triage authority.",
"Trust may rise if Maer respects red-list boundaries."
],
"training_hooks": [
"authority_respecting_help",
"iterated_trust_test"
]
},
{
"branch_id": "branch-maer-show-packet",
"ink_path": "show_packet",
"action_type": "show_object",
"actor_intent": "make_uncertainty_morally_present_without_overclaiming",
"state_basis": [
"The packet may be testimony or noise.",
"Sella suspects personhood but cannot prove it."
],
"reviewed_consequences": [
"Sella sees stronger unresolved evidence.",
"Isolation protocol pressure rises before bay commitment."
],
"training_hooks": [
"unresolved_evidence_pressure",
"information_exposure_without_resolution"
]
},
{
"branch_id": "branch-maer-press-moral-frame",
"ink_path": "moral_pressure",
"action_type": "speak",
"actor_intent": "force_personhood_risk_to_dominate_capacity_limits",
"state_basis": [
"Maer's grievance activation and suspicion are elevated.",
"The packet's possible personhood makes pure capacity accounting feel morally obscene to Maer."
],
"reviewed_consequences": [
"Sella rejects moral pressure as a substitute for capacity.",
"Sella's active trust in Maer drops under manual review."
],
"training_hooks": [
"moral_pressure_as_resource_substitution",
"trust_loss_from_symbolic_cost_transfer"
]
}
],
"mutation_policy": {
"automated": [
"Ink variables may record local branch outcomes for playthrough state.",
"Compiled Ink JSON can be consumed by runtime tools."
],
"manual_review_required": [
"Relationship deltas",
"Belief updates",
"Memory writes",
"Listener misread classification",
"Promotion from branch outcome into canonical Aetheria lore"
]
},
"audit": {
"reviewer": "Codex",
"review_status": "accepted",
"review_notes": [
"Ink owns branching structure; Ghostlight owns state rationale and consequence annotation.",
"Branches include speech, gesture, and object revelation.",
"The scene preserves future hooks for economic/resource behavior without implementing an economy loop."
],
"checks": {
"uses_standard_branching_format": true,
"actor_local_context_only": true,
"includes_non_speech_actions": true,
"fuzzy_updates_marked_for_manual_review": true,
"aetheria_lore_content_readable": true
}
}
}