Document soft model training artifacts

This commit is contained in:
Meta Vens 2026-05-02 08:56:08 +01:00
commit 85914a8d34
7 changed files with 357 additions and 4 deletions

View file

@ -7,6 +7,10 @@ stable.
This is a staged plan, not an immediate fine-tune order.
This plan covers the projector specifically. The broader rule for soft
judgments lives in `docs/architecture/soft-model-training-artifacts.md`.
Projection is one student organ, not the whole animal.
## Goal
Train or adapt a smaller projection model that can turn structured Ghostlight
@ -85,6 +89,17 @@ A smaller model learns the reviewed projection task. It receives structured
state and emits the projection artifact. It should be optimized for consistency,
latency, and cost, not for final prose quality.
### Aetheria-Tuned Agent Model
The character agent or responder is a separate training target. It may be
adapted on Aetheria source-grounded scenes, reviewed Ghostlight action/dialogue
receipts, and negative examples so setting priors and tone live in the model
rather than in a giant prompt sack.
That model still receives only character-local context at runtime. Fine-tuning
should teach it Aetheria's pressure ecology, not grant it author vision,
mutation authority, or access to private state.
## Dataset Shape
The first schema lives in:
@ -221,3 +236,7 @@ The student projector is not the character. It is not the dialogue writer. It is
not the action choreographer. It is not the evaluator. It is a compiler from
structured social state to compact character-local pressure. Keep those
responsibilities separate.
Likewise, an Aetheria-tuned character model is not the resolver, not the state
store, and not the canon oracle. It proposes local action from local context.
Code and reviewed mutation authority decide what becomes world state.

View file

