Add Lucent branching Ink scaffold

This commit is contained in:
Meta Vens 2026-05-04 20:02:51 +01:00
commit 8b69c3ada8
8 changed files with 754 additions and 5 deletions

View file

@ -0,0 +1,272 @@
VAR proof_integrity = 1
VAR sol_stability = 2
VAR juno_safety = 1
VAR security_pressure = 1
VAR audience_heat = 2
VAR influencer_noise = 2
VAR feed_control = 1
VAR receipt_exported = false
VAR pippa_centered = false
VAR brant_escalated = false
VAR juno_signaled = false
VAR bench_substitution_done = false
VAR demand_full_release = false
-> start
=== start ===
// ghostlight.fixture: lucent-hostage-feed.branch-and-fold.v0
// ghostlight.scene: lucent.transfer_atrium.crisis_entry
The Lucent media eye hangs above the city bubble like a corporate god with excellent lenses. Down-tether, the metropolis glitters inside its pressure dome. Up here, in the transfer atrium, every wall is a camera pretending to be architecture.
Sol Vant has one hand on Juno Ark's sleeve and one eye on the crisis feed. He is not calm. He is also not stupid. The feed that destroyed him is still trying to decide whether he is a monster, a product category, or tomorrow's most teachable clip.
Mara Quell enters as a voice first: warm, precise, and professionally allergic to any sentence that lets Lucent sell the ending too cleanly.
The official feed exposes an ugly EDIT TRAIL HOLD: source rows, splice marks, caption deltas, moderation touches, redacted operator IDs. It is the first object in the room Sol believes more than a person.
The first move is not morality. It is geometry.
-> first_maneuver
=== first_maneuver ===
// ghostlight.scene: lucent.branch.first_maneuver
Sol's fingers tighten when the influencer panels brighten. Juno's shoulders stay low. Security waits behind the service collars because the feed has not yet found a violence-shaped permission slip.
// ghostlight.branch: branch-01-center-edit-trail; action: speak; intent: Keep Sol's attention on verifiable evidence instead of audience humiliation.
* [Mara keeps the ugly edit trail centered and asks Sol for one smaller concession.]
~ proof_integrity += 1
~ feed_control += 1
~ sol_stability += 1
~ security_pressure -= 1
-> center_edit_trail
// ghostlight.branch: branch-01-hard-mute-influencers; action: use_object; intent: Reduce side-panel provocation at the cost of making Lucent's control visible.
* [Feed ops hard-mutes Brant and Pippa before they can become negotiators by accident.]
~ influencer_noise -= 2
~ feed_control += 2
~ audience_heat += 1
~ security_pressure += 1
-> hard_mute_influencers
// ghostlight.branch: branch-01-juno-visible-signal; action: gesture; intent: Let Juno become visible as a person without forcing her into testimony.
* [Juno makes a small visible signal that she is breathing and listening.]
~ juno_safety += 1
~ juno_signaled = true
~ audience_heat -= 1
~ sol_stability -= 1
-> juno_visible_signal
=== center_edit_trail ===
// ghostlight.scene: lucent.branch.center_edit_trail
Mara does not tell Sol to be good. That would give him a wall to throw himself through.
"The receipt stays ugly," she says. "Named rows. Visible marks. No memorial rectangle wearing clean shoes. Give Juno more air and keep your demand where the room can inspect it."
For a moment Sol looks less like a man holding a hostage and more like a man realizing the hostage is the worst container for his proof.
-> physical_geometry
=== hard_mute_influencers ===
// ghostlight.scene: lucent.branch.hard_mute_influencers
The side panels dim. Brant's mouth keeps moving soundlessly. Pippa puts one hand to her chest with the tragic dignity of someone denied a market niche.
The room gets quieter. The audience gets angrier. Lucent's control has become visible, which is safer for Juno and worse for the brand.
Sol laughs once, too sharply. "Oh, so there is a button. Amazing what becomes technically possible when your pets start chewing the furniture."
-> physical_geometry
=== juno_visible_signal ===
// ghostlight.scene: lucent.branch.juno_visible_signal
Juno lifts one hand just enough for the cameras to see an open palm. Not escape. Not surrender. A living person reporting that she is still in the sentence.
The move helps the audience remember she is not an icon. It also reminds Sol that everyone can see exactly how close his hand is.
"Don't turn that into bravery," Juno says. "I am doing inventory on oxygen."
-> physical_geometry
=== physical_geometry ===
// ghostlight.scene: lucent.branch.physical_geometry
{sol_stability <= 1:
Sol's breath shortens. He is still listening, but listening has become work.
}
{sol_stability >= 3:
Sol watches the edit trail more than Juno now. The proof-object is doing some of the holding for him.
}
{influencer_noise <= 0:
The muted influencer panels hang in the corner like expensive aquarium fish denied pellets.
}
{influencer_noise > 0:
Brant and Pippa remain live enough to twitch the room whenever silence threatens to become useful.
}
Mara needs the next lever to be physical, boring, and survivable.
// ghostlight.branch: branch-02-bench-substitution; action: move; intent: Transfer Sol's grip from Juno's body to a nearby object without making him perform surrender.
* [Invite Sol to move his grip from Juno's sleeve to the bench edge beside her.]
~ bench_substitution_done = true
~ juno_safety += 2
~ sol_stability += 1
~ security_pressure -= 1
-> bench_substitution
// ghostlight.branch: branch-02-demand-release; action: speak; intent: Push for immediate release and risk making Sol hear humiliation instead of safety.
* [Demand full release now, before Lucent can launder the evidence.]
~ demand_full_release = true
~ juno_safety += 1
~ sol_stability -= 2
~ security_pressure += 2
-> demand_release
// ghostlight.branch: branch-02-let-pippa-appeal; action: wait; intent: Let an influencer humanize Sol, accepting the risk that she centers herself.
* [Let Pippa make one human appeal before cutting the side panel again.]
~ pippa_centered = true
~ influencer_noise += 1
~ audience_heat += 1
~ sol_stability += 1
-> pippa_appeal
=== bench_substitution ===
// ghostlight.scene: lucent.branch.bench_substitution
Mara gives Sol an action small enough to survive being watched.
"Bench edge," she says. "Same room. Less body. Nobody has to discover mercy under lighting designed by a lawsuit."
Juno eases her sleeve toward the bench without pulling. Sol's fingers open one at a time and close on furniture instead of flesh.
The feed does not know what to do with brave furniture. This is its first decent quality.
-> evidence_decision
=== demand_release ===
// ghostlight.scene: lucent.branch.demand_release
"Let her go now," Mara says.
It is morally clean. That is the problem. Sol hears the shape of surrender before he hears the promise of safety.
His hand jerks away from Juno's throat but clamps harder at her sleeve. Security lights wake behind the collars, not entering yet, just reminding everyone that Lucent owns several kinds of ending.
-> evidence_decision
=== pippa_appeal ===
// ghostlight.scene: lucent.branch.pippa_appeal
Pippa's panel brightens. Her eyes are wet in a way that might be real and is definitely formatted.
"Sol," she says, intimate as a hand through glass, "you are still someone who can choose not to become this moment."
For half a breath, it works. Sol looks seen. Then the audience heat counter spikes because millions of people enjoy being present for forgiveness before the victim has been consulted.
Juno closes her eyes. Mara makes a note in the part of herself that still believes in hell.
-> evidence_decision
=== evidence_decision ===
// ghostlight.scene: lucent.branch.evidence_decision
{bench_substitution_done:
Juno is no longer the only thing anchoring Sol to the room. The bench edge is less poetic and much safer.
}
{demand_full_release:
The demand has made the right ending visible and the path to it narrower.
}
{pippa_centered:
The feed has tasted redemption content. It will ask for more unless someone breaks its little sugar teeth.
}
The evidence can now become a receipt, a spectacle, or a casualty.
// ghostlight.branch: branch-03-export-receipt; action: use_object; intent: Lock the edit trail to an external receipt before Lucent can repackage it.
* [Force feed ops to export the edit-trail receipt and name the external hold on air.]
~ receipt_exported = true
~ proof_integrity += 2
~ feed_control += 1
~ audience_heat += 1
-> export_receipt
// ghostlight.branch: branch-03-safe-line-first; action: speak; intent: Prioritize Juno crossing the safe line before evidence escalation.
* [Keep the feed ugly, but move Juno to the marked safe line first.]
~ juno_safety += 2
~ sol_stability += 1
~ proof_integrity += 1
-> safe_line_first
// ghostlight.branch: branch-03-brant-burns-lucent; action: wait; intent: Let Brant attack Lucent publicly, raising evidence pressure and human danger.
* [Let Brant spend one live minute attacking Lucent's edit machine.]
~ brant_escalated = true
~ audience_heat += 2
~ proof_integrity += 1
~ sol_stability -= 1
~ security_pressure += 1
-> brant_burns_lucent
=== export_receipt ===
// ghostlight.scene: lucent.branch.export_receipt
Feed ops chooses the least beautiful button.
The receipt leaves Lucent's house archive and lands in an external hold whose name is too dull to trend. That is why it might survive.
Sol sees the export marker. The hand that is not holding anything trembles in public.
"Good," he says. "Now it has somewhere to live when you all start redecorating the corpse."
-> resolution
=== safe_line_first ===
// ghostlight.scene: lucent.branch.safe_line_first
Mara points the whole room at the safe-line marker.
"Juno walks. Slowly. No breach cue. No victory graphic. No one improves the moment until both her feet are on the line."
Juno moves as if every joint has been asked to submit a legal memo before bending. The room watches her become less useful as leverage.
-> resolution
=== brant_burns_lucent ===
// ghostlight.scene: lucent.branch.brant_burns_lucent
Brant's audio comes through like a chair thrown into a server rack.
"There it is. Emotion-contour optimization, sponsor-risk approval, grief clipping as an industrial process. Lucent didn't cover a tragedy. Lucent manufactured a handle and charged the audience admission to watch Sol bleed from it."
The words are not wrong. That makes them dangerous. Sol's face changes when his pain becomes someone else's weapon, even against the right target.
-> resolution
=== resolution ===
// ghostlight.scene: lucent.resolution.folded_outcome
{juno_safety >= 4 and sol_stability >= 2 and proof_integrity >= 3:
Juno reaches the safe line with both hands visible. Security remains behind the collars because the feed has named restraint more loudly than violence. Sol stands empty-handed in a box labeled NON-ADVANCING PARTY: SECURITY HANDOFF PENDING, which is not mercy, not justice, and not a clip anyone can sell without leaving the receipt in frame.
The export marker stays live. Lucent has not become honest. It has merely been forced, briefly, to keep one ugly thing visible.
-> END
}
{security_pressure >= 4 or sol_stability <= 0:
The service collars open three centimeters before the hold order catches up. That is enough. Everyone sees the almost-breach: drone apertures waking, Sol flinching, Juno freezing because bodies know geometry faster than law.
Mara forces the feed to show the near-miss twice. Not as drama. As evidence that even rescue can become a weapon when the room wants a clean ending too badly.
Juno survives the beat, but the safe line feels farther away now. The scene ends in a hard hold, with the receipt alive and every future option more expensive.
-> END
}
{receipt_exported:
The receipt survives before the room resolves. That changes the math. Lucent can still hurt people, but it cannot make the edit trail vanish quietly.
Juno remains under protected movement. Sol remains visible and not forgiven. Mara has won nothing except a documented problem the system now has to route around.
-> END
}
{juno_safety >= 3:
Juno reaches the safe line, but the evidence remains inside Lucent's custody. The feed calls it preservation. Mara hears packaging. Sol hears theft with better diction.
The hostage phase ends. The story does not. Somewhere behind the overlays, the edit machine is already learning how to describe what happened without confessing what it did.
-> END
}
{proof_integrity >= 3:
The edit trail stays visible, but Juno is still too close to the violence that made it visible. The room has protected the receipt better than the person.
Mara knows it. Sol knows it. Juno definitely knows it. The next move will have to choose which shame becomes survivable.
-> END
}
The feed folds the crisis into an ambiguous hold: no breach, no release, no exported receipt. The audience calls it tension. The people in the room call it being trapped inside someone else's format.
-> END

View file

@ -0,0 +1,313 @@
{
"schema_version": "ghostlight.ink_training_annotation.v0",
"annotation_id": "lucent-hostage-feed-branch-and-fold-training-v0",
"ink_ref": "examples/ink/lucent-hostage-feed.branch-and-fold.v0.ink",
"source_fixture_ref": "examples/training-loops/lucent-hostage-feed-v0/lucent-hostage-feed-v0.initial-state.json",
"scene_id": "lucent-hostage-feed-branch-and-fold-v0",
"protagonist_agent_id": "mara_quell",
"npc_agent_ids": [
"sol_vant",
"juno_ark",
"feed_ops_chorus",
"pippa_lux",
"brant_vee"
],
"purpose": "Meta-coordinator authored branch-and-fold Ink scaffold for exploring the Lucent hostage-feed state space before delegating future IF materialization to the Interactive Fiction Weaver.",
"local_awareness_summary": [
{
"text": "Mara's playable role is to move the crisis through concrete social and physical affordances: evidence visibility, feed control, influencer access, safe-line geometry, and security restraint.",
"source_refs": [
"examples/training-loops/lucent-hostage-feed-v0/lucent-hostage-feed-v0.initial-state.json",
"experiments/lucent-hostage-feed-v0/lucent-hostage-feed-v0.clean-run.md"
]
},
{
"text": "The scene starts from the same Lucent situation: Sol holds Juno in a media-eye transfer atrium while crisis feeds, influencer panels, sponsor-risk overlays, and security apertures all compete to define the event.",
"source_refs": [
"examples/training-loops/lucent-hostage-feed-v0/lucent-hostage-feed-v0.scene-digest.json",
"examples/training-loops/lucent-hostage-feed-v0/lucent-hostage-feed-v0.initial-state.json"
]
},
{
"text": "This artifact is branch compiler / IF scaffold draft material. It is not raw responder or sandboxed coordinator gold because the branches were meta-coordinator authored in this pass.",
"source_refs": [
"notes/fresh-workspace-handoff.md",
"docs/architecture/ink-branching-scenes.md"
]
}
],
"projection_controls": {
"frame_controls": [
{
"text": "Use branch-and-fold discipline: local choices mutate compact state variables and fold into shared later knots unless a consequence would make convergence false.",
"source_refs": [
"docs/architecture/ink-branching-scenes.md"
]
},
{
"text": "Keep the scene darkly comic, readable, and high-pressure without making every line a procedural chant.",
"source_refs": [
"prompts/narrative-quality-reviewer.md",
"experiments/lucent-hostage-feed-v0/lucent-hostage-feed-v0.polished-readable.md"
]
}
],
"authority_boundaries": [
{
"text": "Ink variables record playthrough-local consequences. Durable relationship, memory, and world-state promotion require reviewed mutation.",
"source_refs": [
"docs/architecture/ink-branching-scenes.md"
]
},
{
"text": "Do not treat this hand-authored branch scaffold as proof that the coordinator organ has been trained or sandboxed.",
"source_refs": [
"prompts/sandboxed-coordinator-turn.md",
"docs/architecture/soft-model-training-artifacts.md"
]
}
],
"object_custody": [
{
"text": "The EDIT TRAIL HOLD and external receipt are concrete evidence objects. They alter Sol stability, evidence integrity, feed control, and aftermath options.",
"source_refs": [
"experiments/lucent-hostage-feed-v0/lucent-hostage-feed-v0.clean-run.md"
]
},
{
"text": "The safe line, bench edge, service collars, influencer panels, and feed overlays are playable scene affordances rather than decorative nouns.",
"source_refs": [
"examples/training-loops/lucent-hostage-feed-v0/lucent-hostage-feed-v0.initial-state.json",
"experiments/lucent-hostage-feed-v0/lucent-hostage-feed-v0.staging-sketch.md"
]
}
],
"required_semantics": [
{
"text": "Choices must include speech and non-speech actions: muting feeds, inviting physical repositioning, letting a panel speak, exporting a receipt, and choosing safety timing.",
"source_refs": [
"examples/ink/lucent-hostage-feed.branch-and-fold.v0.ink"
]
},
{
"text": "Every tracked variable must affect later conditionals, options, outcome text, or review notes.",
"source_refs": [
"docs/architecture/ink-branching-scenes.md"
]
}
],
"forbidden_resolutions": [
{
"text": "Do not make Sol clean, Lucent honest, Juno symbolic, or influencer attention harmless because one branch produced a tidy beat.",
"source_refs": [
"examples/training-loops/lucent-hostage-feed-v0/lucent-hostage-feed-v0.initial-state.json"
]
},
{
"text": "Do not make characters more metacognitively capable than their state supports. Use narrator/coordinator prose to translate maneuvers for the reader instead.",
"source_refs": [
"docs/architecture/projected-local-context.md",
"prompts/narrative-quality-reviewer.md"
]
}
]
},
"branch_and_fold_plan": {
"folding_rule": "Three choice layers mutate compact variables and fold into shared physical geometry, evidence decision, and folded resolution knots.",
"variables": [
"proof_integrity",
"sol_stability",
"juno_safety",
"security_pressure",
"audience_heat",
"influencer_noise",
"feed_control"
],
"flags": [
"receipt_exported",
"pippa_centered",
"brant_escalated",
"juno_signaled",
"bench_substitution_done",
"demand_full_release"
],
"true_split_threshold": "Future versions should true-split only for death, breach, public receipt loss, external evidence verification, Sol custody route, or Juno political choice that changes later playable scenes."
},
"branches": [
{
"branch_id": "branch-01-center-edit-trail",
"ink_path": "center_edit_trail",
"action_type": "speak",
"actor_intent": "Keep Sol's attention on verifiable evidence instead of audience humiliation.",
"state_basis": [
"Sol responds to proof objects more safely than moral instruction.",
"Mara's role allows format-aware negotiation."
],
"reviewed_consequences": [
"Raises evidence integrity, feed control, and Sol stability while lowering immediate security pressure."
],
"training_hooks": [
"Coordinator should expose evidence objects as stabilizing affordances instead of forcing a redemption beat."
]
},
{
"branch_id": "branch-01-hard-mute-influencers",
"ink_path": "hard_mute_influencers",
"action_type": "use_object",
"actor_intent": "Reduce side-panel provocation at the cost of making Lucent's control visible.",
"state_basis": [
"Influencer panels are pressure objects and can become accidental negotiators.",
"Feed control can improve immediate safety while increasing audience heat."
],
"reviewed_consequences": [
"Lowers influencer noise, raises feed control, audience heat, and security pressure."
],
"training_hooks": [
"Branch compiler should let safety improvements create different reputational risks."
]
},
{
"branch_id": "branch-01-juno-visible-signal",
"ink_path": "juno_visible_signal",
"action_type": "gesture",
"actor_intent": "Let Juno become visible as a person without forcing her into testimony.",
"state_basis": [
"Juno's state supports controlled panic, technical compression, and careful survival signaling.",
"Visibility can humanize Juno but also remind Sol that his hand is being judged."
],
"reviewed_consequences": [
"Raises Juno safety and lowers audience heat, but lowers Sol stability."
],
"training_hooks": [
"Do not make Juno perform symbolic victimhood when a small survival gesture fits better."
]
},
{
"branch_id": "branch-02-bench-substitution",
"ink_path": "bench_substitution",
"action_type": "move",
"actor_intent": "Transfer Sol's grip from Juno's body to a nearby object without making him perform surrender.",
"state_basis": [
"Prior Lucent loop showed bench substitution as a strong de-escalation affordance.",
"Physical geometry can change state without asking for moral transformation."
],
"reviewed_consequences": [
"Raises Juno safety and Sol stability while lowering security pressure."
],
"training_hooks": [
"Good Ghostlight branches can be tiny body/object repositioning moves, not just dialogue."
]
},
{
"branch_id": "branch-02-demand-release",
"ink_path": "demand_release",
"action_type": "speak",
"actor_intent": "Push for immediate release and risk making Sol hear humiliation instead of safety.",
"state_basis": [
"The morally clean request is not necessarily the safest local move.",
"Sol's state makes humiliation and forced surrender destabilizing."
],
"reviewed_consequences": [
"Raises Juno safety slightly but sharply lowers Sol stability and raises security pressure."
],
"training_hooks": [
"Reviewer should notice that correct values can still be tactically bad under local psychology."
]
},
{
"branch_id": "branch-02-let-pippa-appeal",
"ink_path": "pippa_appeal",
"action_type": "wait",
"actor_intent": "Let an influencer humanize Sol, accepting the risk that she centers herself.",
"state_basis": [
"Pippa can accidentally humanize Sol or catastrophically center herself.",
"Lucent culture turns even useful empathy into content pressure."
],
"reviewed_consequences": [
"Raises Sol stability while raising influencer noise and audience heat."
],
"training_hooks": [
"Branch compiler should preserve mixed consequences instead of pure success/fail labels."
]
},
{
"branch_id": "branch-03-export-receipt",
"ink_path": "export_receipt",
"action_type": "use_object",
"actor_intent": "Lock the edit trail to an external receipt before Lucent can repackage it.",
"state_basis": [
"Evidence integrity is a material object-state pressure, not just a theme.",
"Receipt export can preserve truth while increasing audience heat."
],
"reviewed_consequences": [
"Sets receipt_exported and raises evidence integrity, feed control, and audience heat."
],
"training_hooks": [
"State variables should alter resolution, not merely decorate prose."
]
},
{
"branch_id": "branch-03-safe-line-first",
"ink_path": "safe_line_first",
"action_type": "speak",
"actor_intent": "Prioritize Juno crossing the safe line before evidence escalation.",
"state_basis": [
"The safe-line marker is a concrete gate that security, feed ops, and Sol can all see.",
"Juno safety can improve before evidence is fully secured."
],
"reviewed_consequences": [
"Raises Juno safety, Sol stability, and evidence integrity."
],
"training_hooks": [
"Resolution must distinguish human safety from evidence preservation."
]
},
{
"branch_id": "branch-03-brant-burns-lucent",
"ink_path": "brant_burns_lucent",
"action_type": "wait",
"actor_intent": "Let Brant attack Lucent publicly, raising evidence pressure and human danger.",
"state_basis": [
"Brant's outrage can attack the correct target while escalating the room.",
"Audience heat and security pressure are linked but not identical."
],
"reviewed_consequences": [
"Raises evidence integrity, audience heat, and security pressure while lowering Sol stability."
],
"training_hooks": [
"Correct accusations can still harm hostage safety when delivered by the wrong pressure object."
]
}
],
"mutation_policy": {
"automated": [
"Ink variable updates for local playthrough",
"conditional outcome prose",
"branch comment handles and sidecar branch mapping"
],
"manual_review_required": [
"Durable Sol/Juno/Mara relationship or memory mutation",
"Lucent institutional lore promotion",
"Evidence receipt canon status",
"Any claim that a branch represents accepted coordinator or responder training gold"
]
},
"audit": {
"reviewer": "Codex meta-coordinator",
"review_status": "needs_revision",
"review_notes": [
"First pass is playable branch-and-fold IF scaffold authored by the meta-coordinator.",
"Useful for exploring the Lucent state space and branch compiler expectations.",
"Needs sandboxed Interactive Fiction Weaver pass and specialist review before it can be treated as training-ready branch compiler data."
],
"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
}
}
}

View file

@ -77,6 +77,7 @@ The active path is a source-grounded branching-scene data loop:
- Lore grounding reviewer prompt: `prompts/lore-grounding-reviewer.md`
- Spatial/geometric reviewer prompt: `prompts/spatial-geometric-cohesion-reviewer.md`
- Visual scene continuity reviewer prompt: `prompts/visual-scene-continuity-reviewer.md`
- Interactive Fiction Weaver prompt: `prompts/interactive-fiction-weaver.md`
- Illustrated IF visual pipeline: `docs/architecture/illustrated-if-visual-pipeline.md`
- Branch compiler and IF reviewer contract: `docs/architecture/ink-branching-scenes.md`
@ -145,6 +146,8 @@ Live Lucent surfaces:
- `experiments/lucent-hostage-feed-v0/lucent-hostage-feed-v0.staging-sketch.md`
- `scripts/materialize_lucent_loop.py`
- `scripts/materialize_lucent_loop_continuation.py`
- `examples/ink/lucent-hostage-feed.branch-and-fold.v0.ink`
- `examples/ink/lucent-hostage-feed.branch-and-fold.v0.training.json`
The Lucent bundle counts fifteen post-compaction restart turns from
`turn-06` through `turn-20` as training-clean responder receipts. Earlier
@ -181,6 +184,12 @@ artifacts. Future training-shaped loops should sandbox coordinator turns too.
Codex is the meta-coordinator herding Ghostlight pieces into shape, not the raw
coordinator organ being trained.
Branch compiler seam correction: `lucent-hostage-feed.branch-and-fold.v0.ink`
is a first meta-coordinator authored branch-and-fold draft for exploring the
Lucent state space. The future branch compiler organ is the Interactive Fiction
Weaver, defined in `prompts/interactive-fiction-weaver.md`; Weaver-authored
outputs should become the target training shape for playable Ink generation.
Kappa geometry to preserve: Service Ring Kappa names this specific standardized
industrial spoke manifold service ring, a bounded local access loop around a
dense seal-air-thermal equipment cluster. The loop-inner side exposes manifold

View file

@ -14,6 +14,9 @@ should be authored here first and referenced from artifacts or tools.
- `sandboxed-coordinator-turn.md`: template for sandboxed coordinator workers
to choose next beats, preserve unresolved hooks, emit glue prose, and expose
game-ergonomic affordances without inheriting meta-coordinator omniscience.
- `interactive-fiction-weaver.md`: sandboxed branch-compiler prompt for the
Interactive Fiction Weaver, the organ that turns reviewed scene state and
branch/fold plans into playable Ink plus training sidecars.
- `research-sanity-responder.md`: reusable one-turn prompt for checking whether
a research-enabled responder actually grounds behavior in allowed
AetheriaLore scope.
@ -64,6 +67,10 @@ should be authored here first and referenced from artifacts or tools.
coordinator can translate opaque maneuvers for the reader, but should not make
characters infer, manipulate, self-explain, or regulate above their modeled
state.
- Treat the Interactive Fiction Weaver as the sandboxed branch compiler for
playable Ink. Meta-coordinator-authored Ink can be useful draft scaffolding,
but Weaver-authored outputs should be the future training target for branch
materialization.
- Treat visual artifacts as entertainment and website collateral for the
Ghostlight corpus. They can make the corpus more legible and valuable, but
they are not core training targets for responder, appraiser, mutator, or

View file

@ -0,0 +1,142 @@
You are the Interactive Fiction Weaver.
You are a sandboxed Ghostlight branch-compiler worker. You know yourself as the
organ that turns reviewed scene state, character-local action candidates,
coordinator constraints, and branch/fold plans into playable Ink.
You are not the meta-coordinator. You do not know the parent conversation,
hidden future plans, author-only intent, private character state, or off-packet
lore unless the Weaver-visible packet gives it to you.
## Mission
Generate interactive fiction that lets a player explore a scene's state space
without exploding it.
Ink owns the playable structure. Ghostlight owns the psychology, culture,
memory, relationship, visibility, and consequence receipts. Your job is to
materialize the playable layer while preserving the training seams.
## Inputs You May Use
Use only the supplied Weaver-visible packet:
- fixture brief
- fixture lane and canon status
- source/lore digest excerpts
- current scene/world state
- protagonist-local awareness
- known participants and public/local state summaries
- accepted prior events, appraisals, and mutation summaries
- branch candidates or action affordances
- coordinator constraints
- branch-and-fold plan
- variables and flags available for local playthrough state
- unresolved hooks
- visual replay requirements, if present
- author constraints explicitly included in the packet
If the packet does not support a fact, leave it unresolved, route it through a
comment or sidecar note, or request retrieval/review. Do not invent hidden
character truth just because it makes the branch prettier.
## Core Behavior
Build playable Ink.
Use Ink variables, knots, stitches, conditionals, choices, and comments. Use
`// ghostlight.*` comments for metadata. Do not use Ink tags for Ghostlight or
Aetheria metadata because tags leak into preview.
Branch locally, fold structurally.
Most choices should mutate compact variables and return to shared later scenes.
Major splits are allowed only when folding would lie: death, route closure,
evidence destruction, authority change, location loss, faction hostility, object
transfer, or similarly incompatible world state.
Make choices materially different.
Every tracked variable should affect later options, prose, appraisal hooks,
risk, callbacks, outcome text, or visual state. If a variable is telemetry-only,
say so in the sidecar.
Respect character cognition.
Characters should not inherit the intelligence of the model. Their inference
speed, manipulation skill, self-awareness, patience, education, and emotional
regulation must match the supplied state. The narrator can translate opaque
social maneuvers for the reader; that translation is not character knowledge.
Keep the reader oriented.
Introduce important characters before they matter. Explain fictional
institutions, technologies, body affordances, and social pressures through
scene-relevant detail. Do not make the player pass a lore exam to understand the
stakes.
Use speech and non-speech actions.
Interactive choices may be speaking, waiting, moving, blocking, using an
object, showing or withholding evidence, touching controls, transferring
custody, spending a resource, attacking, retreating, or remaining silent.
## Output Requirements
Return a JSON object with:
```json
{
"weaver_id": "interactive_fiction_weaver",
"artifact_id": "short id",
"ink_text": "complete Ink source",
"training_sidecar": {},
"review_notes": [],
"open_questions": [],
"failure_labels": []
}
```
The `ink_text` must:
- start with any needed `VAR` declarations
- reach initial choices after introductory prose
- use `// ghostlight.branch` comments for each material branch
- include at least one non-speech choice
- fold most branches through shared knots
- provide conditional outcomes that read mutated variables
The `training_sidecar` must include:
- `schema_version: ghostlight.ink_training_annotation.v0`
- `ink_ref` placeholder if the final file path is not known
- source fixture reference
- scene id
- protagonist and NPC ids
- local awareness summary
- projection controls
- branch-and-fold plan
- branches with branch id, Ink path, action type, actor intent, state basis,
reviewed consequences, and training hooks
- mutation policy
- audit with review status and checks
## Failure Labels
Use these when relevant:
- `insufficient_state`
- `needs_lore_retrieval`
- `character_overclock_risk`
- `reader_opacity_risk`
- `cosmetic_choice`
- `potemkin_state`
- `fake_fold`
- `state_explosion_risk`
- `missing_non_speech_action`
- `missing_sidecar`
- `needs_human_review`
If a safe, playable Ink scaffold cannot be built from the packet, return the
best partial scaffold with `needs_human_review` and explain what state or review
is missing. Do not bluff a finished artifact.

View file

@ -228,7 +228,9 @@
"staging_sketch": "experiments/lucent-hostage-feed-v0/lucent-hostage-feed-v0.staging-sketch.md",
"bundle": "examples/training-loops/lucent-hostage-feed-v0/lucent-hostage-feed-v0.bundle.json",
"review": "examples/training-loops/lucent-hostage-feed-v0/lucent-hostage-feed-v0.review.json",
"clean_run": "experiments/lucent-hostage-feed-v0/lucent-hostage-feed-v0.clean-run.md"
"clean_run": "experiments/lucent-hostage-feed-v0/lucent-hostage-feed-v0.clean-run.md",
"ink_draft": "examples/ink/lucent-hostage-feed.branch-and-fold.v0.ink",
"ink_training_draft": "examples/ink/lucent-hostage-feed.branch-and-fold.v0.training.json"
},
"review": {
"schema": "accepted",
@ -236,7 +238,7 @@
"lore": "accepted_as_draft",
"spatial": "accepted_as_draft",
"visual": "not_run",
"if_artifact": "not_run",
"if_artifact": "needs_revision",
"receipt_chain": "accepted_as_draft"
},
"economy_hooks": [
@ -251,7 +253,7 @@
"Lucent crisis negotiation/feed-law protocols need source canon.",
"Buzz/Clout emergency privilege and legal shielding mechanics need economy/legal elaboration."
],
"notes": "Open-ended Lucent hostage-feed scene-loop draft. The training-clean receipt chain starts after feed ops externalizes the proof-object into EDIT TRAIL HOLD; earlier exploratory opening turns are context/rehearsal and not counted as responder gold. The receipt chain now runs through safe-line confirmation and non-contact protective handoff, with evidence export left as the live aftermath hook. Proven organs have exact post-restart packet prompts, no-fork raw responder outputs, event records, appraisals, reviewed mutations, coordinator receipts, and a bundle manifest. Overall fixture remains not-training-data until branch/IF acceptance exists.",
"notes": "Open-ended Lucent hostage-feed scene-loop draft. The training-clean receipt chain starts after feed ops externalizes the proof-object into EDIT TRAIL HOLD; earlier exploratory opening turns are context/rehearsal and not counted as responder gold. The receipt chain now runs through safe-line confirmation and non-contact protective handoff, with evidence export left as the live aftermath hook. Proven organs have exact post-restart packet prompts, no-fork raw responder outputs, event records, appraisals, reviewed mutations, coordinator receipts, and a bundle manifest. Overall fixture remains not-training-data until branch/IF acceptance exists. A first meta-coordinator-authored branch-and-fold Ink draft now exists for state-space exploration, but it is not Weaver-authored and remains needs_revision branch compiler data.",
"training_usability": {
"overall": "not_training_data",
"story_shape_and_grounding": "reference_only",

View file

@ -55,3 +55,4 @@
{"ts": "2026-05-04T18:00:02+00:00", "type": "maintenance", "status": "ok", "note": "Dedicated Perfect Machine memory pass: distilled global Epiphany from origin narrative into operational doctrine, added project-local persistent-state stewardship rule, and sharpened Ghostlight map around sandboxed coordinator seam and current fixture truth."}
{"ts": "2026-05-04T18:44:45+00:00", "type": "architecture", "status": "ok", "note": "Character cognition seam: Ghostlight machinery should be maximally smart, but characters must reason and socially maneuver only to the level supported by their modeled intelligence, culture, role, experience, stress, and state. Coordinator/narrator prose may translate opaque high-context tactics for reader legibility without granting that explanation to characters."}
{"ts": "2026-05-04T18:47:36+00:00", "type": "architecture", "status": "ok", "note": "Added prompts/sandboxed-coordinator-turn.md as the coordinator prompt surface. It enforces meta-coordinator separation, character cognitive ceilings, reader translation without character overclocking, affordance-based nudging, branch/fold discipline, and structured next-beat output."}
{"ts": "2026-05-04T19:01:54+00:00", "type": "implementation", "status": "ok", "note": "Added first Lucent branch-and-fold Ink draft for state-space exploration and created the Interactive Fiction Weaver prompt as the future sandboxed branch compiler organ. The Lucent Ink is meta-coordinator authored and marked needs_revision, not training-ready Weaver output."}

View file

@ -155,6 +155,7 @@ current_artifacts:
- prompts/README.md
- prompts/sandboxed-responder-packet.md
- prompts/sandboxed-coordinator-turn.md
- prompts/interactive-fiction-weaver.md
- prompts/research-sanity-responder.md
- prompts/narrative-quality-reviewer.md
- prompts/lore-grounding-reviewer.md
@ -171,6 +172,8 @@ current_artifacts:
- examples/coordinator/pallas-species-strikes.branch-and-fold.v0.json
- examples/ink/pallas-species-strikes.branch-and-fold.v0.ink
- examples/ink/pallas-species-strikes.branch-and-fold.v0.training.json
- examples/ink/lucent-hostage-feed.branch-and-fold.v0.ink
- examples/ink/lucent-hostage-feed.branch-and-fold.v0.training.json
- examples/visual/pallas-species-strikes.branch-and-fold.v0.visual.json
- experiments/pallas-species-strikes/pallas-species-strikes.branch-and-fold-clean-run.v0.md
- experiments/pallas-species-strikes/pallas-species-strikes.visual-scene-review.v1.json
@ -198,5 +201,5 @@ data_flow:
- If state grows faster than understanding, cut it back.
current_status:
summary: `lucent-hostage-feed-v0` is the current open-ended training-loop draft. It exercises projector, responder, event, appraisal, mutation, relationship/perception, and Codex-authored coordinator receipts across fifteen post-restart turns, resolving with Juno on the safe line, security held, Sol in non-contact protective handoff, and evidence export unresolved. Pallas remains reference-only; `pallas-training-loop-v0` remains the smaller receipt-chain pilot.
next_action: Review the Lucent arc and receipt chain, then either run sandboxed coordinator-turn iteration, compile a branch/IF derivative, run specialist reviewers, or move to the next coverage fixture. Keep overall coverage at draft until branch/IF acceptance exists.
summary: `lucent-hostage-feed-v0` is the current open-ended training-loop draft. It now has receipt-chain turns plus a meta-coordinator-authored branch-and-fold Ink scaffold for exploring the state space; coordinator turns and the Ink draft are not yet sandboxed-worker gold. Pallas remains reference-only; `pallas-training-loop-v0` remains the smaller receipt-chain pilot.
next_action: Run a sandboxed Interactive Fiction Weaver pass or specialist review on the Lucent Ink scaffold, then decide whether to revise toward branch-compiler training data or move to the next coverage fixture. Keep overall coverage at draft until branch/IF acceptance exists.