Record pass 6 in the ontology doc and handoff

Current mechanism describes facts, channels, knowledge, speech fan-out
over the declared reach, the two homes of a statement, and the
controller port; the Channel row and Precondition block follow the cut.
Steward folded passes 1 through 6 and the in-flight pass 7.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-04 23:51:42 +02:00
commit 76999ded14
4 changed files with 80 additions and 48 deletions

View file

@ -35,8 +35,8 @@ not from a model agreeing that the world is deep.
## Current mechanism
Passes 1 through 5 of the widening are landed (`5e53beb`, `e99af63`,
`d2805fe`, `0f21a49`, `dbe176d`). The sealed kernel holds subjects with a label and a
Passes 1 through 6 of the widening are landed (`5e53beb`, `e99af63`,
`d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`). The sealed kernel holds subjects with a label and a
kind (`Person | Institution | Population`); a `positions` partition with
`Position`; entities with `container` under containment acyclicity; `Route`
as an `EdgeRecord` variant carrying `AccessKind { Public, Restricted }`, a
@ -44,9 +44,9 @@ minute `Cost` in `1..=525_600`, and an open flag; subject-keyed `holdings` of
`Quantity(u64)` per entity, absence meaning zero, checked arithmetic with
u128 ledger accumulators; subject-keyed `dependencies` on
`DependencyTarget { Resource, Route, Subject }`; and an `affordance_catalog`
partition of world-authored entries; and `authority`, `selection`, and
`redress` partitions. There is no relation, fact, commitment, pressure, or
clock yet.
partition of world-authored entries; `authority`, `selection`, and
`redress` partitions; and `facts`, `channels`, and `knowledge` partitions.
There is no relation, commitment, pressure, or clock yet.
`world/patch.rs` owns typed `SubjectId`/`EntityId`/`EdgeId`/`AffordanceId`
namespaces, `Ref<Id>` with `DraftHandle` (adjacently tagged `RefKind`), and a
@ -95,16 +95,36 @@ petitions from subjects with standing. Authority-writing slots (`grant`,
`revoke`) are gated by one rule: the actor's own authority must cover the
target, otherwise `ActionMismatch::DelegationNotMonotone`.
A `Fact` is an entity with a `Statement` and a `FactStanding`: `Canonical`
with evidence, or `Claimed { by }`. `Knowledge` is subject-keyed per fact with
a `Confidence` and a `KnowledgeSource { Witnessed, Told { by, via }, Evidenced }`;
a telling never overwrites a holder. A `Channel` is an entity with a
`Reach { Subjects, Place }` and a controller. Speech is an affordance whose
entry declares exactly one `Audience { Colocated, Channel }`: `exercise`
mints the `Claimed` fact through `derive_id` (the second of its two call
sites, the first being `resolve_patch`) and lowers a `Communicate` whose
recipients are re-derived by one pure `fan_out` over `audience` at apply
time. Audience means the declared reach; a channel's controller may broadcast
from outside it (`can_broadcast`) but receives nothing unless inside it.
Preconditions `Knows`, `CanBroadcast`, and `CanReach` gate at `exercise` with
`ActionMismatch::{FactUnknown, NoAudience, CannotReach}`. The statement lives
in `facts[fact].statement`; the copy inside the committed `AssertClaim` is
the replay witness and nothing reads it. `WorldSnapshot` carries no event
log; the story feed is `operator_log`, an owner-only projection that the
controller lane cannot name because `ControllerRunner` holds a
`ControllerPort`, not the mailbox. `WorldMailbox::create` declares the genesis
place `commons` and stands genesis subjects there.
Opportunities bind to a `ScopeDigest` over one `scope_components` owner
(controller assignment, grants, delegated grants, own authority, position,
incident routes, own holdings, own dependencies; never occupancy or forum
state); a proposal commits at any later revision with unchanged scope and is
incident routes, own holdings, own dependencies, known fact ids, controlled
channels; never occupancy, forum state, or another subject's knowledge); a proposal commits at any later revision with unchanged scope and is
rejected with `KernelError::ScopeChanged` otherwise. State schema is
`world_state.authority.v1`, commit schema `world_commit.authority.v1`;
earlier stores are refused. Ghostlight owns a conserved narrative ledger;
`world_state.knowledge.v1`, commit schema `world_commit.knowledge.v1`,
controller work `controller_work.v5`; earlier stores are refused. Ghostlight owns a conserved narrative ledger;
Delvehold owns the economy (`delvehold-forced-ontology-integration.md`).
Passes 6 through 9 add knowledge, the clock and pressure flow, boundary
elaboration, and the budgeted cover; pass 10 adds the consumer ingress.
Passes 7 through 9 add the clock and pressure flow, boundary elaboration,
and the budgeted cover; pass 10 adds the consumer ingress.
## The failure this vocabulary is designed against
@ -199,7 +219,7 @@ which noun a component is; it cares what it constrains.
| `Selection` | office → method, incumbent, term | how power is lost; succession pressure |
| `Redress` | grievance kind → forum, standing | where conflict goes when it cannot be fought |
| `Knowledge` | subject → fact: confidence, source | what a subject may act on at all |
| `Channel` | channel: reach set, latency, controller | how facts travel; who can be silenced |
| `Channel` | channel: reach set, controller (latency arrives with the clock, pass 7) | how facts travel; who can be silenced |
| `Commitment` | subject → counterparty: kind (`Routine`, `Obligation`, `Goal`), due, stake | obligation with a clock; autonomous motion |
| `Pressure` | source → target: magnitude, unresolved | the causal boundary trigger |
| `PersonaMaterial` | subject: values, voice, memories, reads | lived meaning; never authority |
@ -314,8 +334,10 @@ Precondition
Reachable { to: Role, within: Cost } // a Route path exists under access and cost
Holds { resource: Role, at_least: Qty } // Custody
Authorized { over: Role, kind } // Authority covers the target scope
HasStanding { forum: Role } // Redress: the forum admits the actor
Knows { fact: Role, at_least: Confidence } // Knowledge
CanReach { subject: Role, via: Channel } // channel reach
CanBroadcast { via: Audience } // the actor is inside the audience
CanReach { subject: Role, via: Audience } // the subject is inside the audience
Committed { to: Role, kind } // an existing Commitment
```

View file

@ -225,40 +225,49 @@ outcome bands, four derived `CausalBoundary` kinds, scope-digest binding, one
are teardown evidence. Plan step 6 is nine implementation passes; pass 1 is
landed, passes 2 through 9 are not.
1. Passes 1 through 5 are integrated and pushed; nothing beyond pass 5 is.
`codex/ghostlight-dungeon-mvp` tip is `dbe176d` (Soul) over `fa3d95d`
(pass 5: `Authority`, `Selection`, `Redress` subgraph) and `40e4efc`
(grant made structural in `exercise`, the pass-4 follow-up), on `d589ea0`
(ontology doc "Current mechanism" for pass 4 and plan invariant 10 moved
to scope-digest wording). Earlier passes: `5e53beb`, `e99af63`, `d2805fe`,
`0f21a49`. Run `git status -sb` before trusting any tip written here.
1. Passes 1 through 6 are integrated; nothing beyond pass 6 is.
`codex/ghostlight-dungeon-mvp` tip is `cb6a126` (Soul) over `b8ff182`
(pass 6: `Knowledge`, `Channel`, `Fact` standing), `43e8042` (pass-5 doc
and handoff), and `65ee2be` (pass-5 follow-ups: overlap admission, revoke
envelope, deploy coverage). Earlier passes: `5e53beb`, `e99af63`,
`d2805fe`, `0f21a49`, `dbe176d`. The push followed a background crate
test; `git status -sb` is the witness for whether origin has the tip.
Pass 5 facts: schemas are `world_state.authority.v1` /
`world_commit.authority.v1`, earlier stores refused. `world/action.rs`
carries `check_delegation` under `exercise`, the `ActionMismatch` variant
`DelegationNotMonotone` (name kept), and `ComponentOpKind::RevokeAuthority`.
Rulings adopted in pass 5: overlap is checked at admission only and is
structural in `verify_state_shape`; revoke is gated exactly like grant
through `check_delegation`. Baseline at `dbe176d`: 150 test functions in
`world/*.rs`, 189 crate source, plus one integration test (the focused
`world::` run reports 149 / 184; the two counts use different rules, so
the next pass must compare like with like). `EvidenceRef::new` is still
`#[cfg(test)]`; nothing deserializes a `WorldPatch` before pass 10.
Pass 6 facts: schemas are `world_state.knowledge.v1` /
`world_commit.knowledge.v1` and the controller work row is
`controller_work.v5`; earlier stores refused. `Precondition` gained
`HasStanding`, `CanBroadcast`, and `CanReach` beside `Present`,
`Reachable`, `Holds`. `WorldMailbox::create` declares the genesis place
`commons` (`GENESIS_PLACE` in `world/mailbox.rs`) and stands genesis
subjects there, a product-path change that goes through `derive_id`.
`WorldSnapshot.events` is deleted; `operator_log` is the story-feed
projection. Rulings adopted in pass 6: audience means declared reach;
controller privilege is broadcast-only; a statement has two homes, the
fact and the committed `AssertClaim` as replay witness, and that is the
rule rather than a leak; `operator_log` becomes owner-only by type once
the controller port lands. Baseline at `cb6a126`: 179 test functions in
`world/*.rs`, 218 crate source, plus one integration test (the focused
`world::` run reports 178 / 213; different counting rules, compare like
with like). `EvidenceRef::new` is still `#[cfg(test)]`; nothing
deserializes a `WorldPatch` before pass 10.
In flight, not landed, both branched from `dbe176d` with no commits yet at
In flight, not landed, both branched from `cb6a126` with no commits yet at
the time of writing:
- `hands/pass5-followups` in the worktree `F:\Projects\Ghostlight-pass5fu`:
admission-time `Subject`/`PlaceSubtree` nesting check, `RevokeAuthority`
under `check_delegation`, and a deploy test.
- `hands/pass6` in the worktree `F:\Projects\Ghostlight-pass6`:
`Knowledge`, `Channel`, `Fact` standing, scoped-projection non-leakage,
from `imagination-pass6.md`.
- `hands/pass6-followups` in the worktree `F:\Projects\Ghostlight-pass6fu`:
audience equals declared reach with the controller no longer folded into
the audience; a `ControllerPort` narrowing the mailbox access of
`ControllerRunner`; a length-prefixed `derive_id` discriminator, so
derived IDs change; comment fixes; a v4 controller-work refusal test; a
resolver blind-spot comment plus a no-`Told`-writer test.
- `hands/pass7` in the worktree `F:\Projects\Ghostlight-pass7`: the clock
and pressure flow, from `imagination-pass7.md`.
The main tree also holds an uncommitted coordinator edit to
`docs/architecture/ghostlight-world-ontology.md` describing pass 5; it
`docs/architecture/ghostlight-world-ontology.md` (the `Channel` row and the
`Precondition` block with `HasStanding`, `CanBroadcast`, `CanReach`); it
lands with the follow-ups. Witness for any later pass: main-branch
`git log` past `dbe176d`, and `git worktree list` for the two trees.
`git log` past `cb6a126`, and `git worktree list` for the two trees.
Pipeline for passes 6 through 9: specs `imagination-pass1.md` through
Pipeline for passes 7 through 9: specs `imagination-pass1.md` through
`imagination-pass9.md` and maps `modeling-pass1.md` through
`modeling-pass9.md` are on disk in the session scratchpad
`C:\Users\Meta\AppData\Local\Temp\claude\F--Projects-Ghostlight\2fd50f5e-f7ba-4e5d-82bc-c7033e6074d2\scratchpad`,

File diff suppressed because one or more lines are too long

View file

@ -2,10 +2,11 @@
## Current Subgoal
Plan step 6 pass 6 (`Knowledge`, `Channel`, `Fact` standing) with Hands in
`F:\Projects\Ghostlight-pass6` on `hands/pass6`, alongside the pass-5
follow-ups in `F:\Projects\Ghostlight-pass5fu` on `hands/pass5-followups`;
both from `dbe176d`. Main tip `dbe176d`, passes 1-5 integrated and pushed.
Plan step 6 pass 7 (clock `WorldState.now`, `Commitment`, `Pressure`, boundary
derivation) with Hands in `F:\Projects\Ghostlight-pass7` on `hands/pass7`,
alongside the pass-6 follow-ups in `F:\Projects\Ghostlight-pass6fu` on
`hands/pass6-followups`; both from `cb6a126`. Main tip `cb6a126`, passes 1-6
integrated.
## Working Notes