@ -0,0 +1,295 @@
# Soft Model Training Artifacts
Ghostlight has two kinds of machinery.
Some parts should be boring code:
- schema validation
- visibility filtering
- action legality
- object custody
- resource accounting
- Ink materialization
- event append
- provenance checks
- deterministic context slicing
- mechanical mutation gates
Other parts are soft. They require judgment, taste, social inference, cultural
pressure, and narrative sense. Do not fake those with brittle rules just because
a function-shaped hole is sitting there looking smug.
Soft parts should emit reviewed training artifacts from the beginning. Manual
review is not a temporary embarrassment. It is the dataset.
## Core Rule
If a decision cannot be made reliably by deterministic code, Ghostlight should
save it as a training example.
That includes accepted outputs, rejected outputs, repaired outputs, and weird
half-successes. Especially weird half-successes. They are where the machine is
showing the fracture line.
A useful soft artifact should preserve:
- the deterministic input slice
- the model or human output
- the reviewer decision
- accepted labels
- rejected labels, if any
- rationale grounded in state, scene, culture, memory, relationship, and lore
- failure notes
- provenance to source lore or fixture state
- whether the artifact is grounded canon, transition-grounded, procedural
branch material, or promoted branch material
## Soft Organs
These organs should be treated as model-training targets, not permanent
hand-authored rule nests.
### Projector
Turns canonical state, perceived state, memory, culture, scene pressure, and
affordances into character-local operating context.
Training artifacts:
- projected local context records
- projection examples
- prompt-rendering audits
- leakage failures
- source-grounding failures
The projector does not write final prose. It prepares the local pressure surface
for an acting model.
### Character Agent Or Responder
Chooses what a character does next from local awareness.
This includes speech and non-speech action. The agent may speak, wait, leave,
hide evidence, reveal evidence, spend a resource, attack, comply, defect,
bargain, comfort, or do nothing useful because people are built badly.
Training artifacts:
- action-choice receipts
- candidate branch sets
- accepted and rejected character turns
- spoken text when speech occurs
- observable non-speech action
- actor intent
- constraints used
- constraints violated
- reviewer notes about voice, lore, embodiment, agency, and scene fit
This model should be fine-tuned or adapted on Aetheria material eventually. A
local general model can learn the world, tone, institutions, factional pressures,
species affordances, and recurring social failure patterns better than a raw
model prompted from cold storage every time.
### Appraiser
Reads an observable event from one participant's local perspective and proposes
how that participant interprets it.
Training artifacts:
- observed event
- participant-local knowledge
- private interpretation
- misread or correct-read label
- emotional appraisal
- relationship implications
- belief implications
- memory candidate
- reviewer corrections
The appraiser should not know canonical private state except where that
participant knows or believes it. Fundamental attribution bias belongs here.
### State Mutator
Turns reviewed appraisal into bounded state changes.
Training artifacts:
- prior state refs
- event refs
- appraisal refs
- proposed state deltas
- accepted deltas
- rejected deltas
- mutation authority notes
- reviewer rationale
The early system should keep this manual and audited. Later a model can learn
common deltas, but deterministic gates still own schema, bounds, and authority.
### Relationship And Social Perception Classifier
Updates perceived overlays and relationship stance from repeated evidence.
Training artifacts:
- prior relationship stance
- event and appraisal history
- proposed movement
- confidence movement
- stale or reinforced impressions
- prejudice, stakes, memory, and social-reinforcement drivers
- reviewer notes
This is where confidence belongs. Do not grow a second correction-resistance
organ because the first one got lonely.
### Lore And Tone Adapter
Bakes Aetheria source material into the response model's priors so it does not
need the entire vault in every prompt.
Training artifacts:
- source-grounded scene examples
- factional speech and pressure examples
- institution decision examples
- embodiment/interface examples
- negative examples where generic sci-fi assumptions were rejected
- reviewer notes tied to AetheriaLore paths
This is the likely home for an Aetheria-tuned model built from a Qwen-class base
or another local model. The tuned model should know the smell of the setting:
Dominion severity, Aya-coded care pressure, Navigator embodiment, corporate
certification culture, insurer cruelty, upload personhood fights, factional
misreads, and the dry little horrors of systems pretending to be neutral.
It still must receive character-local context at runtime. Fine-tuning gives it
priors, not omniscience.
### Institution, Faction, And Consumer Decision Models
Eventually Ghostlight should support economic behavior and major faction
decision-making inside a simulated game world.
Training artifacts should preserve why agents:
- buy
- refuse
- trade
- hoard
- comply
- defect
- conceal
- reveal
- punish
- help
- lobby
- exploit
- delay
- sacrifice
The artifact should preserve perceived cost, scarcity, status pressure,
reputation risk, expected future contact, faction norms, institutional authority,
and moral injury when present.
Do not train a dialogue-only pet if the adult machine needs to decide whether a
clinic buys counterfeit cryo valves under blockade.
## Artifact Status
Soft artifacts should use explicit review status:
- `accepted`
- `accepted_as_draft`
- `useful_needs_revision`
- `rejected`
- `superseded`
Rejected artifacts remain valuable when the failure label is clear. A rejected
Navigator action that makes a cetacean walk across a human hallway is not trash.
It is a negative example with teeth.
## Training Corpus Families
Ghostlight should expect several related corpora rather than one heroic pile of
JSONL wearing a crown.
- projection corpus
- projected-local-context corpus
- character-action corpus
- dialogue/prose response corpus
- participant-appraisal corpus
- state-mutation corpus
- relationship/perception corpus
- lore-grounding digest corpus
- Ink branch annotation corpus
- institution/faction/consumer decision corpus
- negative-example corpus
Some examples can belong to multiple corpora through references. Do not duplicate
truth; link artifacts by ids and source refs.
## Aetheria-Tuned Agent Model
The character agent itself is a training target.
A sensible long-term stack looks like this:
```text
AetheriaLore source corpus
-> source-grounded digests and scene fixtures
-> reviewed Ghostlight action/dialogue/appraisal artifacts
-> Aetheria-tuned responder or agent model
-> specialized projector/appraiser/mutator students
-> deterministic runtime gates and validators
```
The Aetheria-tuned agent model should learn setting priors and voice ecology:
what institutions feel like, how factions misread each other, what bodies can do,
what pressure sounds like when nobody in the room has enough authority to fix the
machine.
It should not replace Ghostlight state. It should not decide hidden facts. It
should not mutate world state directly. It acts inside the local context and
affordances Ghostlight provides.
## Deterministic Gates Stay Deterministic
Training models does not remove hard gates.
Keep these as code:
- schema validation
- source provenance checks
- speaker-local visibility
- prompt leakage checks
- action enum validation
- body-affordance validation when source-backed
- mutation authority
- object custody
- resource and world-state legality
- Ink compilation
- artifact review status requirements
A model can propose. The runtime decides what is legal, what is visible, what is
accepted, and what becomes state.
## Near-Term Policy
During prototype work:
1. Keep fuzzy updates manual and reviewed.
2. Emit every model call as a receipt when it teaches something.
3. Store accepted and rejected examples with failure labels.
4. Prefer narrow artifacts over one vague transcript blob.
5. When a prompt fix reveals a reusable failure mode, promote it into validator
logic or artifact schema.
6. When a model repeatedly performs a soft judgment well, mark that organ as a
candidate for distillation or fine-tuning.
7. When it repeatedly fails in a patterned way, save the failures. The beast is
drawing us a map in crayon.
The point is not to automate everything today. The point is to stop losing the
manual intelligence we are already spending.

