From 13959c7c094328dc1bdfe865066a839c858723d1 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 18 Aug 2026 00:17:16 +0200 Subject: [PATCH] Keep arena perspectives inside cell authority --- crates/ghostlight-dungeon/src/persona.rs | 32 ++++++++++++++++--- .../ghostlight-multiresolution-agency.md | 7 ++++ notes/fresh-workspace-handoff.md | 8 +++++ notes/ghostlight-current-system-map.md | 4 +++ state/map.yaml | 2 +- 5 files changed, 47 insertions(+), 6 deletions(-) diff --git a/crates/ghostlight-dungeon/src/persona.rs b/crates/ghostlight-dungeon/src/persona.rs index 24e3a38..f08e21d 100644 --- a/crates/ghostlight-dungeon/src/persona.rs +++ b/crates/ghostlight-dungeon/src/persona.rs @@ -445,7 +445,7 @@ impl CellProjectionEngine { .join("\n"); let mode_guidance = cell_projector_mode_guidance(&slice.mode); let mode_guidance = format!( - "{mode_guidance} Each perceived event names the exact constituents that can perceive it; do not teach it to anyone else. Every supplied member_exception was selected because that person has an actionable decision in this horizon. Render each selected person explicitly by name, with only their own footing and choices." + "{mode_guidance} Each perceived event names the exact constituents that can perceive it; do not teach it to anyone else. Only supplied constituents and member_exceptions may own an internal perspective or choice. A person merely mentioned in an event is external observation when absent from those lists: never voice them. Every supplied member_exception was selected because that person has an actionable decision in this horizon. Render each selected person explicitly by name, with only their own footing and choices." ); let projected = run_validated_stage( self.model.as_ref(), @@ -662,7 +662,7 @@ fn cell_persona_mode_guidance(mode: &crate::domain::SimulationCellMode) -> &'sta "Appraise the strategic horizon as a real collective. End this turn with a present-tense choice: describe the concrete attempt the collective now makes, or explicitly choose to hold or wait. Deliberating, asking for a future decision, considering an option, or saying what could be done is intentional inaction unless the choice to act is actually made. Do not invent completed consequences." } crate::domain::SimulationCellMode::Arena => { - "Appraise the strategic horizon polyphonically. Name the constituent responsible for every perspective and decision; never speak as the arena or use an unmarked first-person voice. The lived stream may contain simultaneous remote scenes: preserve every stated location boundary, and never make one constituent see, hear, address, or answer another unless the stream explicitly establishes co-presence or a communication channel. For each voiced constituent, end with a present-tense choice: a concrete attempt now, or an explicit choice to hold or wait. Deliberating, asking for a future decision, considering an option, or saying what could be done is inaction unless that constituent actually chooses to act." + "Appraise the strategic horizon polyphonically. Name the constituent responsible for every perspective and decision; never speak as the arena or use an unmarked first-person voice. Only subjects already given an attributed internal perspective in the lived stream may choose; people merely observed or mentioned remain external. The lived stream may contain simultaneous remote scenes: preserve every stated location boundary, and never make one constituent see, hear, address, or answer another unless the stream explicitly establishes co-presence or a communication channel. Do not invent an available person, office, route, resource, or response absent from the lived stream. A constituent may choose to seek something unknown, but cannot claim contact with it. For each voiced constituent, end with a present-tense choice: a concrete attempt now, or an explicit choice to hold or wait. Deliberating, asking for a future decision, considering an option, or saying what could be done is inaction unless that constituent actually chooses to act." } } } @@ -800,13 +800,20 @@ fn validate_cell_appraisal( let unique_targets = target_subject_ids.iter().collect::>(); let needs_target = !matches!(activity, crate::domain::StrategicActivityKind::Prepare); + if needs_target && target_subject_ids.is_empty() { + return Err(anyhow!( + "named member {} activity {:?} requires one or more exact target IDs; no anonymous or unsupplied target can be encoded. Remove the action unless the Persona explicitly attempted one of {:?}", + member.member_id, + activity, + member.activity_target_ids + )); + } if member_id != &member.member_id || target_subject_ids.len() > 4 || unique_targets.len() != target_subject_ids.len() || target_subject_ids .iter() .any(|target| !member.activity_target_ids.contains(target)) - || (needs_target && target_subject_ids.is_empty()) || location_ids.len() != 1 || location_ids[0] != member.source_location_id { @@ -923,6 +930,14 @@ fn validate_constituent_effect( let unique_targets = target_subject_ids.iter().collect::>(); let unique_locations = location_ids.iter().collect::>(); let needs_target = !matches!(activity, crate::domain::StrategicActivityKind::Prepare); + if needs_target && target_subject_ids.is_empty() { + return Err(anyhow!( + "gestalt {} activity {:?} requires one or more exact target IDs; no anonymous or unsupplied target can be encoded. Remove the action unless the Persona explicitly attempted one of {:?}", + subject.subject_id, + activity, + subject.activity_target_ids + )); + } if subject.subject_kind != crate::domain::AgencySubjectKind::Gestalt || gestalt_id != &subject.subject_id || target_subject_ids.len() > 4 @@ -930,7 +945,6 @@ fn validate_constituent_effect( || target_subject_ids .iter() .any(|target| !subject.activity_target_ids.contains(target)) - || (needs_target && target_subject_ids.is_empty()) || location_ids.len() > 4 || unique_locations.len() != location_ids.len() || location_ids @@ -1430,7 +1444,13 @@ mod tests { target_subject_ids: vec![], location_ids: vec!["forum".into()], }; - assert!(validate_constituent_effect(subject, &targetless_obstruction).is_err()); + let error = validate_constituent_effect(subject, &targetless_obstruction).unwrap_err(); + assert!( + error + .to_string() + .contains("no anonymous or unsupplied target") + ); + assert!(error.to_string().contains("Remove the action")); let internal_preparation = StrategicCellEffect::GestaltActivity { gestalt_id: "refugees".into(), @@ -1588,6 +1608,8 @@ mod tests { assert!(arena_persona.contains("present-tense choice")); assert!(arena_persona.contains("simultaneous remote scenes")); assert!(arena_persona.contains("preserve every stated location boundary")); + assert!(arena_persona.contains("merely observed or mentioned remain external")); + assert!(arena_persona.contains("cannot claim contact")); assert!(cohesive_persona.contains("present-tense choice")); assert!(cohesive_persona.contains("asking for a future decision")); } diff --git a/docs/architecture/ghostlight-multiresolution-agency.md b/docs/architecture/ghostlight-multiresolution-agency.md index e5f03b7..3b249e5 100644 --- a/docs/architecture/ghostlight-multiresolution-agency.md +++ b/docs/architecture/ghostlight-multiresolution-agency.md @@ -241,6 +241,13 @@ the lived stream explicitly establishes an exact shared location or communication channel. Compression therefore cannot turn a regional arena into one impossible meeting room. +Perspective ownership is equally strict. Only the cell's supplied constituents +and selected member exceptions may receive an internal viewpoint or make a +choice. A named person mentioned by a perceived event but owned by another cell +remains an external observation. Personas may seek an unknown role or office, +but cannot conjure it into available contact; target-requiring effects need one +of the exact supplied subject IDs. + Physical provider concurrency batches these pipelines behind a separate operator limit, default 8. Changing that limit increments only `provider_configuration_epoch`; it preserves the selected cover, resolution diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index bae2646..72dbce6 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -99,6 +99,14 @@ boundaries, and Interpreter guidance defines the activity vocabulary as narrow attempts with attempt-only `intended_effect`. No kernel rule or world-state compensator was added. +The next strict run migrated Mira and completed two sustained waves. Its third +wave then failed atomically because a camp-only cell voiced Mira from another +cell and invented a reachable camp coordinator; the Interpreter repeated an +impossible targetless coordination after correction. Projectors now reserve +internal perspective for actual cell constituents/member exceptions, Personas +cannot conjure absent entities into contact, and empty target errors explicitly +tell the correction stage that anonymous targets cannot be encoded. + The multiresolution body is deployed on Starfire. Typed health matched the immutable release, DeepSeek was ready, and the disposable live strategic-cell smoke committed three offscreen events plus three accessible news items without diff --git a/notes/ghostlight-current-system-map.md b/notes/ghostlight-current-system-map.md index 5d2ae3a..b1080d2 100644 --- a/notes/ghostlight-current-system-map.md +++ b/notes/ghostlight-current-system-map.md @@ -74,6 +74,10 @@ reach, not co-presence. Persona turns cannot stage direct sight, speech, or response across locations unless the lived stream establishes a shared place or communication channel. Interpreter activity labels then describe the narrow attempted act, while hoped-for success remains outside the effect. +Only supplied cell constituents and selected member exceptions may own a +perspective. Event mentions do not transfer a person into another cell, and an +unnamed or unsupplied entity cannot become an activity target merely because a +Persona found it plausible. Gestalt background choices use two distinct typed paths. Pressure transitions change exact unresolved markers. `gestalt_activity` records an attributed diff --git a/state/map.yaml b/state/map.yaml index 20dda0e..7621e14 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -265,5 +265,5 @@ data_flow: current_status: summary: GhostlightDungeon production remains on the verified Starfire release. The acceptance candidate is pressuring multiresolution agency: exact Gestalt activity attempts, typed Gestalt event participation, nested lineage identity preservation, location-bounded presence projection, and automatic refugee callback rematerialization. Production state is untouched while the strict live-fire harness and receipts falsify the candidate. - next_action: Run the strict multiresolution refugee-return live fire after the shared-location reach and remote-arena membrane repairs. Require meaningful whole-setting background activity, exact rival-arena attribution, migration across unrelated nested lineage trees, and automatic presence-planner rematerialization of the same durable member. Profile stage receipts and repair only the owning context or typed effect seam. + next_action: Run the strict multiresolution refugee-return live fire after the shared-location, spatial-partition, and perspective-ownership membrane repairs. Require meaningful whole-setting background activity, exact rival-arena attribution, migration across unrelated nested lineage trees, and automatic presence-planner rematerialization of the same durable member. Profile stage receipts and repair only the owning context or typed effect seam. gestalt_population: Gestalt Personas own shared population baselines; persistent member deltas own named individuality; WorldKernel materialization and approval-gated fission preserve lineage and identity. Presence projection is limited to nearby active leaves and exact-location dormant members. Simulation cells are derived covers only.