Prune obsolete prototype fixtures

This commit is contained in:
Meta Vens 2026-05-04 13:33:18 +01:00
commit 4b2156b055
231 changed files with 242 additions and 64682 deletions

View file

@ -1,8 +1,8 @@
# Documentation Inventory
# Documentation Inventory
Use this file as the navigation map for Ghostlight's docs. It classifies files
by job so architecture, planning, archived receipts, raw imports, research
backlog, and state ledgers do not slowly melt into one cursed binder.
by job so architecture, planning, prompts, state ledgers, and live examples do
not slowly melt into one cursed binder.
## Canonical Re-Entry And Planning
@ -55,18 +55,9 @@ backlog, and state ledgers do not slowly melt into one cursed binder.
training concept.
- `docs/architecture/schema-future-mechanisms.md`: future schema organs waiting
for more evidence.
- `docs/architecture/aetheria-cold-wake-training-fixture.md`: Cold Wake fixture
notes and source-grounded room candidates.
- `notes/architecture-rationale.md`: rationale notes for major design
boundaries.
## Archived Experiments And Plumbing
- `docs/experiments/cold-wake-story-lab.md`: archived local-model/projection
experiment and failure lessons.
- `docs/architecture/qwen-invocation-notes.md`: archived local-model invocation
plumbing notes.
## Raw Imported Source
- `docs/aetheria/call-of-the-void-brainstorm.md`: raw imported brainstorming
@ -91,5 +82,6 @@ backlog, and state ledgers do not slowly melt into one cursed binder.
Architecture docs describe durable contracts. Live planning belongs in
`notes/ghostlight-implementation-plan.md`, `notes/fresh-workspace-handoff.md`,
and `state/map.yaml`. Archived experiments can keep history, but they must be
labeled as archives when their path stops being the active route.
and `state/map.yaml`. Experimental fixture receipts are not kept in the live
workspace once their lessons have been distilled into docs, state, or git
history.

View file