View file

@ -47,6 +47,7 @@ Ghostlight now has the persistence spine plus the first architecture payload:
- `docs/architecture/lore-grounding-digest-format.md`
- `docs/architecture/qwen-invocation-notes.md`
- `docs/architecture/projected-local-context.md`
- `docs/architecture/soft-model-training-artifacts.md`
- lore grounding seam:
- `schemas/lore-grounding-digest.schema.json`
- `examples/lore-grounding/historical-flashpoint.template.json`
@ -124,7 +125,11 @@ discipline, a cleaner repo boundary, the first executable state contract, a
documented projection path, the first Ink-backed playable branching scene, the
first Qwen-generated Ink draft with reviewed training annotations, and the
first reviewed mutation receipt showing how a selected generated branch changes
both involved characters.
both involved characters. The soft-model training doctrine is now explicit:
deterministic gates stay code, while fuzzy judgments become reviewed artifacts
for future projector, character-agent, appraiser, mutator,
relationship/perception, lore-tone, and institution/faction/consumer decision
models.
## Current Direction
@ -309,6 +314,11 @@ Remaining projection path:
- use a frontier teacher model to generate/audit projection artifacts
- train a smaller student projector only after the artifact schema, input
slicer, and evaluator stabilize
- treat the character agent/responder as a training target too: an
Aetheria-tuned local model can eventually learn lore, tone, factional priors,
species affordances, and institutional pressure from source-grounded
Aetheria corpora plus reviewed Ghostlight receipts, while still acting only
inside character-local context and deterministic mutation gates
## Warnings

View file

@ -76,6 +76,12 @@ state and re-entry discipline.
- contract for the projector seam that turns canonical state into
character-local operating context before a response model sees it,
including source-checked embodiment and interface affordances
- `docs/architecture/soft-model-training-artifacts.md`
- doctrine for treating every non-deterministic judgment as reviewed
training material for future specialized models, including projector,
character agent/responder, appraiser, state mutator, relationship/perception
classifier, lore-tone adapter, and institution/faction/consumer decision
models
- `docs/architecture/aetheria-cold-wake-training-fixture.md`
- human-facing note that reframes the recovered Cold Wake scenario as
historical projection feedstock rather than the active product target
@ -272,5 +278,9 @@ plus reviewed mutation training data. The next implementation target is
fixing the Sella next-action prompt/rendering path after source-checked v11-v17
retries improved Maer's Navigator embodiment but exposed object-custody drift,
invalid appraisal paths, Qwen tool dropout, and prompt-constraint leakage into
responder prose. Do not materialize another capture until it has no failure or
repair notes.
responder prose. The soft-model artifact doctrine now makes the broader
training boundary explicit: deterministic gates stay code, while fuzzy
projection, action choice, appraisal, mutation, relationship movement, lore-tone
adaptation, and economic/faction decision judgments become reviewed artifacts
for later fine-tuning or distillation. Do not materialize another capture until
it has no failure or repair notes.

View file

