Close world compiler and MVP authority map

This commit is contained in:
Meta Vens 2026-08-16 23:42:36 +02:00
commit 934afe67e1
7 changed files with 111 additions and 49 deletions

View file

@ -33,18 +33,19 @@ per-campaign WorldKernel mailbox is the sole canonical writer. Ghostlight owns
the generalized Projector → Persona → Interpreter organ; Epiphany retains her
canonical Persona mind and will consume the shared organ through an adapter.
The Epiphany extraction map is complete. The active bounded organ is the world
compiler. Its Rust seam now retrieves hashed VoidBot witnesses, generates
distinct openings and roles, compiles approval-gated custom starts, rejects
invalid topology, and atomically admits campaign plus evidence only on
approval. The browser now exposes generated opening/role selection and custom
starts. A live DeepSeek plus VoidBot custom compilation passed with 30 witnessed
source chunks and remained an uncommitted approval preview. A disposable HTTP
run then proved approval persistence, authenticated-session survival across
restart, and rejection of consumed invite reuse using hashed auth state in a
separate `.cc`. Next, add material-gap decisions, on-demand destination
compilation, and canon-candidate persistence. Existing Ghostlight fixtures
remain regression evidence.
The hosted MVP is implemented and in final acceptance. Ghostlight owns the
generalized projection membrane; Epiphany consumes its pinned crate while
retaining her own Mind and consequence authority. The Rust daemon now owns
VoidBot-grounded compilation and approval, stable topology, campaign mailboxes,
fiction-first d20 receipts, parallel Persona waves, automatic gestalt
individuation and folding, model-driven strategic ticks, exact-channel news,
CultMesh/Eve publication, invite-isolated campaigns, and `.cc` export. Live
acceptance has proved two invite sessions, Vault compilation, three concurrent
NPC reactions, a 15.16-second four-actor wave, and material offscreen agency
without player puppeting. Re-enter through the authoritative architecture and
the latest exact deployment evidence; do not resume the superseded compiler
foundation checklist below. Existing Ghostlight fixtures remain regression
evidence.
## Prior research pipeline focus

View file

@ -1,8 +1,10 @@
# Ghostlight Current System Map
GhostlightDungeon is the active runtime program. Its authority map is
`docs/architecture/ghostlight-dungeon-mvp.md`. The runtime is not yet complete;
the existing validated artifact seams remain regression evidence.
GhostlightDungeon is the active hosted runtime. Its authority map is
`docs/architecture/ghostlight-dungeon-mvp.md`. The implemented Rust daemon,
CultCache campaign stores, CultMesh/Eve surfaces, browser lowerer, and Starfire
process/release scripts are the live machine; the older validated artifact
seams remain regression evidence only.
## GhostlightDungeon target flow
@ -36,6 +38,21 @@ the campaign revision and world time untouched. Background inference checks
live-turn pressure before launch and again before commit; return catch-up uses
the same command path with player-turn priority.
Population scale uses reversible individuation:
```text
gestalt baseline + existing member delta, or a first-relevance identity proposal
-> WorldKernel validates gestalt/member/revision/location
-> atomic durable member delta + temporary ActorState
-> ordinary Persona appraisal and world commands
-> expired relevance lease outside player perception
-> atomic fold into the member delta; active slot removed
-> gestalt receives strategic ticks without erasing the individual
```
The temporary actor slot is derived. It never owns identity, relationship,
memory, equipment, injury, or obligation state.
The browser command boundary is deliberately smaller than `WorldCommand`.
Authenticated HTTP admits only player-owned Speak, unfilled Assess, Attempt,
and Wait requests. Actor identity must match the campaign player. Compiler

View file

@ -177,9 +177,9 @@ stake prose alone never impersonates world mutation.
- Do not expose model chain-of-thought or secrets.
- Serve the embedded web bundle on TCP `8831`. Firewall access is limited to Starfire’s private LAN and `10.77.0.0/24`; no public listener or Yggdrasil web gateway is added.
- Use two single-use invite links that establish separate HttpOnly sessions. Campaigns are single-player; simultaneous co-op is outside the MVP.
- Install `GhostlightDungeon` as an automatic Windows service under a dedicated virtual service identity. ACL the runtime root to administrators and the service identity.
- Run `GhostlightDungeon` as a normal detached process under the Starfire operator account. Record its PID, executable, and logs; explicit start, stop, health, release, and rollback scripts own lifecycle. ACL the runtime root to administrators and that operator account.
- Read the DeepSeek key from stdin during setup, protect it with machine-scoped DPAPI plus file ACLs, and never place it in source, arguments, logs, or environment projections.
- Build immutable release directories from the exact Git commit, switch the active release atomically, record provenance in CultCache, and configure service restart recovery.
- Build immutable release directories from the exact Git commit, switch the active release through the guarded junction, and record provenance in CultCache plus the immutable release manifest. Process restart is explicit; Windows service installation and automatic boot recovery are outside this MVP by operator choice.
### Repository and operational documentation
@ -229,7 +229,7 @@ Publish JSON Schema only as the schema catalog. Runtime documents and exports us
- all actor stages execute in parallel waves;
- a four-actor live turn completes within 20 seconds;
- background inference yields immediately to live work.
- Final deployment smoke verifies service restart, LAN and WireGuard access, blocked public access, DeepSeek inference, VoidBot-grounded retrieval, scheduler continuation, state persistence, CultMesh/Eve publication, and exact deployed commit provenance.
- Final deployment smoke verifies explicit process restart, LAN and WireGuard access, blocked public access, DeepSeek inference, VoidBot-grounded retrieval, scheduler continuation, state persistence, CultMesh/Eve publication, and exact deployed commit provenance.
## Assumptions and exclusions

View file

@ -21,9 +21,13 @@ reversible gestalt materialization, isolated sessions/campaigns, CultMesh/Eve
publication, and away-time scheduling. Strategic ticks now use a flash-model
typed proposal; the WorldKernel forbids player puppeting, invented IDs,
unreachable movement, and unbounded information or population-pressure edits.
The active cut is acceptance and deployment truth: exercise live scheduled and
return-time ticks, the gestalt round trip, model failure, four-actor latency,
remote CultMesh publication, restart, and exact release provenance.
The implementation cut is closed. Final acceptance evidence covers hosted
VoidBot compilation, invite isolation, automatic gestalt presence, three NPC
reactions, a 15.16-second four-actor parallel wave, model-driven institutional,
gestalt, and remote-actor away simulation, exact-channel news, full workspace
tests, legacy Pallas/Lucent/Corvid validation, CultMesh publication, explicit
process restart, and exact release provenance. Future work belongs in a new
post-MVP plan rather than silently extending this one.
## Prior research-program phase