Record the seed producer and close its Soul follow-ups

Docs describe the seed lane as landed: scale intent at creation, the
phase-free qualification with the Draft refusal in one owner, the owner
port bound to the Draft revision, the Vault reader's containment and
caps, obligations as the source of boundaries, evidence lifetime at
ingress. The session-zero and compiler language leaves the eve-native,
multiplayer, Delvehold, and mvp docs; plan step 8 is landed; the smoke
note's run block targets Kalsa Public at Low Sere. Steward folded the
boundary and cut the stale drift warning.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-05 18:32:20 +02:00
commit b7042f16df
10 changed files with 179 additions and 89 deletions

View file

@ -13,8 +13,9 @@ Use Ghostlight's live external-world simulation as an ordinary API consumer
without making it the owner of DELVE/HOLD players, workshops, dungeons, civic
state, or quantitative economy. DELVE/HOLD provides an authored ontology and
fixed seed for one canonical outside world through consumer-neutral Ghostlight
operations. This bypasses Session Zero world generation, not `WorldKernel`,
typed validation, the mutation algebra, or atomic CultCache commits.
operations. A consumer seed does not pass through the seed lane; it enters as
a consumer document, and this bypasses none of `WorldKernel`, typed
validation, the mutation algebra, or atomic CultCache commits.
## Core and consumer cut
@ -83,8 +84,9 @@ Major committed events cross promptly. Ordinary material flow closes hourly. Rec
Ghostlight needs:
1. one seed admission primitive (`AdmitPatch` in Draft) shared by the seed
producer and consumer seed authors;
1. one seed admission primitive, `AdmitPatch`, shared by the world owner, the
Draft seed lane acting as the owner, the Active elaborator, and the
external consumer;
2. generic external-subject ownership metadata enforced by selection and
mutation gates;
3. generic consumer effect-schema registration or supply;

View file

@ -3,9 +3,10 @@
## Status
Bounded cooperative multiplayer is implemented in the current MVP: one to
eight authenticated players complete Session Zero and begin in one shared
scene with sequential public actions, actor-filtered surfaces, pooled
Persona-cell entitlements, and unanimous time, travel, and budget governance.
eight authenticated players create and seed a world (`world.create` v2,
`world.seed`) and begin in one shared scene with sequential public actions,
actor-filtered surfaces, pooled Persona-cell entitlements, and unanimous time,
travel, and budget governance.
The broader model in this document remains the direction for split parties,
private play actions, simultaneous declarations, delegation, and PvP.

View file

@ -130,8 +130,9 @@ commit, or declare the world complete.
The following cannot decide canonical state:
- HTTP, native, Eve, CultMesh, or chat handlers;
- Session Zero directors, compilers, elaborators, Projectors, Personas,
Interpreters, assessors, verifiers, reconcilers, narrators, and copy desks;
- Projectors, Personas, Interpreters, assessors, verifiers, reconcilers,
narrators, and copy desks; the elaborator decides nothing directly and
writes only through its confined `AdmitPatch` capability;
- schedulers, attention planners, initiative selectors, and resolution covers;
- acceptance drivers, smoke binaries, checkpoints, resume journals, caches,
and compaction summaries;
@ -288,8 +289,7 @@ The closed command vocabulary includes lifecycle and membership changes,
contract and boundary changes, speech, ontology construction, subject
decisions, time advance, external snapshots, evidence admission, and archive.
Every command lowers to the same mutation vocabulary. There is no
`commit_elaboration`, separate component-batch ingress, direct compiler install,
or reload repair path.
`commit_elaboration`, separate component-batch ingress, or reload repair path.
## Inference boundary
@ -564,7 +564,10 @@ the road is exercised against a real controller is the local live smoke
membrane, operational lane, clock, and elaboration sweep against a
CodexConnector on a genesis world. Its first run (2026-09-05) proved the path
end to end and showed that a three-subject, one-room genesis yields thin
prose; a seed producer is the gap that finding names.
prose; a seed producer is the gap that finding names. Step 8 landed that seed
producer: `world.create` v2 carries the scale intent at genesis, `world.seed`
runs one `SeedRunner` session per invocation against a `VaultEvidenceSource`,
and the extended live smoke seeds a world before it ticks.
Focused tests must prove:

