Ghostlight/notes/fresh-workspace-handoff.md
2026-05-02 12:00:45 +01:00

6 KiB

Ghostlight Fresh Workspace Handoff

Do not trust this file for the exact live HEAD. Use git for volatile truth.

Do not continue implementation automatically from a rehydrate-only request.

Immediate Re-entry Instruction

  1. Read state/map.yaml.
  2. Read notes/ghostlight-current-system-map.md.
  3. Read notes/ghostlight-implementation-plan.md.
  4. Run npm run state:status.
  5. Restate the persisted next action before touching code or docs.

Mission

Ghostlight exists to build socially persistent generative agents for Aetheria: characters and institutions whose actions emerge from personality, culture, memory, perception, incentives, material constraints, and scene pressure.

The live product-facing goal is procedural branching scene generation for games: speech and non-speech actions, NPC responses, consequences, future hooks, and state/memory/social-perception mutation. The wider ambition includes narrated story scaffolding, Elysium branch exploration, psychologically grounded consumer 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:

  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.
  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 overlays, and unresolved hooks.

Live Seams

  • Canonical map: state/map.yaml
  • Current system map: notes/ghostlight-current-system-map.md
  • Implementation plan: notes/ghostlight-implementation-plan.md
  • Agent-state schema: schemas/agent-state.schema.json
  • Projected local context schema: schemas/projected-local-context.schema.json
  • Coordinator artifact schema: schemas/coordinator-artifact.schema.json
  • Responder packet schema: schemas/responder-packet.schema.json
  • Responder output schema: schemas/responder-output.schema.json
  • 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
  • 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

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.

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.
  • 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. CompoundCommodityData includes colony-consumed manufactured trade goods, not only gear assemblies or manufacturing inputs; a Navigator wet-interface cradle 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

The first no-fork research-enabled Sella responder sample now exists and has a reviewed mutation receipt. The research packet now uses seed scope plus bounded link traversal so training samples can absorb PSC, Jovian territory, resident-faction, technology, and social-movement context without pretending runtime prompts will carry the whole lore vault. Tighten the capture seam next: future research-enabled gold samples should preserve auditable research traces, not only responder-reported consulted refs. Then generate the next sandboxed responder/coordinator sample from the updated Sella aftermath state, preserving exact visible input, raw output, review labels, leakage audit, and mutation receipts.

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 let Elysium branch futures overwrite Sol single-history facts.
  • Do not rebuild the older corridor-crisis game slice by accident.
  • Do not treat parent-visible subagent output as proof of research. If the parent cannot see tool calls, require explicit research notes or use a runner that captures calls.