Admit externally sovereign Gestalt subjects

This commit is contained in:
Meta Vens 2026-08-26 19:13:50 +02:00
commit 63e73c6c9e
13 changed files with 211 additions and 87 deletions

View file

@ -188,7 +188,7 @@ pub struct WorldSeedAdmissionRequest {
}
#[derive(Clone, Debug, Serialize, Deserialize, JsonSchema, PartialEq)]
pub struct ExternalInstitutionSnapshot {
pub struct ExternalSubjectSnapshot {
pub schema: String,
pub campaign_id: Uuid,
pub expected_world_revision: u64,
@ -198,7 +198,30 @@ pub struct ExternalInstitutionSnapshot {
pub source_revision: u64,
pub idempotency_key: String,
pub payload_digest: String,
pub projection: InstitutionState,
pub projection: ExternalSubjectProjection,
}
#[derive(Clone, Debug, Serialize, Deserialize, JsonSchema, PartialEq)]
#[serde(tag = "subject_kind", content = "state", rename_all = "snake_case")]
pub enum ExternalSubjectProjection {
Institution(InstitutionState),
Gestalt(GestaltPersonaState),
}
impl ExternalSubjectProjection {
pub fn subject_id(&self) -> &str {
match self {
Self::Institution(value) => &value.id,
Self::Gestalt(value) => &value.id,
}
}
pub fn subject_kind(&self) -> AgencySubjectKind {
match self {
Self::Institution(_) => AgencySubjectKind::Institution,
Self::Gestalt(_) => AgencySubjectKind::Gestalt,
}
}
}
#[derive(Clone, Debug, Serialize, Deserialize, JsonSchema, PartialEq, Eq)]
@ -297,7 +320,7 @@ pub fn validate_authority_key(authority: &ExternalSubjectAuthority, supplied: &s
Ok(())
}
pub fn snapshot_payload_digest(snapshot: &ExternalInstitutionSnapshot) -> Result<String> {
pub fn snapshot_payload_digest(snapshot: &ExternalSubjectSnapshot) -> Result<String> {
crate::legacy_transition::digest_serializable(&(
snapshot.campaign_id,
&snapshot.authority_id,
@ -346,12 +369,12 @@ pub fn validate_seed_admission(
.get_mut(&authority.subject_id)
.filter(|profile| profile.subject_kind == authority.subject_kind)
.ok_or_else(|| anyhow!("external authority subject or kind is unknown"))?;
if authority.subject_kind != AgencySubjectKind::Institution
|| !campaign.institutions.contains_key(&authority.subject_id)
{
return Err(anyhow!(
"the first consumer API slice admits institution-shaped external subjects only"
));
match authority.subject_kind {
AgencySubjectKind::Institution
if campaign.institutions.contains_key(&authority.subject_id) => {}
AgencySubjectKind::Gestalt if campaign.gestalts.contains_key(&authority.subject_id) => {
}
_ => return Err(anyhow!("external authority subject kind is unsupported")),
}
profile.simulation_eligible = false;
}

View file

@ -978,8 +978,8 @@ pub enum WorldCommand {
#[serde(default)]
model_stage_receipts: Vec<crate::model::ModelStageReceipt>,
},
ApplyExternalInstitutionSnapshot {
snapshot: crate::consumer::ExternalInstitutionSnapshot,
ApplyExternalSubjectSnapshot {
snapshot: crate::consumer::ExternalSubjectSnapshot,
},
Speak {
expected_revision: u64,

View file

@ -222,8 +222,8 @@ fn execute(
.map_err(persist)?
.ok_or(KernelError::NotFound)?;
match command {
WorldCommand::ApplyExternalInstitutionSnapshot { snapshot } => {
if snapshot.schema != "ghostlight.external_institution_snapshot.v1"
WorldCommand::ApplyExternalSubjectSnapshot { snapshot } => {
if snapshot.schema != "ghostlight.external_subject_snapshot.v1"
|| snapshot.campaign_id != campaign.id
{
return Err(KernelError::Invalid(
@ -259,7 +259,8 @@ fn execute(
})?;
if authority.campaign_id != snapshot.campaign_id
|| authority.owner_id != snapshot.owner_id
|| authority.subject_id != snapshot.projection.id
|| authority.subject_id != snapshot.projection.subject_id()
|| authority.subject_kind != snapshot.projection.subject_kind()
{
return Err(KernelError::Invalid(
"external snapshot does not match its authority".into(),
@ -283,21 +284,45 @@ fn execute(
));
}
require_revision(&campaign, snapshot.expected_world_revision)?;
campaign
.institutions
.insert(snapshot.projection.id.clone(), snapshot.projection.clone());
if let Some(profile) = campaign.agency_profiles.get_mut(&snapshot.projection.id) {
profile.facets.insert(
AgencyAxis::Authority,
BTreeSet::from([
snapshot.projection.id.clone(),
snapshot.projection.posture.clone(),
]),
);
profile.facets.insert(
AgencyAxis::EconomyRole,
snapshot.projection.resources.iter().cloned().collect(),
);
let subject_id = snapshot.projection.subject_id().to_owned();
let mut institution_ids = Vec::new();
let mut gestalt_ids = Vec::new();
match &snapshot.projection {
crate::consumer::ExternalSubjectProjection::Institution(value) => {
campaign
.institutions
.insert(value.id.clone(), value.clone());
institution_ids.push(value.id.clone());
if let Some(profile) = campaign.agency_profiles.get_mut(&value.id) {
profile.facets.insert(
AgencyAxis::Authority,
BTreeSet::from([value.id.clone(), value.posture.clone()]),
);
profile.facets.insert(
AgencyAxis::EconomyRole,
value.resources.iter().cloned().collect(),
);
}
}
crate::consumer::ExternalSubjectProjection::Gestalt(value) => {
campaign.gestalts.insert(value.id.clone(), value.clone());
gestalt_ids.push(value.id.clone());
if let Some(profile) = campaign.agency_profiles.get_mut(&value.id) {
profile.location_ids = BTreeSet::from([value.home_location_id.clone()]);
profile.facets.insert(
AgencyAxis::Geography,
BTreeSet::from([value.home_location_id.clone()]),
);
profile.facets.insert(
AgencyAxis::EconomyRole,
value.shared_capabilities.iter().cloned().collect(),
);
profile.facets.insert(
AgencyAxis::Information,
value.shared_knowledge.iter().cloned().collect(),
);
}
}
}
let previous_world_revision = campaign.revision;
campaign.revision = campaign.revision.saturating_add(1);
@ -308,14 +333,14 @@ fn execute(
snapshot.authority_id, snapshot.source_revision
),
at: now,
kind: "external_institution_snapshot".into(),
kind: "external_subject_snapshot".into(),
summary: format!(
"{} supplied an authoritative external institution snapshot.",
"{} supplied an authoritative external subject snapshot.",
snapshot.owner_id
),
actor_ids: Vec::new(),
institution_ids: vec![snapshot.projection.id.clone()],
gestalt_ids: Vec::new(),
institution_ids,
gestalt_ids,
location_ids: Vec::new(),
public_channels: Vec::new(),
});
@ -327,7 +352,7 @@ fn execute(
id: receipt_key,
campaign_id: snapshot.campaign_id,
authority_id: snapshot.authority_id,
subject_id: snapshot.projection.id,
subject_id,
owner_id: snapshot.owner_id,
source_revision: snapshot.source_revision,
payload_digest: snapshot.payload_digest,

View file

@ -5480,7 +5480,7 @@ fn player_http_command_allowed(command: &WorldCommand, player_actor_id: &str) ->
WorldCommand::Attempt { .. } => false,
WorldCommand::Wait { .. } | WorldCommand::SetResolutionBudget { .. } => true,
WorldCommand::CreateCampaign { .. }
| WorldCommand::ApplyExternalInstitutionSnapshot { .. }
| WorldCommand::ApplyExternalSubjectSnapshot { .. }
| WorldCommand::ProposeTimeAdvance { .. }
| WorldCommand::ApproveTimeAdvance { .. }
| WorldCommand::ProposeGroupTravel { .. }

View file

@ -586,7 +586,7 @@ fn schema_catalog() -> Value {
"ghostlight.world_seed_admission_request.v1": schemars::schema_for!(crate::consumer::WorldSeedAdmissionRequest),
"ghostlight.world_seed_admission_receipt.v1": schemars::schema_for!(crate::consumer::WorldSeedAdmissionReceipt),
"ghostlight.external_subject_authority.v1": schemars::schema_for!(crate::consumer::ExternalSubjectAuthority),
"ghostlight.external_institution_snapshot.v1": schemars::schema_for!(crate::consumer::ExternalInstitutionSnapshot),
"ghostlight.external_subject_snapshot.v1": schemars::schema_for!(crate::consumer::ExternalSubjectSnapshot),
"ghostlight.external_snapshot_receipt.v1": schemars::schema_for!(crate::consumer::ExternalSnapshotReceipt),
"ghostlight.external_world_proposal.v1": schemars::schema_for!(crate::consumer::ExternalWorldProposal),
"ghostlight.external_proposal_list_request.v1": schemars::schema_for!(crate::consumer::ExternalProposalListRequest),

View file

@ -262,19 +262,13 @@ async fn handle_operation_inner(
)
}
ghostlight_dungeon::consumer::APPLY_EXTERNAL_SNAPSHOT_OPERATION => {
require_schema(
payload_schema,
"ghostlight.external_institution_snapshot.v1",
)?;
let command: ghostlight_dungeon::consumer::ExternalInstitutionSnapshot =
require_schema(payload_schema, "ghostlight.external_subject_snapshot.v1")?;
let command: ghostlight_dungeon::consumer::ExternalSubjectSnapshot =
decode_request(request)?;
require_schema(
&command.schema,
"ghostlight.external_institution_snapshot.v1",
)?;
require_schema(&command.schema, "ghostlight.external_subject_snapshot.v1")?;
let receipt = state
.registry
.apply_external_institution_snapshot(command)
.apply_external_subject_snapshot(command)
.await?;
success_response(request, "ghostlight.external_snapshot_receipt.v1", &receipt)
}

View file

@ -313,14 +313,14 @@ impl CampaignRegistry {
}
}
pub async fn apply_external_institution_snapshot(
pub async fn apply_external_subject_snapshot(
&self,
snapshot: crate::consumer::ExternalInstitutionSnapshot,
snapshot: crate::consumer::ExternalSubjectSnapshot,
) -> Result<crate::consumer::ExternalSnapshotReceipt> {
let runtime = self.runtime(snapshot.campaign_id).await?;
match runtime
.kernel
.command(crate::domain::WorldCommand::ApplyExternalInstitutionSnapshot { snapshot })
.command(crate::domain::WorldCommand::ApplyExternalSubjectSnapshot { snapshot })
.await
.map_err(|error| anyhow!(error.to_string()))?
{
@ -1145,7 +1145,22 @@ mod tests {
posture: "watchful".into(),
},
);
campaign.player_actor_id = "external-hold".into();
campaign.gestalts.insert(
"external-population".into(),
crate::domain::GestaltPersonaState {
schema: "ghostlight.gestalt_persona_state.v1".into(),
id: "external-population".into(),
name: "External Population".into(),
version: 1,
home_location_id: "room".into(),
shared_capabilities: BTreeSet::from(["farming".into()]),
shared_knowledge: BTreeSet::from(["old road".into()]),
resources: BTreeSet::new(),
goals: vec!["endure".into()],
pressures: Vec::new(),
},
);
campaign.player_actor_id = "external-population".into();
let seed = WorldSeed::from_campaign(&campaign).unwrap();
let authority_key = "test-authority-key";
let admission = WorldSeedAdmission {
@ -1155,17 +1170,30 @@ mod tests {
producer_kind: WorldSeedProducerKind::Consumer,
seed_digest: seed.digest().unwrap(),
idempotency_key: "admit-once".into(),
external_subjects: vec![ExternalSubjectAuthority {
schema: "ghostlight.external_subject_authority.v1".into(),
id: "authority:external-hold".into(),
campaign_id: campaign.id,
subject_id: "external-hold".into(),
subject_kind: crate::domain::AgencySubjectKind::Institution,
owner_id: "fixture-consumer".into(),
authority_key_sha256: crate::consumer::authority_key_digest(authority_key),
last_source_revision: None,
last_payload_digest: None,
}],
external_subjects: vec![
ExternalSubjectAuthority {
schema: "ghostlight.external_subject_authority.v1".into(),
id: "authority:external-hold".into(),
campaign_id: campaign.id,
subject_id: "external-hold".into(),
subject_kind: crate::domain::AgencySubjectKind::Institution,
owner_id: "fixture-consumer".into(),
authority_key_sha256: crate::consumer::authority_key_digest(authority_key),
last_source_revision: None,
last_payload_digest: None,
},
ExternalSubjectAuthority {
schema: "ghostlight.external_subject_authority.v1".into(),
id: "authority:external-population".into(),
campaign_id: campaign.id,
subject_id: "external-population".into(),
subject_kind: crate::domain::AgencySubjectKind::Gestalt,
owner_id: "fixture-consumer".into(),
authority_key_sha256: crate::consumer::authority_key_digest(authority_key),
last_source_revision: None,
last_payload_digest: None,
},
],
};
let request = WorldSeedAdmissionRequest {
schema: "ghostlight.world_seed_admission_request.v1".into(),
@ -1174,7 +1202,10 @@ mod tests {
authority_key: authority_key.into(),
};
let (runtime, receipt) = registry.admit_world_seed(request.clone()).await.unwrap();
assert_eq!(receipt.admitted_subject_ids, vec!["external-hold"]);
assert_eq!(
receipt.admitted_subject_ids,
vec!["external-hold", "external-population"]
);
assert!(
!runtime
.store
@ -1188,8 +1219,8 @@ mod tests {
let (_, repeated) = registry.admit_world_seed(request).await.unwrap();
assert_eq!(repeated.seed_digest, receipt.seed_digest);
let mut snapshot = crate::consumer::ExternalInstitutionSnapshot {
schema: "ghostlight.external_institution_snapshot.v1".into(),
let mut snapshot = crate::consumer::ExternalSubjectSnapshot {
schema: "ghostlight.external_subject_snapshot.v1".into(),
campaign_id: campaign.id,
expected_world_revision: 0,
authority_id: "authority:external-hold".into(),
@ -1198,20 +1229,22 @@ mod tests {
source_revision: 7,
idempotency_key: "snapshot-seven".into(),
payload_digest: String::new(),
projection: crate::domain::InstitutionState {
id: "external-hold".into(),
name: "External Hold".into(),
resources: vec!["ore".into(), "grain".into()],
goals: vec!["remain sovereign".into()],
posture: "mobilized".into(),
},
projection: crate::consumer::ExternalSubjectProjection::Institution(
crate::domain::InstitutionState {
id: "external-hold".into(),
name: "External Hold".into(),
resources: vec!["ore".into(), "grain".into()],
goals: vec!["remain sovereign".into()],
posture: "mobilized".into(),
},
),
};
snapshot.payload_digest = crate::consumer::snapshot_payload_digest(&snapshot).unwrap();
let mut denied = snapshot.clone();
denied.authority_key = "wrong-key".into();
assert!(
registry
.apply_external_institution_snapshot(denied)
.apply_external_subject_snapshot(denied)
.await
.is_err()
);
@ -1226,7 +1259,7 @@ mod tests {
0
);
let snapshot_receipt = registry
.apply_external_institution_snapshot(snapshot.clone())
.apply_external_subject_snapshot(snapshot.clone())
.await
.unwrap();
assert_eq!(snapshot_receipt.world_revision, 1);
@ -1248,13 +1281,13 @@ mod tests {
);
assert_eq!(
registry
.apply_external_institution_snapshot(snapshot)
.apply_external_subject_snapshot(snapshot)
.await
.unwrap(),
snapshot_receipt
);
let mut stale_snapshot = crate::consumer::ExternalInstitutionSnapshot {
schema: "ghostlight.external_institution_snapshot.v1".into(),
let mut stale_snapshot = crate::consumer::ExternalSubjectSnapshot {
schema: "ghostlight.external_subject_snapshot.v1".into(),
campaign_id: campaign.id,
expected_world_revision: 1,
authority_id: "authority:external-hold".into(),
@ -1263,13 +1296,15 @@ mod tests {
source_revision: 6,
idempotency_key: "snapshot-six".into(),
payload_digest: String::new(),
projection: campaign.institutions["external-hold"].clone(),
projection: crate::consumer::ExternalSubjectProjection::Institution(
campaign.institutions["external-hold"].clone(),
),
};
stale_snapshot.payload_digest =
crate::consumer::snapshot_payload_digest(&stale_snapshot).unwrap();
assert!(
registry
.apply_external_institution_snapshot(stale_snapshot)
.apply_external_subject_snapshot(stale_snapshot)
.await
.is_err()
);
@ -1283,6 +1318,51 @@ mod tests {
.revision,
1
);
let mut gestalt_snapshot = crate::consumer::ExternalSubjectSnapshot {
schema: "ghostlight.external_subject_snapshot.v1".into(),
campaign_id: campaign.id,
expected_world_revision: 1,
authority_id: "authority:external-population".into(),
owner_id: "fixture-consumer".into(),
authority_key: authority_key.into(),
source_revision: 1,
idempotency_key: "population-one".into(),
payload_digest: String::new(),
projection: crate::consumer::ExternalSubjectProjection::Gestalt(
crate::domain::GestaltPersonaState {
schema: "ghostlight.gestalt_persona_state.v1".into(),
id: "external-population".into(),
name: "External Population".into(),
version: 2,
home_location_id: "room".into(),
shared_capabilities: BTreeSet::from(["farming".into(), "milling".into()]),
shared_knowledge: BTreeSet::from(["old road".into(), "new levy".into()]),
resources: BTreeSet::new(),
goals: vec!["endure".into()],
pressures: vec!["taxation".into()],
},
),
};
gestalt_snapshot.payload_digest =
crate::consumer::snapshot_payload_digest(&gestalt_snapshot).unwrap();
let gestalt_receipt = registry
.apply_external_subject_snapshot(gestalt_snapshot)
.await
.unwrap();
assert_eq!(gestalt_receipt.world_revision, 2);
let updated = runtime
.store
.load::<Campaign>("campaign.v1", &campaign.id.to_string())
.unwrap()
.unwrap()
.1;
assert_eq!(updated.gestalts["external-population"].version, 2);
assert!(!updated.agency_profiles["external-population"].simulation_eligible);
assert!(
updated.agency_profiles["external-population"].facets
[&crate::domain::AgencyAxis::EconomyRole]
.contains("milling")
);
let proposal = ExternalWorldProposal {
schema: "ghostlight.external_world_proposal.v1".into(),
id: "external-proposal:test".into(),

View file

@ -50,7 +50,7 @@ producer seed
consumer-owned state
-> consumer adapter
-> ExternalInstitutionSnapshot
-> ExternalSubjectSnapshot (institution or Gestalt projection)
-> authority, digest, revision, and idempotency validation
-> WorldKernel atomic campaign commit
-> ExternalSnapshotReceipt
@ -78,10 +78,10 @@ consumer boundary.
cover state, and other already-authoritative campaign fields.
- The seed digest binds the exact normalized seed. A campaign ID cannot be
republished from another digest.
- An external authority names one existing institution-shaped subject and one
owner. Its secret is persisted only as SHA-256.
- An external authority names one existing institution or Gestalt subject and
one owner. Its secret is persisted only as SHA-256.
- External subjects are active graph targets but never simulation-eligible.
- A snapshot replaces only the exact externally owned institution projection.
- A snapshot replaces only the exact externally owned institution or Gestalt projection.
It cannot create subjects, routes, actors, Gestalts, relations, or private
knowledge.
- Source revisions increase monotonically. Exact idempotent replay returns the

View file

@ -426,7 +426,7 @@ approved capability.
The generic world-consumer boundary is implemented. Session Zero and external
producers share one admitted `WorldSeed` transaction; externally authoritative
institutions enter through revisioned WorldKernel snapshots; and strategic
institutions or Gestalts enter through revisioned WorldKernel snapshots; and strategic
actions aimed at them persist typed proposals for consumer acknowledgement over
the existing loopback CultNet RUDP operation server.

View file

@ -107,8 +107,8 @@ still enter `WorldKernel` through typed validation and atomic CultCache commit.
Delvehold owns players, workshops, dungeons, civic state, contracts, and its
quantitative economy. Ghostlight owns external actors, institutions, Gestalts,
relationships, knowledge, pressures, and strategic decisions. Consumer
configurations may bind institution subjects through `ExternalSubjectAuthority`.
Those institutions project committed revisioned snapshots into Ghostlight,
configurations may bind institution or Gestalt subjects through
`ExternalSubjectAuthority`. Those subjects project committed revisioned snapshots into Ghostlight,
receive no Persona or strategic turn, and remain targets of foreign action.
Such actions persist as attributed proposals in the same strategic-wave commit
and return for consumer admission, not direct mutation. Compiler and consumer

View file

@ -136,4 +136,5 @@
{"note": "DELVE/HOLD boundary: live Ghostlight WorldKernel, multiresolution agency, typed transitions, persistence, and receipts are reusable, but current InstitutionState and strategic resource handles do not implement HOLD quantities, prices, recipes, capacity, inventories, orders, contracts, or conservation. Delvehold therefore retains quantitative economy authority; a forced ontology may bypass world generation but never WorldKernel validation. Owner witnesses: crates/ghostlight-dungeon/src/domain.rs and F:\\Projects\\Delvehold\\Delvehold\\Game Design\\Shared World\\World State Model.md.", "status": "ok", "ts": "2026-08-26T00:50:11+00:00", "type": "architecture"}
{"note": "Operator redirected Ghostlight's near-term objective from Kalsa adversarial play to Delvehold's full external-world simulation. Delvehold owns the Greathold, players, dungeons, civic state, and quantitative economy; Ghostlight owns foreign regions, institutions, populations, people, relationships, knowledge, politics, events, and news. The target requires a cell budget in the hundreds, durable offscreen named-person emergence, nested political hierarchies, and causal response to committed Greathold effects. Current runtime caps cells at 128, dispatches cell pipelines concurrently under independently bounded provider parallelism up to 32, and only admits new-person individuation from immediate player speech, so scale proof and offscreen emergence are explicit architecture gaps. Kalsa remains regression evidence.", "status": "ok", "ts": "2026-08-26T15:51:04+00:00", "type": "research"}
{"note": "Delvehold is a proving consumer of Ghostlight's generic world-simulation API, not a Ghostlight integration organ. Ghostlight may add only generic capabilities: one seed admission primitive shared by compiler and consumer producers, generic externally owned subject authority, consumer-supplied effect schemas, and typed proposals and receipts. The greathold ID, all delvehold.* bindings, and detailed projection/economy translation remain Delvehold-owned. Cells and WorldKernel never switch on consumer-specific names.", "status": "ok", "ts": "2026-08-26T15:55:05+00:00", "type": "architecture"}
{"ts": "2026-08-26T16:46:55+00:00", "type": "architecture", "status": "ok", "note": "Supersedes the 2026-08-26T15:51 research note only where it called Delvehold the redirected primary play target: Delvehold is the first proving consumer of the generic world API, while adversarial single-player Dungeon play remains an active regression and context-discovery path. Implemented one compiler/consumer WorldSeed admission transaction, institution-scoped ExternalSubjectAuthority, WorldKernel-owned revisioned snapshots, atomic strategic-wave proposals, acknowledgement receipts, and typed loopback CultNet RUDP operations. Consumer-specific IDs and quantitative economy semantics remain outside Ghostlight."}
{"note": "Supersedes the 2026-08-26T15:51 research note only where it called Delvehold the redirected primary play target: Delvehold is the first proving consumer of the generic world API, while adversarial single-player Dungeon play remains an active regression and context-discovery path. Implemented one compiler/consumer WorldSeed admission transaction, institution-scoped ExternalSubjectAuthority, WorldKernel-owned revisioned snapshots, atomic strategic-wave proposals, acknowledgement receipts, and typed loopback CultNet RUDP operations. Consumer-specific IDs and quantitative economy semantics remain outside Ghostlight.", "status": "ok", "ts": "2026-08-26T16:46:55+00:00", "type": "architecture"}
{"ts": "2026-08-26T17:12:55+00:00", "type": "architecture", "status": "ok", "note": "The generic external authority/snapshot contract admits both institution and Gestalt subjects. This closes the Delvehold sovereign-gestalt requirement without adding a Delvehold-specific type: one tagged ExternalSubjectProjection carries either canonical shape, WorldKernel validates exact authority kind and subject ID, refreshes derived agency facets, and keeps the subject non-simulation-eligible while still targetable by foreign proposals."}

View file

@ -138,3 +138,4 @@
{"key": "2026-08-26T155104Z0000-0136-f1e48d3fe47f", "payload": "eyJub3RlIjogIk9wZXJhdG9yIHJlZGlyZWN0ZWQgR2hvc3RsaWdodCdzIG5lYXItdGVybSBvYmplY3RpdmUgZnJvbSBLYWxzYSBhZHZlcnNhcmlhbCBwbGF5IHRvIERlbHZlaG9sZCdzIGZ1bGwgZXh0ZXJuYWwtd29ybGQgc2ltdWxhdGlvbi4gRGVsdmVob2xkIG93bnMgdGhlIEdyZWF0aG9sZCwgcGxheWVycywgZHVuZ2VvbnMsIGNpdmljIHN0YXRlLCBhbmQgcXVhbnRpdGF0aXZlIGVjb25vbXk7IEdob3N0bGlnaHQgb3ducyBmb3JlaWduIHJlZ2lvbnMsIGluc3RpdHV0aW9ucywgcG9wdWxhdGlvbnMsIHBlb3BsZSwgcmVsYXRpb25zaGlwcywga25vd2xlZGdlLCBwb2xpdGljcywgZXZlbnRzLCBhbmQgbmV3cy4gVGhlIHRhcmdldCByZXF1aXJlcyBhIGNlbGwgYnVkZ2V0IGluIHRoZSBodW5kcmVkcywgZHVyYWJsZSBvZmZzY3JlZW4gbmFtZWQtcGVyc29uIGVtZXJnZW5jZSwgbmVzdGVkIHBvbGl0aWNhbCBoaWVyYXJjaGllcywgYW5kIGNhdXNhbCByZXNwb25zZSB0byBjb21taXR0ZWQgR3JlYXRob2xkIGVmZmVjdHMuIEN1cnJlbnQgcnVudGltZSBjYXBzIGNlbGxzIGF0IDEyOCwgZGlzcGF0Y2hlcyBjZWxsIHBpcGVsaW5lcyBjb25jdXJyZW50bHkgdW5kZXIgaW5kZXBlbmRlbnRseSBib3VuZGVkIHByb3ZpZGVyIHBhcmFsbGVsaXNtIHVwIHRvIDMyLCBhbmQgb25seSBhZG1pdHMgbmV3LXBlcnNvbiBpbmRpdmlkdWF0aW9uIGZyb20gaW1tZWRpYXRlIHBsYXllciBzcGVlY2gsIHNvIHNjYWxlIHByb29mIGFuZCBvZmZzY3JlZW4gZW1lcmdlbmNlIGFyZSBleHBsaWNpdCBhcmNoaXRlY3R1cmUgZ2Fwcy4gS2Fsc2EgcmVtYWlucyByZWdyZXNzaW9uIGV2aWRlbmNlLiIsICJzdGF0dXMiOiAib2siLCAidHMiOiAiMjAyNi0wOC0yNlQxNTo1MTowNCswMDowMCIsICJ0eXBlIjogInJlc2VhcmNoIn0=", "stored_at": "2026-08-26T15:51:04.158942+00:00", "type": "ghostlight.evidence_record.v0"}
{"key": "2026-08-26T155505Z0000-0137-59ce136e84c9", "payload": "eyJub3RlIjogIkRlbHZlaG9sZCBpcyBhIHByb3ZpbmcgY29uc3VtZXIgb2YgR2hvc3RsaWdodCdzIGdlbmVyaWMgd29ybGQtc2ltdWxhdGlvbiBBUEksIG5vdCBhIEdob3N0bGlnaHQgaW50ZWdyYXRpb24gb3JnYW4uIEdob3N0bGlnaHQgbWF5IGFkZCBvbmx5IGdlbmVyaWMgY2FwYWJpbGl0aWVzOiBvbmUgc2VlZCBhZG1pc3Npb24gcHJpbWl0aXZlIHNoYXJlZCBieSBjb21waWxlciBhbmQgY29uc3VtZXIgcHJvZHVjZXJzLCBnZW5lcmljIGV4dGVybmFsbHkgb3duZWQgc3ViamVjdCBhdXRob3JpdHksIGNvbnN1bWVyLXN1cHBsaWVkIGVmZmVjdCBzY2hlbWFzLCBhbmQgdHlwZWQgcHJvcG9zYWxzIGFuZCByZWNlaXB0cy4gVGhlIGdyZWF0aG9sZCBJRCwgYWxsIGRlbHZlaG9sZC4qIGJpbmRpbmdzLCBhbmQgZGV0YWlsZWQgcHJvamVjdGlvbi9lY29ub215IHRyYW5zbGF0aW9uIHJlbWFpbiBEZWx2ZWhvbGQtb3duZWQuIENlbGxzIGFuZCBXb3JsZEtlcm5lbCBuZXZlciBzd2l0Y2ggb24gY29uc3VtZXItc3BlY2lmaWMgbmFtZXMuIiwgInN0YXR1cyI6ICJvayIsICJ0cyI6ICIyMDI2LTA4LTI2VDE1OjU1OjA1KzAwOjAwIiwgInR5cGUiOiAiYXJjaGl0ZWN0dXJlIn0=", "stored_at": "2026-08-26T15:55:05.625298+00:00", "type": "ghostlight.evidence_record.v0"}
{"key": "2026-08-26T164655Z0000-0138-849e5de32fc5", "payload": "eyJub3RlIjogIlN1cGVyc2VkZXMgdGhlIDIwMjYtMDgtMjZUMTU6NTEgcmVzZWFyY2ggbm90ZSBvbmx5IHdoZXJlIGl0IGNhbGxlZCBEZWx2ZWhvbGQgdGhlIHJlZGlyZWN0ZWQgcHJpbWFyeSBwbGF5IHRhcmdldDogRGVsdmVob2xkIGlzIHRoZSBmaXJzdCBwcm92aW5nIGNvbnN1bWVyIG9mIHRoZSBnZW5lcmljIHdvcmxkIEFQSSwgd2hpbGUgYWR2ZXJzYXJpYWwgc2luZ2xlLXBsYXllciBEdW5nZW9uIHBsYXkgcmVtYWlucyBhbiBhY3RpdmUgcmVncmVzc2lvbiBhbmQgY29udGV4dC1kaXNjb3ZlcnkgcGF0aC4gSW1wbGVtZW50ZWQgb25lIGNvbXBpbGVyL2NvbnN1bWVyIFdvcmxkU2VlZCBhZG1pc3Npb24gdHJhbnNhY3Rpb24sIGluc3RpdHV0aW9uLXNjb3BlZCBFeHRlcm5hbFN1YmplY3RBdXRob3JpdHksIFdvcmxkS2VybmVsLW93bmVkIHJldmlzaW9uZWQgc25hcHNob3RzLCBhdG9taWMgc3RyYXRlZ2ljLXdhdmUgcHJvcG9zYWxzLCBhY2tub3dsZWRnZW1lbnQgcmVjZWlwdHMsIGFuZCB0eXBlZCBsb29wYmFjayBDdWx0TmV0IFJVRFAgb3BlcmF0aW9ucy4gQ29uc3VtZXItc3BlY2lmaWMgSURzIGFuZCBxdWFudGl0YXRpdmUgZWNvbm9teSBzZW1hbnRpY3MgcmVtYWluIG91dHNpZGUgR2hvc3RsaWdodC4iLCAic3RhdHVzIjogIm9rIiwgInRzIjogIjIwMjYtMDgtMjZUMTY6NDY6NTUrMDA6MDAiLCAidHlwZSI6ICJhcmNoaXRlY3R1cmUifQ==", "stored_at": "2026-08-26T16:46:55.684556+00:00", "type": "ghostlight.evidence_record.v0"}
{"key": "2026-08-26T171255Z0000-0139-aa631fe6e30f", "payload": "eyJub3RlIjogIlRoZSBnZW5lcmljIGV4dGVybmFsIGF1dGhvcml0eS9zbmFwc2hvdCBjb250cmFjdCBhZG1pdHMgYm90aCBpbnN0aXR1dGlvbiBhbmQgR2VzdGFsdCBzdWJqZWN0cy4gVGhpcyBjbG9zZXMgdGhlIERlbHZlaG9sZCBzb3ZlcmVpZ24tZ2VzdGFsdCByZXF1aXJlbWVudCB3aXRob3V0IGFkZGluZyBhIERlbHZlaG9sZC1zcGVjaWZpYyB0eXBlOiBvbmUgdGFnZ2VkIEV4dGVybmFsU3ViamVjdFByb2plY3Rpb24gY2FycmllcyBlaXRoZXIgY2Fub25pY2FsIHNoYXBlLCBXb3JsZEtlcm5lbCB2YWxpZGF0ZXMgZXhhY3QgYXV0aG9yaXR5IGtpbmQgYW5kIHN1YmplY3QgSUQsIHJlZnJlc2hlcyBkZXJpdmVkIGFnZW5jeSBmYWNldHMsIGFuZCBrZWVwcyB0aGUgc3ViamVjdCBub24tc2ltdWxhdGlvbi1lbGlnaWJsZSB3aGlsZSBzdGlsbCB0YXJnZXRhYmxlIGJ5IGZvcmVpZ24gcHJvcG9zYWxzLiIsICJzdGF0dXMiOiAib2siLCAidHMiOiAiMjAyNi0wOC0yNlQxNzoxMjo1NSswMDowMCIsICJ0eXBlIjogImFyY2hpdGVjdHVyZSJ9", "stored_at": "2026-08-26T17:12:55.998149+00:00", "type": "ghostlight.evidence_record.v0"}

View file

@ -193,7 +193,7 @@ live_architecture:
- Institution, faction, and consumer decision models
active_subgoals:
- Prove the admitted generic world-consumer contract with a game-side fixture: shared compiler/consumer WorldSeed admission, externally authoritative institution snapshots, and attributed proposal acknowledgement over typed CultNet, without consumer-specific IDs or schemas in Ghostlight.
- Prove the admitted generic world-consumer contract with a game-side fixture: shared compiler/consumer WorldSeed admission, externally authoritative institution-or-Gestalt snapshots, and attributed proposal acknowledgement over typed CultNet, without consumer-specific IDs or schemas in Ghostlight.
- Specify strategic/offscreen named-person individuation, plotting, durable identity, and folding under WorldKernel authority; remote causal pressure must be able to make a person matter without granting a cell, arena, or model entity-creation authority.
- Prove the hundreds-class wave target using the existing parallel cell dispatcher and separately bounded provider concurrency. Measure the current 128-cell ceiling first; widen it only if the authored outside-world cover requires more, and only with an explicit scheduling, atomicity, and cost model.
- Finish the semantic mutation migration: delete or demote remaining legacy model effect schemas and move aggregate campaign fields toward projection-only state. Seed publication and named-person presence now have explicit non-effect authority classifications.