@ -1,4 +1,4 @@
# Ghostlight Fresh Workspace Handoff
# Ghostlight Fresh Workspace Handoff
Do not trust this file for the exact live HEAD. Use git for volatile truth.
@ -27,13 +27,12 @@ behavior, major faction decision-making, and technology/item manifest generation
## Current Focus
The active path is not the archived local-model prototype runner. The active
path is a source-grounded branching-scene data loop:
The active path is a source-grounded branching-scene data loop:
1. Source-ground Aetheria context.
2. Project canonical state into character-local operating context.
3. Build an exact responder packet.
4. Run a sandboxed responder with only the allowed packet/context/research scope.
4. Run a sandboxed responder with only allowed packet/context/research scope.
5. Capture raw output, consulted refs, research summary, reviewed output,
leakage audit, and coordinator interventions.
6. Apply only reviewed mutations into state, memory, relationships, perceived
@ -42,7 +41,8 @@ path is a source-grounded branching-scene data loop:
next scene/beat plan.
8. Let the branch compiler materialize playable Ink plus sidecar and compiler
notes from reviewed state and branch decisions.
9. Run IF artifact review before accepting the fixture as training data.
9. Run IF, narrative, lore, spatial, and visual review before accepting a
fixture as training data.
## Live Seams
@ -59,98 +59,16 @@ path is a source-grounded branching-scene data loop:
- Sandboxed responder prompt template: `prompts/sandboxed-responder-packet.md`
- Research sanity responder prompt template: `prompts/research-sanity-responder.md`
- Narrative quality reviewer prompt: `prompts/narrative-quality-reviewer.md`
- Visual scene continuity reviewer prompt:
`prompts/visual-scene-continuity-reviewer.md`
- Illustrated IF visual pipeline:
`docs/architecture/illustrated-if-visual-pipeline.md`
- Research-enabled Sella packet: `examples/responder-packets/scene-02-sanctuary-intake.sella_ren.packet.research.v0.json`
- Research-enabled Sella capture: `experiments/responder-packets/cold-wake-sanctuary-intake-sella-research-enabled-v0.capture.json`
- Research-enabled Sella mutation: `experiments/responder-packets/cold-wake-sanctuary-intake-sella-research-enabled-v0.mutation.json`
- Research-enabled aftermath state: `examples/agent-state.cold-wake-story-lab.after-sella-research-conditions.json`
- Trace-backed Veyr projected context: `examples/projected-contexts/scene-03-callisto-provenance.veyr_oss.projected-context.json`
- Trace-backed Veyr packet: `examples/responder-packets/scene-03-callisto-provenance.veyr_oss.packet.trace.v0.json`
- Trace-backed Veyr coordinator artifact: `examples/coordinator/cold-wake-callisto-provenance.v0.json`
- Trace-backed Veyr capture: `experiments/responder-packets/cold-wake-callisto-provenance-veyr-trace-v0.capture.json`
- Trace-backed Veyr mutation: `experiments/responder-packets/cold-wake-callisto-provenance-veyr-trace-v0.mutation.json`
- Trace-backed Veyr aftermath state: `examples/agent-state.cold-wake-story-lab.after-veyr-category-offer.json`
- Trace-backed Isdra projected context: `examples/projected-contexts/scene-04-convoy-threshold.isdra_vel.projected-context.json`
- Trace-backed Isdra packet: `examples/responder-packets/scene-04-convoy-threshold.isdra_vel.packet.trace.v0.json`
- Trace-backed Isdra coordinator artifact: `examples/coordinator/cold-wake-convoy-threshold.v0.json`
- Trace-backed Isdra capture: `experiments/responder-packets/cold-wake-convoy-threshold-isdra-trace-v0.capture.json`
- Trace-backed Isdra mutation: `experiments/responder-packets/cold-wake-convoy-threshold-isdra-trace-v0.mutation.json`
- Trace-backed Isdra aftermath state: `examples/agent-state.cold-wake-story-lab.after-isdra-limited-contact.json`
- Trace-backed Sella authorized-contact projected context: `examples/projected-contexts/scene-05-sanctuary-authorized-contact.sella_ren.projected-context.json`
- Trace-backed Sella authorized-contact packet: `examples/responder-packets/scene-05-sanctuary-authorized-contact.sella_ren.packet.trace.v0.json`
- Trace-backed Sella authorized-contact coordinator artifact: `examples/coordinator/cold-wake-sanctuary-authorized-contact.v0.json`
- Trace-backed Sella authorized-contact capture: `experiments/responder-packets/cold-wake-sanctuary-authorized-contact-sella-trace-v0.capture.json`
- Trace-backed Sella authorized-contact mutation: `experiments/responder-packets/cold-wake-sanctuary-authorized-contact-sella-trace-v0.mutation.json`
- Trace-backed Sella authorized-contact aftermath state: `examples/agent-state.cold-wake-story-lab.after-sella-bay-opened.json`
- Research sanity probe: `experiments/research-sanity/navigator-embodiment-sanity-v0.capture.json`
- Packet builder: `tools/build_responder_packet.py`
- Packet/output validators: `tools/validate_responder_packets.py`, `tools/validate_responder_outputs.py`
- Clean Cold Wake IF scaffold: `examples/ink/cold-wake-branch-and-fold.v0.ink`
- Clean Cold Wake IF sidecar: `examples/ink/cold-wake-branch-and-fold.v0.training.json`
- Clean Cold Wake coordinator artifact: `examples/coordinator/cold-wake-branch-and-fold.v0.json`
- Clean Cold Wake readable run: `experiments/cold-wake-story-lab/cold-wake-branch-and-fold-clean-run.v0.md`
- Pallas Species Strikes lore digest: `examples/lore-grounding/pallas-species-strikes.awakened-labor.v0.json`
- Pallas Species Strikes agent state: `examples/agent-state.pallas-species-strikes.v0.json`
- Pallas Species Strikes coordinator artifact: `examples/coordinator/pallas-species-strikes.branch-and-fold.v0.json`
- Pallas Species Strikes Ink scaffold: `examples/ink/pallas-species-strikes.branch-and-fold.v0.ink`
- Pallas Species Strikes Ink sidecar: `examples/ink/pallas-species-strikes.branch-and-fold.v0.training.json`
- Pallas Species Strikes visual plan: `examples/visual/pallas-species-strikes.branch-and-fold.v0.visual.json`
- Pallas Species Strikes readable run: `experiments/pallas-species-strikes/pallas-species-strikes.branch-and-fold-clean-run.v0.md`
- 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`
- Illustrated IF visual pipeline: `docs/architecture/illustrated-if-visual-pipeline.md`
- Branch compiler and IF reviewer contract: `docs/architecture/ink-branching-scenes.md`
Archived prototype captures and tools remain as evidence under `experiments/`,
`examples/ink/`, and old `run_qwen_*` helpers. They are useful receipts, not the
current gold-data route.
## Live Fixture
## Aetheria Doctrine
- Cold Wake is a historical pre-Elysium grounding fixture, not the product target.
- Call of the Void remains a consumer target for content generation and dialogue scaffolding.
- Elysium futures are branch-local canon indexed by lineage.
- Aetheria writing should not collapse into constant crisis or unmarked dry
technical severity. Adams/Pratchett-style wit-with-stakes is a useful default
touchstone: warmth, absurdity, humane observation, and institutional comedy
can carry real consequence. Other controlled modes are valid too, including
domestic comedy, noir, horror, wonder, romance, dour poetry, procedural
investigation, and dry systems prose.
- Before writing conflict, establish the life being interrupted when the fixture
calls for it: routines, work texture, relationships, private jokes, rituals,
status games, habits, small desires, and ordinary accommodations.
- Before generating Aetheria scenes, check lore for factions, movements,
institutions, species/body affordances, location, time period, infrastructure,
and material constraints.
- If a blocking lore gap appears, patch AetheriaLore narrowly before treating the
detail as available to Ghostlight.
- Generated environment images are mood and material references, not spatial
authority. For multi-angle or branch-consistent illustrated IF, use a durable
scene-set source such as a hand-built 3D blockout, procedural scene file,
layout asset, or camera map with named cameras, staging slots, routes, and
occluders. Imagegen should paint over camera-specific visual input instead
of preserving room topology from prior generated art.
- Technology exploration should emit database-shaped item/assembly/component/
supply-chain candidates mapped toward Aetheria-Economy's CultCache item model.
`CompoundCommodityData` includes colony-consumed manufactured trade goods, not
only gear assemblies or manufacturing inputs; a specialized habitat support
rig or species-specific workstation is the current example of generated
texture that should become a possible demand-profiled trade-good candidate.
- Corpus completeness requires broad Aetheria coverage, not repeated Cold Wake
refinement. Generate stories for every major faction, minor faction,
movement, and major flashpoint. Major factions need both founding-era and
day-in-the-life stories. All coverage stories should involve cultural
collision so faction and movement dynamics appear in the training data.
- Current rough corpus counts from AetheriaLore: 12 major powers, 21 minor
powers, 23 movements, 24 Pre-Elysium flashpoints, and 5 defunct/absorbed
powers. Baseline coverage is 92 story fixtures, or 97 with defunct powers;
the practical first broad target is 100-150 reviewed fixtures, not exhaustive
pairwise combinations.
## Current Next Action
Pallas Species Strikes now has a reviewer-revised accepted-as-draft
interactive-fiction scaffold:
Pallas Species Strikes is the current accepted-as-draft interactive-fiction
scaffold:
- `examples/lore-grounding/pallas-species-strikes.awakened-labor.v0.json`
- `examples/agent-state.pallas-species-strikes.v0.json`
@ -159,66 +77,74 @@ interactive-fiction scaffold:
- `examples/ink/pallas-species-strikes.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`
It starts in ordinary AU Bloom cavity-shell maintenance texture, introduces the
major participants before branch-only deepening, then escalates through Nara-7's
coordinated hazard refusal, baseline rigger solidarity pressure, BioElevate
liability framing, AU dry-operation cephalopod shell-artery leverage, and a folded
recognition/safety climax. The Ink now gates Nara's marked path and Teth's
bypass, gives `evidence_of_sentience`, `nara_centered`, and
`formal_stoppage` later reads, and gives visual plan states explicit trigger
mappings. It now segments the introduction, branch locations, Kappa red alert,
climax decision, and aftermath into click-through visual sections with
`visual_scene_id` anchors, stable `visual_character_refs`, a global Media
Molecule Dreams-style volumetric brushstroke cue, and imagegen-ready prompts
that explain fictional equipment in visible terms. Its location grounding now
uses the Bloom process correctly: engineered rotating shell, consolidated
asteroid aggregate, TCS substrate, seals, supports, and service systems,
with image prompts written as affirmative visible targets. Treat it as
coordinator/IF scaffold training data, not raw responder gold.
coordinated hazard refusal, baseline rigger solidarity pressure, supplier
liability framing, AU dry-operation cephalopod shell-artery leverage, and a
folded recognition/safety climax. Treat it as coordinator/IF scaffold training
data, not raw responder gold.
Latest visual pipeline lesson: the Pallas Kappa environment overview concept
image is useful as a vibe/material reference, but a follow-up scene prompt did
not preserve the room layout. Do not ask imagegen to act as a CAD intern. For
durable illustrated replay, build or reference a camera-specific blockout and
let imagegen handle the painterly pass.
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
faces and Kappa access ports on the machinery cluster. The loop-outer side holds
worker staging, the baseline anchor rail, lockers, carts, break ledge, and
access back toward yard systems. Kappa-7 False-Seam Artery, worker slang
`Rell's Cut`, is the specific dangerous passage. The Kappa operations gallery
sees the primary manifold/access-port segment, not the whole loop.
Kappa geometry correction to preserve across compaction: 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 faces on the machinery cluster. The loop-outer
side holds worker staging, the baseline anchor rail, lockers, carts, break
ledge, and access back toward yard systems. Kappa-3, Kappa-5, and Kappa-7 are
access ports in the loop-inner manifold face; Kappa-7 False-Seam Artery is the
specific dangerous passage, with worker slang `Rell's Cut`. A worker enters
Kappa-7 by moving locally inward into the equipment cluster; the passage then
routes Bloom-outward into shell arteries, seal-lung pockets, coolant bypass
cuffs, and pressure-shell inspection spaces. The Kappa operations gallery sees
the primary manifold/access-port segment, not the whole loop; the far loop
contains lower-observation break/access areas, hatches, lockers, and informal
worker coordination space. The baseline anchor rail is a loop-outer hardpoint
system that supports carts, rescue lines, and cross-lane lockout rigging to
floor sockets or inner service hardpoints; Orrin's crew can refuse to rig the
safe Kappa-7 access geometry, but the rail itself does not magically block the
inner access port.
Visual pipeline lesson: generated concept images are useful as vibe/material
reference, but they do not preserve room layout. Durable illustrated replay
needs a camera-specific blockout or scene-set source; imagegen handles the
painterly pass.
Next: add the corpus coverage ledger seam or choose the next Aetheria fixture
from the 100-150 broad coverage target.
## Aetheria Doctrine
- Call of the Void remains a consumer target for content generation and dialogue scaffolding.
- Elysium futures are branch-local canon indexed by lineage.
- Aetheria writing should support tonal range: warmth, absurdity, humane
observation, institutional comedy, domestic texture, noir, horror, wonder,
romance, dour poetry, procedural investigation, and dry systems prose.
- Before writing conflict, establish the life being interrupted when the fixture
calls for it: routines, work texture, relationships, private jokes, rituals,
status games, habits, small desires, and ordinary accommodations.
- Before generating Aetheria scenes, check lore for factions, movements,
institutions, species/body affordances, location, time period, infrastructure,
and material constraints.
- If a blocking lore gap appears, patch AetheriaLore narrowly before treating the
detail as available to Ghostlight.
- Technology exploration should emit database-shaped item/assembly/component/
supply-chain candidates mapped toward Aetheria-Economy's CultCache item model.
- Corpus completeness requires broad Aetheria coverage. Generate stories for
every major faction, minor faction, movement, and major flashpoint. Major
factions need both founding-era and day-in-the-life stories. All coverage
stories should involve cultural collision.
- Current rough corpus counts from AetheriaLore: 12 major powers, 21 minor
powers, 23 movements, 24 Pre-Elysium flashpoints, and 5 defunct/absorbed
powers. Baseline coverage is 92 story fixtures, or 97 with defunct powers;
the practical first broad target is 100-150 reviewed fixtures.
## Cleanup Note
The old prototype fixture receipts and model-runner files were removed
from the live workspace after their useful lessons were distilled into the
architecture docs, state map, and git history. Do not resurrect them as active
steering surfaces unless the user explicitly asks for archaeology.
## Current Next Action
Add the corpus coverage ledger seam or choose the next Aetheria fixture from the
100-150 broad coverage target.
## Warnings
- Keep persistent state small. Git history and artifacts own chronology.
- Do not let notes, map, handoff, and evidence become four versions of the same brain.
- Do not train on coordinator-repaired responder prose unless the repair is labeled.
- Do not accept branch fixtures without branch compiler notes and IF artifact
review once that seam is available.
- Do not let tracked variables, authority pressure, heat, evidence quality,
relationship bands, or visual modifiers remain decorative. If they are
tracked, they need consequence or an explicit telemetry-only label.
- Do not accept branch fixtures without branch compiler notes and IF artifact review.
- Do not let tracked variables, relationship bands, or visual modifiers remain decorative.
- Do not let Elysium branch futures overwrite Sol single-history facts.
- Do not rebuild the older corridor-crisis game slice by accident.
- Do not let "state-grounded" become "everyone speaks in crisis-procedure
clauses." State also explains jokes, quiet, tenderness, ritual, awkwardness,
boredom, and comfort.
- Do not treat parent-visible subagent output as proof of research. If the
parent cannot see tool calls, require explicit research trace entries or use a
runner that captures calls. Accepted research-enabled gold data needs
`runner_captured` trace status.
- Do not let state-grounded prose become one crisis-procedure voice.
- Treat subagent research as self-reported unless the worker returns explicit research notes or a future runner captures calls.