View file

@ -4,8 +4,9 @@
Ghostlight exposes one actor-filtered logical surface, `ghostlight.play`. Eve
owns its editable bindings, command invocation, receipts, plugin composition,
and browser lowering. Ghostlight continues to own Session Zero and world
admission; Heimdall continues to own authentication and entitlement decisions.
and browser lowering. Ghostlight continues to own world creation
(`world.create` v2), the Draft seed lane (`world.seed`), and world admission;
Heimdall continues to own authentication and entitlement decisions.
```text
Ghostlight projection
@ -23,7 +24,7 @@ Ghostlight projection
changes, Heimdall owns OAuth attempts and claims, and Ghostlight's app-session
owner binds a verified Heimdall subject to a local cookie.
- Inputs: the provider projector reads only the caller's app session,
membership, actor-filtered campaign or Session Zero slice, and public
membership, actor-filtered campaign or Draft world slice, and public
Heimdall gate state. Command ingress reads one canonical Eve invocation and
derives member and actor identity server-side.
- Outputs: one `gamecult.eve.surface.v1` document and one persisted
@ -34,9 +35,9 @@ Ghostlight projection
interaction state. None grants access or mutates fiction.
- Forbidden writers: the browser, Eve lowerer, Heimdall plugin, SSE stream,
account preferences, and old auth store cannot choose an actor, establish
membership, approve a Session Zero decision, or commit world state.
membership, approve a Draft admission, or commit world state.
- Shared paths: every UI operation resolves the authenticated account and
exact membership, then calls the existing Session Zero or world mailbox.
exact membership, then calls the existing world mailbox.
SSE carries invalidation only and the host refetches the same surface.
- Cut line: the bespoke browser renderers and product-specific API routes are
removed from the public router. Ghostlight's backend callback and local
@ -82,8 +83,9 @@ account-subject hash, Heimdall session/revision, capabilities, expiries, and
wrapped refresh claim persist in `app-sessions.cc`. Campaign authorization is
always derived from `campaign_membership.v1`; account preferences contain only
the selected campaign. `campaign.entry` may clear only that preference so the
same authenticated player can return to the campaign list or begin another
Session Zero; it cannot leave, reset, fork, or mutate any campaign.
same authenticated player can return to the campaign list or begin creating
another world with `world.create`; it cannot leave, reset, fork, or mutate any
campaign.
Session Zero registry lookup treats only non-terminal negotiations as active:
`published` and `archived` records remain durable history but cannot replace the
campaign-entry surface after the preference is cleared.

View file

@ -209,6 +209,37 @@ travels over two wire schema constants, `CONSUMER_PATCH_SCHEMA` and
(state-schema generation `world-v3`); a store written under an earlier schema
is refused, not migrated.
`WorldScaleIntent` now arrives at creation, not as a later admission:
`world_create.v2` declares targets and jurisdiction roots top-level in the
genesis patch beside `commons`; a v1-announcing invocation is refused before
any handler runs, and the intent is write-once, set once at genesis and
resolved nowhere else. `qualifies` is phase-free — a controller, a non-empty
grant set, and a held `Goal`, checked the same way in Draft and Active — and
the Draft-answer refusal lives only in `require_answer`, which refuses every
Draft answer regardless of what `qualifies` says; so a Draft world's deficit
measures what the seed lane has left to author, not a frozen count. The seed
lane (`SeedPort`'s two methods `snapshot` and `submit_seed`, `SeedRunner`,
`SeedSession`, `ControllerWork::Seed`, `controller_work.v10`) admits seed
patches as `CallerId::Principal(owner)` through the existing unconfined owner
lane, in Draft only: the journal carries no marker distinguishing a
model-authored seed patch from a hand-authored one, because the model is the
owner's Hands during Draft and the owner's `ApproveDraft` plus `ActivateWorld`
remain the only path to Active. Evidence for a seed session comes from
`VaultEvidenceSource`, a read-only markdown directory reader in
`world/vault.rs`: the reference it hands back is the note's vault-relative
`.md` path, and its caps (`MAX_VAULT_RECEIPTS`, `MAX_HITS_PER_REFERENT`,
`MAX_LINK_FANOUT`, `MAX_EXCERPT_CHARS`) bound what one referent can retrieve.
One `world.seed` invocation runs one session and commits at most one patch
within the existing patch caps, driven by `select_row` choosing the first
`ScaleDeficitRow` with a nonzero deficit off the snapshot; `prompt_body`, the
evidence-and-mismatch tail of an authoring prompt, is shared by both the
elaboration lane and the seed lane so the two cannot drift on what a citation
rule says. One correction against the vocabulary above: a `Goal` commitment
carries no counterparty and by itself manufactures no `MissingStructure`
boundary; a commitment with a counterparty does, which is why a seeded
subject's bare goal is exactly the boundary the Active elaborator exists to
answer.
Opportunities bind to a `ScopeDigest` over one `scope_components` owner
(controller assignment, grants, delegated grants, own authority, position,
incident routes, own holdings, own dependencies, known fact ids, controlled
@ -219,8 +250,8 @@ rejected with `KernelError::ScopeChanged` otherwise. State schema is
`ghostlight.world_commit.consumer.v1`, controller work `controller_work.v9`;
earlier stores are refused. Ghostlight owns a conserved narrative ledger;
Delvehold owns the economy (`delvehold-forced-ontology-integration.md`).
Step 6 of the plan is complete; the outbound consumer response is the next
seam.
Step 6 of the plan is complete. The next seam is the seeded live run against a
real Vault and a real connector, then the outbound consumer response.
## The failure this vocabulary is designed against

View file

@ -307,39 +307,59 @@ are teardown evidence. Plan step 6 is ten implementation passes, all landed.
Still deferred by design: `PolityInCausalRange`, `IndividuationRequired`,
and Verification 13 wait for relations and population slices.
In flight: the operator ordered "Build the seed producer" on 2026-09-05.
Nothing is edited yet; Modeling is mapping the source into the session
scratchpad `modeling-seed.md`, then Imagination, Hands in an isolation
worktree, Soul in that tree, coordinator integrates. Operating assumption
recorded from the coordinator: a Draft-phase authoring session on the
existing elaboration repair loop, a local markdown Vault as
`EvidenceSource`, seed patches admitted in Draft for owner approval,
driven by the scale deficit from `WorldScaleIntent` at world creation,
triggered by an owner-only Eve command; no new reducer, ID allocator, or
`SystemCapability`. Two source facts the steward checked that the
assumption must absorb before Hands cuts: (1) `CreateWorldIntent`
(`world/mod.rs:311`) carries no scale intent and `WorldMailbox::create`
seeds genesis with `WorldScaleIntentRef::default()` (`mailbox.rs:169`),
so at creation the intent is empty and the deficit is zero; the genesis
patch lane already carries `Option<WorldScaleIntentRef>`
(`patch.rs:1805`), so the intent must arrive there or `CreateWorldIntent`
must grow it; (2) `SeedRequest` is not inhabited and Draft answers
nothing (`mod.rs:1563`, `require_answer`), so the ontology doc's
draft-phase `SeedRequest` answer (ontology lines 516 to 533, plan step 6
pass 8) is a promise, not a live mechanism, and the elaboration loop's
answer binding is Active-only today. What is live: `EvidenceSource`
(`elaboration.rs:229`, production supplies `NullEvidenceSource`);
`AdmitPatch` against a draft world under draft authority as the one seed
admission path (ontology 539 to 541, consumer-api 11 to 12);
`WorldScaleIntent` and `derive_scale_deficit` (ontology 138, 562). No
plan step names this organ; it is new scope after step 6.
The seed producer is integrated: plan step 8 landed. Tip is `697ed07`
(Soul: five reproducers, eight bounds) over `e73ef5c` and `681f706`
(Hands), on `70600d8` (plan step 8 opened). The push follows a background
crate test and the branch read `ahead 3` at the time of writing;
`git status -sb` is the witness. What landed: `world/vault.rs` with
`VaultEvidenceSource` and its caps; `SeedPort` (`snapshot`,
`submit_seed`) in `world/mailbox.rs`; `SeedRunner`, `SeedSession`,
`SeedCheckpoint`, `SeedOutcome` in `world/elaboration.rs` sharing
`prompt_body` with the elaborator; `ControllerWork::Seed`,
`WorkLane::Seed`, `controller_work.v10`; `qualifies` is phase-free and
`require_answer` owns the Draft refusal; `world_create.v2` carries
`targets` and `jurisdictions` and `world_create.v1` is refused;
`world.seed` in the Eve schema, arm, button, descriptor, and card; the
`world.advance_time` schema gap is closed with a totality test;
`GHOSTLIGHT_SEED_VAULT_ROOT` (`runtime.rs:1689`) is required and the
runner refuses to seed without it; one session per invocation. Baseline
at `697ed07`: 339 test functions in `world/*.rs`, 390 crate source, plus
one integration test. The two pre-cut questions are answered in source:
the scale intent arrives through `world_create.v2`, and Draft seeding
answers nothing by design with `require_answer` as the refusal owner.
Soul verdict: integrate with follow-ups. Two real defects (a junction
escape in the Vault walk; absolute paths in `VaultError` reaching the
owner receipt), one overclaim (Active is refused once, by the runner,
not twice), one fixture dependence (boundaries come from obligations,
not goals), one lifetime gap (`VerifiedPrincipalEvidence` has no
expiry). Correction to a claim carried since pass 8: `derive_id` does
not have two call sites; production has eight. The invariant that
steers is that no pass adds a `derive_id` call site, and every ID still
derives by sha256 over world, command, and handle.
In flight, not landed: `hands/seed-followups` in the worktree
`F:\Projects\Ghostlight-seedfu`, branched from `697ed07` with no commits
yet: canonicalize during the Vault walk and refuse reparse points;
`VaultError` without absolute paths; `SeedPort` phase-bound revision
submission; obligations in the brief; evidence `valid_until` enforced at
`submit_principal`; a receipt-cap guard. Main carries uncommitted doc
edits by a docs worker under coordinator ownership: the ontology
"Current mechanism" seed paragraph, the mvp doc, the Delvehold boundary
doc, the Eve native interface doc, the multiplayer intention doc, plan
step 8 marked landed, and a seeded run block in
`notes/local-live-smoke.md`. That run block currently points
`GHOSTLIGHT_SEED_VAULT_ROOT` at the fixture path
`F:\Projects\Ghostlight-smoke\vault` (line 58); the coordinator will run
the seeded road against Kalsa Public with root label "Low Sere" and
correct the note. The seeded road run follows the follow-ups.
Decisions the operator owns: (a) whether a refused coupled constituent
may re-submit once inside the same tick, to be taken with the
submitted-versus-committed number in hand; (b) the authority for an
owner-only Eve `world.run_tick` command, which is not built; (c) is taken:
the seed producer is cut next, ahead of the outbound consumer response
batch with the non-loopback CultMesh lease and the deployment gate below.
owner-only Eve `world.run_tick` command, which is not built. Behind the seeded road run wait the outbound
consumer response batch with the non-loopback CultMesh lease and the
deployment gate below.
The ten specs and maps (`imagination-pass1..10.md`,
`modeling-pass1..10.md`) remain in the session scratchpad only and are
history, not steering; the docs own the design.
@ -439,9 +459,5 @@ otes aculty-workflow-lessons-2026-09-04.md`
state root or validate a complete allowed-path contract.
- Keep this handoff compact. Move chronology to Git, evidence, or the frozen
system map.
- `docs/architecture/ghostlight-world-consumer-api.md` is drift: it names
`CampaignRegistry`, `WorldSeed`, and `publish_session_zero`, none of which
exist in the sealed kernel. Pending rewrite against
`ghostlight-world-ontology.md`; do not design from it.
- `docs/architecture/ghostlight-transition-algebra.md` is teardown evidence,
not vocabulary authority.

View file

@ -303,30 +303,50 @@ world acceptance run may start while Yggdrasil serves the legacy body.
### 7. Contract verification
### 8. Seed producer — in design
### 8. Seed producer — landed
Objective: a world that is alive at genesis rather than three subjects in one
room. The first live smoke (`notes/local-live-smoke.md`) proved the road and
showed that genesis yields thin prose because nothing authored exists to want
or be wanted.
Current mechanism: `WorldMailbox::create` builds a fixed genesis of three
subjects in `commons` and writes an empty `WorldScaleIntentRef`, so a fresh
world has zero deficit; the only Draft-phase author is the owner through the
same command, and no production path admits a second Draft patch. The
elaboration lane is Active-only by its answer selection; `EvidenceSource` is
a live trait whose production impl is null.
What landed: `world_create.v2` carries `WorldScaleIntent` (targets and
jurisdiction roots) into the genesis patch itself, write-once; a v1-announcing
invocation is refused before any handler runs. `qualifies` lost its
Draft-excluding phase clause, so a Draft world's scale deficit is live and
falls as structure is authored; the Draft-answer refusal that used to hide
behind that clause now lives only in `require_answer`. The Draft seed lane —
`SeedPort` (two methods, `snapshot` and `submit_seed`), `SeedRunner`,
`SeedSession`/`SeedCheckpoint`, `ControllerWork::Seed` and `WorkLane::Seed` on
`controller_work.v10` — runs one authoring session per `world.seed`
invocation on the existing elaboration repair loop, admitting at most one
Draft patch as `CallerId::Principal(owner)` through the unconfined owner lane;
there is no marker in the journal distinguishing a seed-authored patch from a
hand-authored one. `VaultEvidenceSource` (`world/vault.rs`) is the seed lane's
production `EvidenceSource`: a read-only markdown directory reader whose
evidence reference is a note's vault-relative `.md` path.
`world.advance_time`'s missing `operation_schema` entry — every invocation of
it was silently unreachable — was fixed ahead of `world.seed`, and
`every_operation_the_panel_emits_has_a_schema` is the totality test that makes
that class of gap fail loudly instead of silently.
Intended change: a Draft-phase authoring session on the existing elaboration
repair loop, reading a local markdown Vault through an `EvidenceSource`,
producing seed patches admitted in Draft for the owner to approve before
activation, planned against the scale deficit of a `WorldScaleIntent` that
must now arrive at creation. Triggered by an owner-only Eve command.
`SeedRequest` is resolved in the negative: Draft answers nothing, and the
seed lane's port cannot express an answered patch, so nothing ever needed
`SeedRequest` to bind. It stays representable in the `CausalBoundary`
vocabulary and uninhabited in practice.
Left undone: the seeded live run (the extended local live smoke seeds a world
from a real Vault before ticking it, but has not yet been run against a real
connector — see `notes/local-live-smoke.md`); `ControllerWorkCustody::Owned`
gained a `seed_commands` count while `Grouped` still has none, an asymmetry
named and not fixed; the Vault's keyword fallback scores by raw token-count
match rather than any real relevance ranking; and `VaultEvidenceSource::open`
reads its whole configured
scope into memory on every invocation rather than caching across sessions.
Cut line: no new reducer, ID allocator, conservation check, or
`SystemCapability`; no second tool surface; no compatibility path for the
three-subject genesis. `SeedRequest` is inhabited only if the spec shows Draft
needs an answer to bind, which today it does not.
three-subject genesis.
Required black-box proofs:

View file

@ -1,11 +1,12 @@
# Local Live Smoke
The one place the road is tested: the production tick driver, elaboration
sweep, and clock against a real CodexConnector on a genesis world, for a
configured number of ticks. Everything else proves the machine under fixture
inference ports. The harness is the ignored test
`runtime::tests::live_smoke_ticks_a_genesis_world_against_the_connector`; its
log is the deliverable.
The one place the road is tested: the seed lane, the production tick driver,
elaboration sweep, and clock against a real CodexConnector on a created
world, for a configured number of seed sessions and ticks. Everything else
proves the machine under fixture inference ports. The harness is the ignored
test
`runtime::tests::live_smoke_seeds_then_ticks_a_world_against_the_connector`;
its log is the deliverable.
## Substrate
@ -53,13 +54,24 @@ export GHOSTLIGHT_CONTROLLER_CONNECTOR=127.0.0.1:4103 \
GHOSTLIGHT_CONTROLLER_OPERATIONAL_MODEL=gpt-5.6-terra \
GHOSTLIGHT_CONTROLLER_ELABORATOR_MODEL=gpt-5.6-terra \
GHOSTLIGHT_SMOKE_TICKS=3 \
GHOSTLIGHT_SMOKE_LOG='F:\Projects\Ghostlight-smoke\logs\smoke-ticks.log'
cargo test -p ghostlight-dungeon --bin ghostlight-dungeon live_smoke_ticks -- --ignored --nocapture
GHOSTLIGHT_SMOKE_LOG='F:\Projects\Ghostlight-smoke\logs\smoke-ticks.log' \
GHOSTLIGHT_SEED_VAULT_ROOT='F:\Projects\Kalsa\Kalsa' \
GHOSTLIGHT_SMOKE_VAULT_SCOPE='Public' \
GHOSTLIGHT_SMOKE_SEED_SESSIONS=4 \
GHOSTLIGHT_SMOKE_SEED_TARGET=6 \
GHOSTLIGHT_SMOKE_SEED_ROOT_LABEL='Low Sere' \
GHOSTLIGHT_SMOKE_SEED_BRIEF='A dry basin town that owes its water to the gate above it.'
cargo test -p ghostlight-dungeon --bin ghostlight-dungeon live_smoke_seeds_then_ticks -- --ignored --nocapture
```
The caller runtime id must equal the one the connector config admits.
`GHOSTLIGHT_SEED_VAULT_ROOT` is required; the runner refuses to seed with it
unset. `GHOSTLIGHT_SMOKE_VAULT_SCOPE` and `GHOSTLIGHT_SMOKE_SEED_BRIEF` are
optional. The scope is a directory under the root; Kalsa's spoiler split is
that scope, so a world that must not see `Spoilers` is seeded from `Public`.
The root label must name a place the Vault knows; Low Sere has a Public note. The caller runtime id must equal the one the
connector config admits.
## First run, 2026-09-05
## First run, 2026-09-05, before the seed lane
Genesis: Active, three subjects (Operator, Persona, Operational Agent) in
`commons`, three opportunities, no boundaries, no deficit rows (no scale
@ -85,3 +97,8 @@ the seed-producer gap, not a cognition fault.
The older ignored test `real_codex_connector_cognition_modes_commit_speech`
in `world/controllers.rs` predates pass 6 and declares its subjects unplaced,
so it fails at `NoAudience` before reaching the provider; retire or place it.
## Seeded run
Not yet run. The harness now seeds a created world from a real Vault before
ticking it; the numbers land here once that road run happens.

File diff suppressed because one or more lines are too long

View file

@ -2,15 +2,13 @@
## Current Subgoal
Seed producer (operator order, 2026-09-05). Pipeline: Modeling
(`modeling-seed.md` in the session scratchpad) -> Imagination -> Hands in an
isolation worktree -> Soul in that tree -> integrate onto
`codex/ghostlight-dungeon-mvp`. Nothing edited yet at `f9a1c3e`.
Before Hands cuts, the spec must settle: how `WorldScaleIntent` reaches genesis
(`CreateWorldIntent` has none; genesis uses `WorldScaleIntentRef::default()`;
the genesis patch lane carries `Option<WorldScaleIntentRef>`), and how a Draft
patch is bound when `SeedRequest` is uninhabited and Draft answers nothing.
Seed follow-ups with Hands in `F:\Projects\Ghostlight-seedfu` on
`hands/seed-followups` from `697ed07` (Vault walk canonicalization and reparse
refusal; `VaultError` without absolute paths; `SeedPort` phase-bound revision;
obligations in the brief; `valid_until` at `submit_principal`; receipt-cap
guard), then the seeded road run against Kalsa Public, root label "Low Sere",
per `notes/local-live-smoke.md` once its run block is corrected. Main tip
`697ed07`; plan step 8 landed.
## Working Notes