Implement multiresolution gestalt agency graph

This commit is contained in:
Meta Vens 2026-08-17 09:33:34 +02:00
commit bf586b90d0
33 changed files with 5579 additions and 300 deletions

View file

@ -15,6 +15,11 @@ not slowly melt into one cursed binder.
## Core Architecture Contracts
- `docs/architecture/ghostlight-dungeon-mvp.md`: hosted dungeon authority and
runtime map.
- `docs/architecture/ghostlight-multiresolution-agency.md`: dynamic agency
graph, connected cohesive/arena covers, detail fairness, cell waves, fission,
controls, and atomicity.
- `docs/architecture/canonical-agent-state-schema.md`: canonical state model.
- `docs/architecture/agent-state-variable-glossary.md`: meanings for state
axes, voice style, overlays, and emergent behaviors.

View file

@ -38,7 +38,8 @@ 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,
individuation and folding, a multiresolution global agency graph, connected
cohesive/arena cell covers, model-driven strategic cell waves, 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 13.57-second four-actor wave, and material offscreen agency
@ -47,6 +48,12 @@ the latest exact deployment evidence; do not resume the superseded compiler
foundation checklist below. Existing Ghostlight fixtures remain regression
evidence.
The multiresolution authority map is
`docs/architecture/ghostlight-multiresolution-agency.md`. Canonical people and
populations never merge; only the derived simulation cover does. Budget/pin
changes use `resolution_epoch`, provider parallelism uses its own configuration
epoch, and neither advances fictional time.
## Prior research pipeline focus
The active path is a source-grounded branching-scene data loop:

View file

@ -27,10 +27,14 @@ Away-time agency follows a separate proposal/commit seam:
```text
exact campaign revision
-> flash-model StrategicTickPlan proposal
-> WorldKernel validates IDs, non-player scope, topology, duration, and bounds
-> flash-model six-axis resolution demand
-> connected agency graph + budget/pins/leases/detail debt
-> cohesive or arena simulation-cell cover
-> one private Projector/Persona/Interpreter membrane per cell
-> exact constituent-attributed appraisals and proposals
-> WorldKernel validates cover, receipts, knowledge, scope, topology, and bounds
-> AdvanceStrategicTick through the campaign mailbox
-> atomic campaign/event/news commit
-> one atomic campaign/event/news/cover/appraisal commit
```
The model owns no tick mutation. A provider failure or invalid proposal leaves
@ -53,6 +57,12 @@ gestalt baseline + existing member delta, or a first-relevance identity proposal
The temporary actor slot is derived. It never owns identity, relationship,
memory, equipment, injury, or obligation state.
The active cell budget and provider concurrency limit are separate controls.
Budget and pins increment `resolution_epoch` without advancing world revision or
fictional time. Provider concurrency increments only
`provider_configuration_epoch`; it batches the same cover and cannot repartition
the world. See `docs/architecture/ghostlight-multiresolution-agency.md`.
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

@ -6,6 +6,12 @@ Build `GhostlightDungeon` inside `GameCult/Ghostlight`: a persistent, Vault-grou
The runtime will be a Rust daemon on Starfire. It will own world compilation, typed CultCache state, d20 resolution, NPC Persona loops, offscreen simulation, narration, and Eve/CultUI publication. A thin TypeScript browser client will lower the Eve surface and submit typed commands.
Population-scale agency is implemented by the dynamic connected cover in
`docs/architecture/ghostlight-multiresolution-agency.md`. That authority map
supersedes any reading of the gestalt materialization notes below as a flat
strategic Persona list: materialization preserves named identity, while the
agency graph decides the current simulation resolution.
Ghostlight’s existing v0 schemas and training fixtures remain evidence and regression material; they do not become runtime authorities.
## Authority and invariants
@ -163,6 +169,34 @@ stake prose alone never impersonates world mutation.
- Live play has inference priority; background work stops launching new calls while a player turn is active.
- Offscreen events generate information-channel-aware news leads. On return, the player may receive newspapers, reports, messages, or rumors only when the character has access to them; the news layer cannot reveal omniscient state.
### Multiresolution gestalt and institution agency
- Campaign creation compiles a global agency skeleton across every non-player
actor, institution, and active gestalt leaf. All six partition facets are
explicit; remote powers do not require eager local geography.
- `ActorState`, `InstitutionState`, gestalt baselines, member deltas,
relationships, possessions, and knowledge remain canonical. A
`simulation_cell.v1` is a derived connected cover and may be discarded.
- The player chooses 1–32 active Persona cells, default 8. Foreground subjects,
active leases, initiative holders, explicit targets, and individual-detail
pins may create a reported temporary overage.
- Adjacent cells merge by the weighted loss specified in
`ghostlight-multiresolution-agency.md`; cohesive cells require real common
authority, while opposed or cross-faction cells are arenas with no synthetic
actor or shared knowledge.
- Every active cell receives one private Projector → Persona → Interpreter
pipeline. Arena output is constituent-attributed. All cells, receipts, and
effects validate against one world revision and resolution epoch before one
atomic strategic commit.
- Persistent detail debt rotates direct attention through quiet subjects. All
clocks and deterministic obligations advance regardless of selected detail.
- Population fission is a separate approval-gated canonical operation. It
creates enumerated child leaves plus `other/unknown`, preserves the parent as
lineage, and reassigns durable member deltas without rewriting identity.
- Provider request parallelism is an operator control with its own epoch. It
batches the selected cell pipelines and cannot change the cover or fictional
state.
### Web laboratory and hosting
- Build the interface as a Ghostlight-owned `gamecult.eve.surface.v1` document and lower it with Eve’s pinned browser renderer.

View file

@ -18,9 +18,16 @@ consequence authority.
The hosted runtime owns compiler approval, exact VoidBot evidence, campaign
mailboxes, fiction-first d20 resolution, parallel Persona appraisal, narration,
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.
publication, and away-time scheduling. Strategic ticks now project six-axis
pressure, select a connected budgeted cover over the global agency skeleton,
and run one private Ghostlight Persona membrane per cohesive or arena cell. The
WorldKernel admits the whole cell wave atomically and forbids player puppeting,
synthetic arena actors, borrowed secrets, invented IDs, unreachable movement,
and unbounded information or population-pressure edits. The laboratory exposes
a 1–32 player budget, persistent pins, approval-gated gestalt fission, graph and
cover receipts, and a separate operator provider-concurrency limit. The
specific authority map is
`docs/architecture/ghostlight-multiresolution-agency.md`.
The implementation cut is closed. Final acceptance evidence covers hosted
VoidBot compilation, invite isolation, automatic gestalt presence, three NPC
reactions, a 13.57-second four-actor parallel wave, model-driven institutional,