View file

@ -1,6 +1,6 @@
# Ghostlight Current System Map
# Ghostlight Current System Map
Ghostlight still does not have a full runtime. The live system is a set of
Ghostlight does not have a full runtime yet. The live system is a set of
validated artifact seams for producing reviewed training data.
## Control Flow
@ -37,16 +37,16 @@ Aetheria lore/source context
-> coordinator continuity and next-beat plan
-> branch compiler materializes Ink + sidecar + visual plan + compiler notes
-> IF artifact reviewer audits consequence, fold, and visual continuity
-> visual scene reviewer audits click-through segmentation and imagegen-ready prompts
-> narrative/lore/spatial/visual reviewers audit player-facing quality
-> accepted fixture / future training corpus + optional illustrated replay collateral
```
Responder packets are one seam, not the whole project. The current branching
scene path also requires coordinator receipts, branch compiler artifacts, and an
independent IF review pass before a fixture is accepted.
Responder packets are one seam, not the whole project. The branching scene path
also requires coordinator receipts, branch compiler artifacts, and independent
review before a fixture is accepted.
Tone is also a live seam. The system should preserve Aetheria's range instead
of defaulting to dry technical crisis prose: comic warmth, domestic routine,
Tone is a live seam. The system should preserve Aetheria's range instead of
defaulting to dry technical crisis prose: comic warmth, domestic routine,
ritual memory, weird bureaucracy, noir suspicion, wonder, horror, poetic dread,
and procedural systems pressure are all valid when source-grounded and
character-local. Adams/Pratchett-style wit-with-stakes is a useful default
@ -58,14 +58,7 @@ Illustrated IF fixtures need click-through sections with stable
characters, a global style cue when the visual language matters, imagegen-ready
base prompts, character visibility and stance controls, and branch/state
modifiers. This data belongs in a separate `.visual.json` artifact referenced
by the training sidecar, not inside the training annotation itself. 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. The visual reviewer judges the playable Ink
experience and visual plan; clean-run prose receipts are debugging mirrors, not
the reviewed visual surface.
by the training sidecar, not inside the training annotation itself.
Generated images are not geometry authority. They can establish visual mood,
materials, and concept direction, but multi-angle illustrated IF needs a durable
@ -84,73 +77,32 @@ the room.
- Responder packets: `schemas/responder-packet.schema.json`
- Responder outputs: `schemas/responder-output.schema.json`
- Ink branch contract: `docs/architecture/ink-branching-scenes.md`
- Illustrated IF visual pipeline:
`docs/architecture/illustrated-if-visual-pipeline.md`
- Illustrated IF visual pipeline: `docs/architecture/illustrated-if-visual-pipeline.md`
- Training stages and corpus gates: `docs/architecture/training-plan.md`
## Current Live Example
- Research-enabled packet:
`examples/responder-packets/scene-02-sanctuary-intake.sella_ren.packet.research.v0.json`
- It uses `responder_scoped_repository_search`, now treats `allowed_scope` as
seed scope, permits bounded traversal through relevant AetheriaLore links,
and requires `consulted_refs`, `followed_refs`, `research_trace`, plus
`research_summary`.
- First research-enabled capture:
`experiments/responder-packets/cold-wake-sanctuary-intake-sella-research-enabled-v0.capture.json`
- First research-enabled mutation receipt:
`experiments/responder-packets/cold-wake-sanctuary-intake-sella-research-enabled-v0.mutation.json`
- First research-enabled aftermath state:
`examples/agent-state.cold-wake-story-lab.after-sella-research-conditions.json`
- The capture is useful draft data. Its research trace is
`coordinator_reconstructed`, not `runner_captured`, so it audits the lore
constraints but does not prove the responder's actual tool path.
- Future accepted research-enabled gold captures must use `runner_captured`
research trace status.
- First accepted runner-traced coordinator-scoped sample:
`experiments/responder-packets/cold-wake-callisto-provenance-veyr-trace-v0.capture.json`
- It starts from `examples/agent-state.cold-wake-story-lab.after-sella-research-conditions.json`,
projects Veyr for `scene-03-callisto-provenance`, embeds coordinator-retrieved
lore as packet-visible source excerpts, runs a no-fork packet-only responder,
and mutates state into
`examples/agent-state.cold-wake-story-lab.after-veyr-category-offer.json`.
- Second accepted runner-traced coordinator-scoped sample:
`experiments/responder-packets/cold-wake-convoy-threshold-isdra-trace-v0.capture.json`
- It starts from `examples/agent-state.cold-wake-story-lab.after-veyr-category-offer.json`,
projects Isdra for `scene-04-convoy-threshold`, embeds coordinator-retrieved
lore on Cold Wake, PSC category law, Ganymede rescue ledgers, heat debt, and
Navigator mixed-interface spaces, then mutates state into
`examples/agent-state.cold-wake-story-lab.after-isdra-limited-contact.json`.
- Third accepted runner-traced coordinator-scoped sample:
`experiments/responder-packets/cold-wake-sanctuary-authorized-contact-sella-trace-v0.capture.json`
- It starts from `examples/agent-state.cold-wake-story-lab.after-isdra-limited-contact.json`,
projects Sella for `scene-05-sanctuary-authorized-contact`, embeds
coordinator-retrieved lore on Aya care capacity, Ganymede rescue ledgers,
Navigator mixed-interface clinics, Cold Wake category failure, and heat debt,
then mutates state into
`examples/agent-state.cold-wake-story-lab.after-sella-bay-opened.json`.
- Parent sessions currently receive only the subagent final message, not a
visible tool-call transcript. Treat subagent research as self-reported unless
the worker returns explicit research notes or a future runner captures calls.
- Clean accepted-as-draft IF scaffold:
`examples/ink/cold-wake-branch-and-fold.v0.ink`
- Its sidecar is
`examples/ink/cold-wake-branch-and-fold.v0.training.json`.
- Its coordinator artifact is
`examples/coordinator/cold-wake-branch-and-fold.v0.json`.
- Its readable run is
`experiments/cold-wake-story-lab/cold-wake-branch-and-fold-clean-run.v0.md`.
- This fixture is coordinator/IF scaffold data. It is not raw responder gold.
- The user review that exposed fake variables and cosmetic state is now seed
taxonomy for the IF artifact reviewer.
Pallas Species Strikes is the active accepted-as-draft coordinator/IF scaffold:
## Archived Receipts
- `examples/lore-grounding/pallas-species-strikes.awakened-labor.v0.json`
- `examples/agent-state.pallas-species-strikes.v0.json`
- `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/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`
Old local-model prototype files with `qwen` in their paths remain useful for
validation and lessons about structured-output failure, object custody,
embodiment, prompt leakage, and materialization. They are not active direction.
Do not let them steer gold responder data unless the task is explicitly model
plumbing.
The fixture is not raw responder gold. It is scaffold data for coordinator,
branch compiler, IF review, visual planning, lore grounding, and future corpus
shape.
## Pruned Receipts
Old prototype fixture receipts and model-runner files have been removed
from the live workspace. Their useful lessons belong in the architecture docs,
state map, evidence ledger, and git history. Do not reintroduce deleted receipt
paths as active state surfaces.
## Missing Or Incomplete Organs
@ -166,13 +118,14 @@ plumbing.
- Full scene/event loop implementation
- Culture prior engine
- Automatic promotion of branch outcomes into canonical state
- Corpus coverage ledger
## Current North Star
Generate high-quality, sandboxed, source-grounded branching-scene samples that
can later train specialized Ghostlight models while staying usable by a game
engine: exact inputs, exact outputs, provenance, review labels, state mutation
receipts, branch compiler artifacts, IF review findings, visual scene plans,
and clear branch consequences. The samples should also train tonal control: a
receipts, branch compiler artifacts, IF review findings, visual scene plans, and
clear branch consequences. The samples should also train tonal control: a
fixture needs an intentional prose mode and enough ordinary life for consequence
to matter.

View file

@ -1,14 +1,13 @@
# Ghostlight Implementation Plan
# Ghostlight Implementation Plan
## Current Phase
Build the first reliable data-generation loop for socially persistent Aetheria
agents. The immediate target is not a full simulation. It is a clean, reviewed,
Build a reliable data-generation loop for socially persistent Aetheria agents.
The immediate target is not a full simulation. It is a clean, reviewed,
sandboxed training-data pipeline for branching scenes and state consequences.
The output should also preserve Aetheria's tonal range: wit with stakes,
ordinary life before interruption, quiet ritual, domestic warmth, weirdness,
dread, and systems pressure as needed. Do not let the pipeline's interest in
state and consequence turn every fixture into the same crisis-procedure voice.
The output should preserve Aetheria's tonal range: wit with stakes, ordinary
life before interruption, quiet ritual, domestic warmth, weirdness, dread, and
systems pressure as needed.
Planning belongs in this file and the handoff/map state surfaces. Architecture
docs should describe durable contracts, boundaries, and data shapes; they should
@ -20,9 +19,7 @@ not carry live next-action lists.
- Keep `schemas/agent-state.schema.json` and required vectors coherent.
- Keep canonical state separate from perceived overlays.
- Keep voice, presentation, relationship, memory, and situational pressure explainable.
- Add or preserve tonal-mode and ordinary-life cues where they affect prose:
humor, ritual, domesticity, boredom, tenderness, wonder, professional
routine, and slow dread are not decoration when they explain behavior.
- Add or preserve tonal-mode and ordinary-life cues where they affect prose.
- Do not leak raw numeric state internals into responder prompt text.
2. Stabilize responder packet and output seams.
@ -30,86 +27,37 @@ not carry live next-action lists.
- Build packets from coordinator artifacts plus projected local context.
- Preserve exact responder-visible input, hidden-context audit, allowed actions, source excerpts, output contract, and lore-access mode.
- Preserve raw output, parsed output, review labels, consulted refs, research summary, leakage audit, and coordinator interventions.
3. Tighten research-enabled responder capture.
- The first no-fork research-enabled Sella sample and reviewed mutation receipt now exist.
- Preserve `consulted_refs`, `followed_refs`, `research_trace`, and `research_summary` inside raw responder output when the responder or runner produces them; mirror indexable provenance into capture metadata.
- Treat research scope as seed docs plus bounded relevant traversal, not a four-file pinhole.
- Require PSC, territory, resident-faction, technology, and social-movement context when it materially affects the scene.
- Require `runner_captured` research trace status for accepted research-enabled gold data; coordinator-reconstructed trace is useful draft audit, not proof of the responder's actual research path.
- The Veyr/Callisto provenance sample is the first accepted coordinator-scoped retrieval lane with `runner_captured` trace. Use it as the current pattern for trace-backed gold candidates.
- Continue rejecting archived local-model prototype runners for gold responder data unless the task is explicitly model plumbing.
4. Run the first full-story artifact pass.
- Completed clean Cold Wake IF scaffold:
`examples/ink/cold-wake-branch-and-fold.v0.ink`,
`examples/ink/cold-wake-branch-and-fold.v0.training.json`,
`examples/coordinator/cold-wake-branch-and-fold.v0.json`, and
`experiments/cold-wake-story-lab/cold-wake-branch-and-fold-clean-run.v0.md`.
- Treat that run as accepted-as-draft coordinator/IF scaffold training data,
not raw responder gold.
- Interactive-fiction correction: a full-story pass is not just a linear chain of responder receipts. It needs a beginning-to-ending narrative spine, branch points, and cross-scene consequence carryover so decisions visibly matter later. Responder artifacts should be generated at branch/action moments, while coordinator artifacts track branch flags, relationship deltas, resource costs, unresolved hooks, and later scene consequences.
- Branch-and-fold correction: do not let every choice create an isolated subtree. Normalize consequences into compact state bands and flags, fold most branches back into shared later scenes, and reserve major route splits for consequences that change the playable world enough that convergence would lie.
- Branch compiler correction: treat Ink materialization as its own organ. It receives fixture brief, lore digest, scene/world/relationship state, actor-local branch candidates, consequence packets, fold plan, and optional visual replay requirements; it emits playable Ink plus a training sidecar, a separate visual plan artifact when illustrated replay is in scope, and compiler notes. It does not own hidden character truth or social mutation.
- Website-content correction: illustrated fixtures should include an art-direction block with establishing shot, light/color, bodies/interfaces, material evidence, branch-visible marks, one durable base image prompt, and additive branch/state modification prompts. Visual continuity is presentation and replay support for the corpus, not a core social-model training target.
- Illustrated-IF correction: a narrative scene can contain multiple visual
sections. The branch compiler should segment introductions, focal areas,
object closeups, arrivals, alarms, pivotal one-sentence beats, standoffs,
and aftermaths into click-through Ink sections with stable visual ids.
Each visual section needs an imagegen-ready prompt that describes
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. 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
scene anchors, lore-password image prompts, missing character visibility,
weak stance control, and missing branch/state visual modifiers. It judges
the playable IF plus `.visual.json` plan, not clean-run prose receipts.
- Geometry correction: generated concept art can guide mood, materials, and
environment language, but it is not a durable layout contract. Fixtures
that need the same environment across several beats, branches, or camera
angles should use a `scene_set` source such as a hand-built 3D blockout,
procedural scene file, or explicit layout asset with named camera angles,
staging slots, routes, occluders, and branch-visible state anchors.
Imagegen should paint over a camera-specific blockout, not invent the
room shape from text or a prior generated image.
- The older Cold Wake v0/v1 fragments remain diagnostic seam tests around the clinic climax, not the accepted clean fixture.
3. Keep the Pallas fixture as the current scaffold reference.
- Current fixture set:
`examples/lore-grounding/pallas-species-strikes.awakened-labor.v0.json`,
`examples/agent-state.pallas-species-strikes.v0.json`,
`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/visual/pallas-species-strikes.branch-and-fold.v0.visual.json`,
and `experiments/pallas-species-strikes/` receipts.
- Treat it as accepted-as-draft coordinator/IF scaffold training data, not raw responder gold.
- Preserve the lessons it established: ordinary-life onboarding, branch-and-fold discipline, material state variables, source-backed lore elaboration, visual segmentation, scene-set need for illustrated replay, and review before acceptance.
- Still emit training artifacts at material turns: projected local context, responder packet, raw output/capture, leakage audit, reviewed mutation receipt, and aftermath state where relevant.
- Do not stop for every minor prose flaw; curate as coordinator and continue. Stop to patch the pipeline only for core invariant failures: hidden-state leakage, lore grounding failure, visibility/object/body affordance errors, bad state mutation, or schema break.
- Keep fuzzy social changes manual and auditable until appraiser/classifier models exist.
5. Generalize the loop.
- Next work should move away from Cold Wake to a different faction, movement,
flashpoint, or day-in-the-life fixture so the corpus does not become one
very cold hallway with delusions of grandeur.
4. Generalize the loop.
- Add the corpus coverage ledger seam so future fixtures can be tracked by faction, movement, flashpoint, tonal mode, training target, review status, and cultural collisions.
- Select the next Aetheria fixture from the 100-150 broad coverage target.
- Add more historical grounded fixtures from AetheriaLore.
- Add future-branch Elysium fixtures with branch lineage and constraint labels.
- Track coverage across every major faction, minor faction, movement, and
major flashpoint; major factions require both founding-era and
day-in-the-life stories.
- Require cultural collision in coverage stories so training data captures
inter-faction dynamics, mutual misreads, and movement pressure instead of
sealed faction portraits.
- Vary tonal modes across fixtures so the corpus does not train one
flattened Aetheria voice. Use Adams/Pratchett-style wit-with-stakes as a
useful default touchstone, but allow controlled noir, horror, romance,
domestic comedy, dour poetry, dry technical systems prose, wonder, and
other scene-appropriate modes.
- Track coverage across every major faction, minor faction, movement, and major flashpoint; major factions require both founding-era and day-in-the-life stories.
- Require cultural collision in coverage stories so training data captures inter-faction dynamics, mutual misreads, and movement pressure.
- Vary tonal modes across fixtures so the corpus does not train one flattened Aetheria voice.
- Emit technology/item manifest deltas when scenes discover or stress gear, assemblies, supply chains, or faction tech bases.
- Keep artifacts database-shaped enough for future game-engine integration.
6. Train only after schemas stop sliding.
5. Train only after schemas stop sliding.
- Pilot samples are schema shakedown, not robust corpus scale.
- Specialized future models include coordinator, retriever, projector,
responder, appraiser, mutator, relationship/perception updater, branch
compiler, IF artifact reviewer, evaluator, and
institution/faction/consumer decision models.
compiler, IF artifact reviewer, evaluator, and institution/faction/consumer
decision models.
- Deterministic gates remain code: visibility, action legality, object
custody, resource accounting, schema validation, source provenance,
mutation authority, prompt leakage checks, and Ink compilation.
@ -127,4 +75,4 @@ not carry live next-action lists.
- Work one bounded organ at a time.
- Prefer explicit maps and contracts over implicit context.
- If the diff grows while understanding shrinks, stop and simplify.
- Keep history in git and archived receipts; keep persisted state focused on the mission.
- Keep history in git and distilled evidence; keep the live workspace focused on the mission.