diff --git a/docs/architecture/aetheria-lore-grounding-architecture.md b/docs/architecture/aetheria-lore-grounding-architecture.md index 3ccf164..5207144 100644 --- a/docs/architecture/aetheria-lore-grounding-architecture.md +++ b/docs/architecture/aetheria-lore-grounding-architecture.md @@ -228,6 +228,66 @@ Each possible future fixture should declare: - what new social pressure the weird concept creates - what old pre-Elysium pressure is returning in a new costume +## Attractors, Rails, And Injections + +Elysium is a branching state-space, not an undifferentiated fog. Some events may +happen in most branches because the pressures almost always produce them. Some +events may be authored constraints because the game needs a stable enough world +to design around. Some events may be injected by quests or scenario logic when +an active branch reaches a compatible shape. + +Use separate labels: + +- `branch_attractor` +- `fated_event` +- `tech_order_constraint` +- `quest_injection` +- `branch_local_event` + +`branch_attractor` means an event is highly likely under broad pressures but +not absolutely forced. The founding of a faction born inside Elysium may start +here if the social, economic, metaphysical, and institutional gradients make it +show up again and again with local variation. + +`fated_event` means the authorial hand is on the scale. The event should occur +unless the branch has explicitly disabled it. Use this sparingly, because too +much fate turns the quantum superposition back into a hallway with rude +wallpaper. + +`tech_order_constraint` means discovery order matters. Some technologies, +metaphysical practices, industrial dependencies, or social adaptations should be +unavailable until their prerequisites exist. This is not merely lore flavor; it +is a runtime gate for what quests, economies, factions, and character actions +can plausibly do. + +`quest_injection` means authored content enters the active timeline at a branch +point. A quest may require prerequisites, forbid certain prior states, create +new local facts, or push an attractor toward one concrete manifestation. + +`branch_local_event` means the event is canonical inside its lineage but has no +special pull across other branches. + +Future branch fixtures should record: + +- event type from the labels above +- probability or pull strength, for attractors +- required branch prerequisites +- excluded branch states +- technology prerequisites +- faction or institution prerequisites +- quest ids or content hooks, if injected +- local variation allowed +- hard facts created +- branch facts that remain conditional + +Factions born in Elysium should be modeled through this lens. Adrasteia or Miss +Terri's Sugarrific Snack Company can be represented as pressure-born attractors, +fated institutions, quest-injected branch content, or some combination. The +point is not to decide that once in prose and hope the game remembers. The point +is to make the founding mechanism explicit enough for Ghostlight, the active +timeline, and later game systems to agree on what kind of inevitability they are +dealing with. + Good future branches should stress the model with conditions it cannot learn from late-Sol history alone: diff --git a/docs/architecture/training-plan.md b/docs/architecture/training-plan.md index 96b1210..fba06fd 100644 --- a/docs/architecture/training-plan.md +++ b/docs/architecture/training-plan.md @@ -41,9 +41,23 @@ Future-branch examples must label: - sibling-branch exclusion boundaries - branch-local facts that must not leak into single-history Sol training or unrelated Elysium branches +- event constraint type: `branch_attractor`, `fated_event`, + `tech_order_constraint`, `quest_injection`, or `branch_local_event` +- prerequisites, exclusions, and pull strength for constrained events - the post-Rupture concept being exercised - the old social pressure being re-expressed +Some Elysium events are not globally fixed, but they are not equally optional +either. Founding events for Elysium-born factions, technology discoveries, +metaphysical practices, and quest hooks should be represented as attractors, +rails, or injections when appropriate. + +- `branch_attractor`: likely under recurring pressures, with local variation. +- `fated_event`: authorially constrained to occur unless the branch disables it. +- `tech_order_constraint`: locked behind prerequisite discoveries or systems. +- `quest_injection`: authored content inserted into compatible branch points. +- `branch_local_event`: true only inside its lineage, with no cross-branch pull. + ## Runtime Stack Target runtime flow: @@ -220,6 +234,7 @@ Inputs: - prior reviewer notes - fixture lane and canon status - post-Rupture concept constraints for future branches +- active attractors, fated events, tech-order gates, and quest-injection hooks Outputs: @@ -234,6 +249,8 @@ Outputs: - reviewer-facing rationale - generated branch assumptions and promotion candidates, for future branches - branch lineage and conditional truth boundaries +- selected attractor, fate, technology, or quest constraints that shape the next + beat Training architecture: @@ -248,6 +265,7 @@ Training artifacts: - branch continuity decisions - tool invocation traces - world-state proposal receipts +- attractor/rail/injection selection receipts - reviewer labels for pacing, continuity, legibility, game usefulness, and lore grounding @@ -259,6 +277,8 @@ First training gate: - glue prose never treated as canonical state - at least 10 accepted future-branch coordinator turns before using the coordinator to generate post-Rupture arcs without close review +- at least 20 labeled constrained-event examples before the coordinator is + trusted to inject quests or advance technology order automatically ### 3. Memory And Lore Retriever @@ -329,6 +349,7 @@ Inputs: - observed event, when responding - projection controls - branch/canon status and generated-assumption boundaries +- active technology gates and quest constraints Outputs: @@ -342,6 +363,7 @@ Outputs: - audit refs to source state - explicit distinction between source-backed facts and branch-local assumptions - branch lineage and conditional truth boundaries +- unavailable action or knowledge constraints derived from tech order Training architecture: @@ -443,6 +465,7 @@ Inputs: - location constraints - participant visibility - branch/canon status for future generated facts +- technology and quest gates relevant to action legality Outputs: @@ -453,6 +476,7 @@ Outputs: - unresolved facts - branch-local mechanical facts versus promoted facts - branch-local mechanical facts versus cross-branch source constraints +- blocked actions caused by missing prerequisites Training architecture: @@ -694,6 +718,7 @@ Inputs: - risk and cost models - local information and misreads - post-Rupture infrastructure or concept constraints, when applicable +- active technology order, faction attractors, fated events, and quest hooks Outputs: @@ -704,6 +729,8 @@ Outputs: - reputation/faction pressure implications - rationale - branch-local policy or market assumptions +- constrained-event response: exploit, resist, comply, delay, adapt, sabotage, + or organize around the attractor/rail/injection Training architecture: @@ -716,6 +743,8 @@ Training artifacts: - buy/refuse/trade/hoard/comply/defect/conceal/punish/help examples - accepted and rejected decision rationales - resource and reputation consequence labels +- constrained-event decision examples for faction founding, technology adoption, + quest hooks, and pressure-born institutions First training gate: @@ -724,6 +753,8 @@ First training gate: institutional contexts - include future-branch decisions where post-Rupture miracles become markets, privileges, liabilities, dependencies, or weapons +- include examples where factions or companies emerge from branch pressures, + fated constraints, or quest injections ## Training Order diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 6be422f..651595b 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -178,6 +178,10 @@ labels, so the models learn Aetheria concepts that only exist after the Rupture: Aether, pseudospace, temporal nonlinearity, spirits, necrotech, mutable bodies, altered substrates, and the fresh little institutional crimes that grow around them. +Future branches now also need event constraint labels: +`branch_attractor`, `fated_event`, `tech_order_constraint`, `quest_injection`, +or `branch_local_event`. This supports likely Elysium faction births, authored +rails, baked-in technology order, and quest injection into active timelines. The evaluation follow-up fixed the immediate v0 schema issues: diff --git a/notes/ghostlight-current-system-map.md b/notes/ghostlight-current-system-map.md index 7abef3c..420f9e1 100644 --- a/notes/ghostlight-current-system-map.md +++ b/notes/ghostlight-current-system-map.md @@ -302,5 +302,9 @@ lore/tone goal is not a separate adapter; it is a responder trained on strong timeline-spread Aetheria responses until the setting's assumptions become native priors. The timeline plan now includes generated possible futures in Elysium as reviewed `future_branch` artifacts so models learn post-Rupture -concepts as branch-local canon indexed by lineage. Do not materialize another -capture until it has no failure or repair notes. +concepts as branch-local canon indexed by lineage. It also distinguishes +branch attractors, fated events, technology-order constraints, quest injections, +and ordinary branch-local events so Elysium can support likely faction births, +authored rails, discovery order, and quest injection without flattening the +timeline into equal-probability soup. Do not materialize another capture until +it has no failure or repair notes. diff --git a/notes/ghostlight-implementation-plan.md b/notes/ghostlight-implementation-plan.md index c8cff0b..7cfe38e 100644 --- a/notes/ghostlight-implementation-plan.md +++ b/notes/ghostlight-implementation-plan.md @@ -199,6 +199,15 @@ - Future branches must label source-backed post-Elysium concepts separately from generated branch assumptions, branch lineage, sibling-branch exclusions, and branch-local canonical facts. + - Future branches must also label constrained events: pressure-born + `branch_attractor`, authorial `fated_event`, discovery-gated + `tech_order_constraint`, authored `quest_injection`, or ordinary + `branch_local_event`. + - Elysium-born factions and institutions, including things like Adrasteia or + Miss Terri's Sugarrific Snack Company, should be modeled through those + labels rather than hidden in prose: they may emerge from branch pressure, + be nudged by fate, arrive through quest injection, or remain local to one + branch. - Maintain `schemas/lore-grounding-digest.schema.json`, `examples/lore-grounding/`, and `tools/validate_lore_grounding.py` as the cultural and factional pressure seam for grounded fixtures. diff --git a/state/evidence.jsonl b/state/evidence.jsonl index e72a51f..8e55cb0 100644 --- a/state/evidence.jsonl +++ b/state/evidence.jsonl @@ -52,3 +52,4 @@ {"ts": "2026-05-02T08:04:36+00:00", "type": "architecture", "status": "ok", "note": "Added a concrete Ghostlight training plan enumerating trainable stages, inputs, outputs, likely model families, artifact families, corpus gates, and deterministic boundaries. Next implementation should define the coordinator artifact schema before more story-generation passes so glue prose and world-state coordination become trainable data."} {"ts": "2026-05-02T08:12:30+00:00", "type": "architecture", "status": "ok", "note": "Extended Aetheria timeline training plan with a future_branch lane: Ghostlight should generate reviewed possible post-Rupture Elysium futures so responder/coordinator/appraiser/decision models learn concepts like Aether, pseudospace, temporal nonlinearity, spirits, necrotech, mutable bodies, and altered substrates while keeping generated branch assumptions separate from promoted canon."} {"ts": "2026-05-02T08:14:44+00:00", "type": "architecture", "status": "ok", "note": "Corrected Elysium future-branch metaphysics: Sol timeline is a single-history artifact, while every possible Elysium future is canon inside its own branch lineage. Training artifacts must preserve branch lineage, prior conditions, and sibling-branch exclusion boundaries instead of treating generated futures as non-canon or merely provisional."} +{"ts": "2026-05-02T08:21:41+00:00", "type": "architecture", "status": "ok", "note": "Added Elysium branch event constraints: future branches can mark events as branch_attractor, fated_event, tech_order_constraint, quest_injection, or branch_local_event so likely faction births, authored rails, technology discovery order, and quest injection are explicit runtime/training signals rather than hidden prose."} diff --git a/state/map.yaml b/state/map.yaml index d10cd0b..2dc605b 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -31,6 +31,7 @@ constraints: - Do not use the obsolete Call of the Void colony-fleet return-home twist; current Aetheria canon sequesters the whole Solar system into Elysium. - Do not treat Elysium gameplay-era outcomes as single-history Sol facts; Elysium futures are conditional canon indexed by branch lineage. - Generate possible post-Rupture Elysium futures as reviewed `future_branch` training and evaluation material so models learn weird Elysium concepts as branch-local canonical histories. + - Some Elysium branch events may be constrained by attractors, fated events, technology order, or quest injections; do not model the future as equal-probability soup. invariants: - The map is canonical and slow-changing. @@ -43,6 +44,7 @@ invariants: - Character generation should be agent-local: each acting turn should restrict context to what the character knows, feels, wants, remembers, hides, perceives, can attempt, and has authority to affect. - Aetheria single-history training data should come from authored historical lore; procedural Elysium scenes are conditional branch histories. - Post-Rupture future branches must distinguish source-backed Elysium concepts, generated branch assumptions, branch lineage, and sibling-branch exclusion boundaries. + - Elysium branch generation must track event constraint type: branch attractor, fated event, tech-order constraint, quest injection, or ordinary branch-local event. - Aetheria scene generation must check AetheriaLore source for factions, social movements, locations, time periods, species, body affordances, infrastructure, and material constraints before projection. - Soft judgments that cannot be wired as deterministic code should emit reviewed training artifacts instead of becoming permanent ad hoc rules. - Coordinator output must keep world and branch state shaped for future game-engine integration even while current coordination lives in authored imagination and glue prose. @@ -145,7 +147,8 @@ accepted_design: - The coordinator is a trainable artifact: it glues scenes together, chooses next beats and acting agents, invokes specialist machinery, carries unresolved hooks, emits reviewed glue prose, and proposes world-state changes without bypassing deterministic gates. - The concrete training plan enumerates the trainable stages and their model families: generative decoder LLMs for coordinator/responder/soft structured outputs, classifiers or cross-encoders for appraisal/evaluation/relationship movement, retrieval models for memory and lore selection, and deterministic code for gates. - The timeline training plan now requires future-branch Elysium examples so the responder, coordinator, appraiser, and decision models learn post-Rupture concepts such as Aether, pseudospace, temporal nonlinearity, spirits, necrotech, mutable bodies, altered substrates, and weird institutions under branch-lineage labels. + - Elysium-born factions and institutions can emerge as pressure-born attractors, authored/fated events, quest injections, or branch-local developments; technology discovery order and quest prerequisites are runtime constraints, not flavor text. current_status: - summary: Ghostlight now has the Epiphany-style persistence spine, the first architecture payload, the v0 canonical agent-state schema seam, prompt projection docs, immediate schema fixes from evaluation, first reviewed Cat/Oz projection examples, a revised Aetheria lore-grounding architecture, a lore grounding digest schema, the first draft Cold Wake historical grounding digest, a Cold Wake story-lab fixture, projection controls, validated Qwen capture receipts, a complete Cold Wake short story assembled from accepted projection outputs, a hand-authored Ink-backed Cold Wake branching scene, the first Qwen-generated Ink draft materialized from local awareness with reviewed training annotations, the first reviewed sequential branch mutation that updates both Maer and Sella after a sanctuary intake beat, a v2 sequential Qwen capture proving the symmetrical turn shape produces better action behavior, a v5 sequential Qwen capture proving local thinking-plus-tools invocation works for the scene runner, the first projected-local-context seam that routes sequential prompts through character-local operating prose instead of raw state variables, tightened receipt handling for projector-routed Qwen failures, a default no-thinking policy for strict sequential tool calls, a v10 no-thinking projector-routed capture accepted as draft, the first materialized projector-routed sequential Ink scene with reviewed mutation training data, a source-checked embodiment/interface projection surface for Navigator scenes, a formal source-first Aetheria generation doctrine, v11-v17 source-checked retry receipts showing improved Maer embodiment plus remaining Sella response/prompt-leak blockers, a soft-model training artifact doctrine, a concrete training plan, and an explicit future-branch lane for generating possible post-Rupture Elysium futures as branch-local canon indexed by lineage. + summary: Ghostlight now has the Epiphany-style persistence spine, the first architecture payload, the v0 canonical agent-state schema seam, prompt projection docs, immediate schema fixes from evaluation, first reviewed Cat/Oz projection examples, a revised Aetheria lore-grounding architecture, a lore grounding digest schema, the first draft Cold Wake historical grounding digest, a Cold Wake story-lab fixture, projection controls, validated Qwen capture receipts, a complete Cold Wake short story assembled from accepted projection outputs, a hand-authored Ink-backed Cold Wake branching scene, the first Qwen-generated Ink draft materialized from local awareness with reviewed training annotations, the first reviewed sequential branch mutation that updates both Maer and Sella after a sanctuary intake beat, a v2 sequential Qwen capture proving the symmetrical turn shape produces better action behavior, a v5 sequential Qwen capture proving local thinking-plus-tools invocation works for the scene runner, the first projected-local-context seam that routes sequential prompts through character-local operating prose instead of raw state variables, tightened receipt handling for projector-routed Qwen failures, a default no-thinking policy for strict sequential tool calls, a v10 no-thinking projector-routed capture accepted as draft, the first materialized projector-routed sequential Ink scene with reviewed mutation training data, a source-checked embodiment/interface projection surface for Navigator scenes, a formal source-first Aetheria generation doctrine, v11-v17 source-checked retry receipts showing improved Maer embodiment plus remaining Sella response/prompt-leak blockers, a soft-model training artifact doctrine, a concrete training plan, an explicit future-branch lane, and Elysium branch event constraints for attractors, fated events, tech-order gates, quest injections, and branch-local events. next_action: Define the coordinator artifact schema so future story passes capture next-beat choice, glue prose, world-state refs, branch flags, unresolved hooks, and machinery invocations as trainable data, then return to the Sella prompt/rendering fix.