@ -178,6 +178,8 @@
5. Build the projection distillation loop. Started.
- Use `docs/architecture/projection-distillation-plan.md` as the teacher to
student roadmap.
- Use `docs/architecture/soft-model-training-artifacts.md` as the boundary
between deterministic code and soft model-training targets.
- Use `docs/architecture/aetheria-lore-grounding-architecture.md` to keep
Aetheria grounded training separate from procedural Elysium branch
generation.
@ -218,6 +220,19 @@
- Save accepted and rejected projection examples as supervised data.
- Train or adapt a smaller student projector only after the artifact schema,
input slicer, and evaluator are stable.
- Treat the character agent/responder as a training target too. A
Qwen-class or similar local model can eventually be adapted on the
Aetheria corpus and reviewed Ghostlight receipts so lore, tone, factional
priors, species affordances, and institutional pressure are baked into the
response model's priors rather than pasted into every prompt.
- Keep deterministic gates as code even after fine-tuning: visibility,
action legality, object custody, resource accounting, schema validation,
source provenance, mutation authority, prompt leakage checks, and Ink
compilation.
- Emit reviewed artifacts for every fuzzy organ before training specialized
models: projector, character agent/responder, participant appraiser,
state mutator, relationship/perception classifier, lore-tone adapter, and
later institution/faction/consumer decision models.
6. Build the first drama-scaffolding loop.
- memory updates

View file

@ -46,3 +46,4 @@
{"ts": "2026-05-02T03:29:28+00:00", "type": "design", "status": "accepted", "note": "Formalized Aetheria generation doctrine: source-check factions, movements, institutions, location, time period, species/body affordances, infrastructure, and material constraints before writing or generating; patch blocking AetheriaLore gaps narrowly before treating details as available to projection."}
{"ts": "2026-05-02T03:29:51+00:00", "type": "documentation", "status": "ok", "note": "Added source-first Aetheria generation doctrine and patched AetheriaLore Cetacean Navigators with habitat/interface ergonomics so Navigator action affordances can be projected from source rather than local improvisation."}
{"ts": "2026-05-02T03:46:05+00:00", "type": "experiment", "status": "mixed", "note": "Source-checked Navigator projection improved Maer action proposals: v13-v17 route packets through shared clinic displays and wet/dry interface affordances instead of human body defaults. No capture was materialized; failures exposed object-custody drift, invented mutation paths, Qwen appraisal tool dropouts, and prompt-constraint leakage into Sella prose."}
{"ts": "2026-05-02T07:55:40+00:00", "type": "architecture", "status": "ok", "note": "Soft judgments that cannot be deterministic code are now explicit training-artifact targets: projector, character agent/responder, participant appraiser, state mutator, relationship/perception classifier, lore-tone adapter, and later institution/faction/consumer decision models should all emit reviewed accepted/rejected receipts before fine-tuning or distillation."}

View file

@ -42,6 +42,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 grounded training data should come from authored historical lore; procedural Elysium scenes are branch material until reviewed or promoted.
- 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.
data_flow:
observe:
@ -136,7 +137,9 @@ accepted_design:
- Ghostlight's Aetheria generation doctrine is source-first and source-repairing: if a blocking lore gap appears while generating scenes or training data, patch AetheriaLore with a narrow elaboration before treating the detail as available to Ghostlight projection.
- AetheriaLore now includes Navigator habitat and interface ergonomics for mixed wet/dry, acoustic, translation, and shared operational spaces, so future Navigator scenes should cite that source instead of improvising body affordances.
- Source-checked Navigator retries v11-v17 improved Maer's generated action affordances but were not materialized; remaining blockers are object-custody semantics, valid appraisal/mutation paths, Qwen tool reliability, and prompt-constraint leakage into responder prose.
- The soft organs are training targets: projector, character agent/responder, appraiser, state mutator, relationship/perception classifier, lore-tone adapter, and later institution/faction/consumer decision models should all produce reviewed artifacts for future distillation or fine-tuning.
- An Aetheria-tuned agent model may bake in lore, tone, factional priors, species affordances, and institutional pressure, but it still acts only inside Ghostlight's character-local context, deterministic gates, and mutation authority.
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, and v11-v17 source-checked retry receipts showing improved Maer embodiment plus remaining Sella response/prompt-leak blockers.
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, and a soft-model training artifact doctrine for turning every non-deterministic judgment into future projector, agent, appraiser, mutator, relationship, lore-tone, or decision-model training data.
next_action: Revise the Sella next-action prompt/rendering path so response constraints stay out of in-world prose, then rerun the source-checked Navigator sequential pass and materialize only a capture with no failure or repair notes.