Record pass 7 in the ontology and mvp docs and handoff
Current mechanism describes the clock, commitments, pressure, causal boundaries, scale deficit, and the structural answer rule; the Commitment and Pressure rows and the twenty-seven operation count follow the cut; the mvp doc no longer names a readiness partition. Steward folded passes 1 through 7 and the in-flight pass 8. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
5874fc232a
commit
106e7efc3c
5 changed files with 116 additions and 91 deletions
|
|
@ -62,7 +62,7 @@ multiple process attempts.
|
|||
- membership, contract, boundaries, and approvals;
|
||||
- the typed world ontology;
|
||||
- committed events and fictional time;
|
||||
- subject readiness and other causal state that must survive restart;
|
||||
- fictional time, commitments, and pressures;
|
||||
- command idempotency and the commit digest chain.
|
||||
|
||||
There is no separate Session Zero owner, component-world owner, aggregate
|
||||
|
|
@ -150,7 +150,7 @@ WorldState
|
|||
pressures and commitments
|
||||
facts, knowledge grants, and provenance
|
||||
external-owner grants
|
||||
time: fictional clock and subject readiness
|
||||
time: fictional clock
|
||||
events: committed factual and speech events
|
||||
applied_commands: bounded idempotency ledger
|
||||
```
|
||||
|
|
@ -208,7 +208,7 @@ Subject and world behavior is composed from narrow typed components:
|
|||
- decision controllers, authority scopes, and executable affordances;
|
||||
- resource quantity, custody, and dependency;
|
||||
- knowledge of exact fact IDs and communication access;
|
||||
- commitments, pressures, readiness, and exposure;
|
||||
- commitments, pressures, and dependency exposure;
|
||||
- Persona material: values, voice, goals, memories, and relationship reads;
|
||||
- source provenance and external ownership.
|
||||
|
||||
|
|
@ -430,8 +430,9 @@ primitive.
|
|||
## Autonomous scheduling
|
||||
|
||||
The scheduler is a pure planner over one revision. It orders eligible subjects
|
||||
using committed readiness, causal exposure, unresolved pressure, and time since
|
||||
the last opportunity. It emits `DecisionOpportunity` values and cannot commit.
|
||||
using unresolved pressure and time since the last opportunity, with subject id
|
||||
as the final tiebreak. Causal exposure is derivable from `dependencies` and is
|
||||
not an ordering input. It emits `DecisionOpportunity` values and cannot commit.
|
||||
|
||||
The kernel commits one decision at a time through the mailbox. After each
|
||||
commit the planner derives a fresh queue. Parallel inference may speculate on
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@ not from a model agreeing that the world is deep.
|
|||
|
||||
## Current mechanism
|
||||
|
||||
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
|
||||
Passes 1 through 7 of the widening are landed (`5e53beb`, `e99af63`,
|
||||
`d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`, `1852ddd`). 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
|
||||
|
|
@ -45,8 +45,9 @@ minute `Cost` in `1..=525_600`, and an open flag; subject-keyed `holdings` of
|
|||
u128 ledger accumulators; subject-keyed `dependencies` on
|
||||
`DependencyTarget { Resource, Route, Subject }`; and an `affordance_catalog`
|
||||
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.
|
||||
`redress` partitions; `facts`, `channels`, and `knowledge` partitions;
|
||||
`commitments`, `pressures`, and `last_opportunity_at` partitions; and the
|
||||
scalars `now` and `scale_intent`. There is no relation yet.
|
||||
|
||||
`world/patch.rs` owns typed `SubjectId`/`EntityId`/`EdgeId`/`AffordanceId`
|
||||
namespaces, `Ref<Id>` with `DraftHandle` (adjacently tagged `RefKind`), and a
|
||||
|
|
@ -115,16 +116,40 @@ controller lane cannot name because `ControllerRunner` holds a
|
|||
`ControllerPort`, not the mailbox. `WorldMailbox::create` declares the genesis
|
||||
place `commons` and stands genesis subjects there.
|
||||
|
||||
Time is `now: FictionalMinutes`, moved only by `CommandBody::AdvanceTime`
|
||||
from `CallerId::System(SystemCapability::Clock)`; the runtime tick submits
|
||||
the constant `CLOCK_TICK_MINUTES`, never a measured duration. `world/clock.rs`
|
||||
owns `derive_motion`, pure over state and tick: routines re-arm by exactly one
|
||||
`period`, past-due obligations and goals write `Pressure` on their subject by
|
||||
the `step` table, and an unavailable dependency does the same. A
|
||||
`Commitment` is `(kind: Routine | Obligation | Goal, counterparty, due,
|
||||
period, checks)`, created and discharged by two operations; `Pressure` is a
|
||||
magnitude per source and target with `set_pressure` as its one writer, zero
|
||||
spelled by key removal, and three operations (`advance`, `reduce`,
|
||||
`resolve`). `order_opportunities` is total: pressure, then time since last
|
||||
opportunity, then `SubjectId`. `derive_boundaries` is pure over state and
|
||||
yields `CausalBoundary::{UnelaboratedDestination, MissingStructure}` with a
|
||||
`BoundaryDigest` over structure only, never the clock; `IndividuationRequired`
|
||||
and `PolityInCausalRange` are representable and not yet derived.
|
||||
`derive_scale_deficit` reads the write-once `WorldScaleIntent` set at genesis
|
||||
and counts every subject in exactly one jurisdiction row (`Uncovered` for a
|
||||
subject under no root, placed or not). In Active, a patch
|
||||
that declares or admits evidence must answer a derived boundary or a nonzero
|
||||
deficit and satisfy it (`AnswerRequired`, `AnswerNotDerived`,
|
||||
`AnswerNotSatisfied`); a component-only patch answers nothing; Draft answers
|
||||
nothing.
|
||||
|
||||
Opportunities bind to a `ScopeDigest` over one `scope_components` owner
|
||||
(controller assignment, grants, delegated grants, own authority, position,
|
||||
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
|
||||
channels, own commitments; never `now`, 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.knowledge.v1`, commit schema `world_commit.knowledge.v1`,
|
||||
controller work `controller_work.v5`; earlier stores are refused. Ghostlight owns a conserved narrative ledger;
|
||||
`world_state.commitment.v1`, commit schema `world_commit.commitment.v1`,
|
||||
controller work `controller_work.v6`; earlier stores are refused. Ghostlight owns a conserved narrative ledger;
|
||||
Delvehold owns the economy (`delvehold-forced-ontology-integration.md`).
|
||||
Passes 7 through 9 add the clock and pressure flow, boundary elaboration,
|
||||
and the budgeted cover; pass 10 adds the consumer ingress.
|
||||
Passes 8 and 9 add boundary elaboration and the budgeted cover; pass 10
|
||||
adds the consumer ingress.
|
||||
|
||||
## The failure this vocabulary is designed against
|
||||
|
||||
|
|
@ -220,8 +245,8 @@ which noun a component is; it cares what it constrains.
|
|||
| `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, 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 |
|
||||
| `Commitment` | subject → counterparty: kind (`Routine`, `Obligation`, `Goal`), due, period | obligation with a clock; autonomous motion |
|
||||
| `Pressure` | source → target: magnitude | the causal boundary trigger |
|
||||
| `PersonaMaterial` | subject: values, voice, memories, reads | lived meaning; never authority |
|
||||
|
||||
A `Fact` carries a `standing`: `Canonical` (admitted with evidence) or
|
||||
|
|
@ -254,15 +279,14 @@ Redress open_forum(kind, forum, standing), close_forum
|
|||
Knowledge acquire(subject, fact, source, confidence), communicate(speaker, fact,
|
||||
channel), forget
|
||||
Channel set_reach, set_controller
|
||||
Commitment create(subject, counterparty, kind, due, stake), fulfill, default,
|
||||
release
|
||||
Pressure create(source, target, magnitude), advance, reduce, resolve
|
||||
Commitment create(subject, counterparty, kind, due, period, checks), discharge
|
||||
Pressure advance, reduce, resolve
|
||||
PersonaMaterial set(subject, material)
|
||||
Retirement retire(referent, reason)
|
||||
Time advance(minutes)
|
||||
```
|
||||
|
||||
Twenty-nine operations. Adding one is a design change to this document and a
|
||||
Twenty-seven operations. Adding one is a design change to this document and a
|
||||
code change to the reducer; it is never a runtime patch.
|
||||
|
||||
## Patch construction
|
||||
|
|
@ -316,7 +340,7 @@ counts do not appear here and may not be added.
|
|||
The kernel owns component operations. A **world** owns its affordance catalog.
|
||||
This is the generality lever: a setting with spellcraft, insurance claims,
|
||||
oath-rhythms, or memetic sovereignty authors affordances from the same
|
||||
thirty operations, and the kernel never learns a genre.
|
||||
twenty-seven operations, and the kernel never learns a genre.
|
||||
|
||||
```text
|
||||
Affordance
|
||||
|
|
@ -579,7 +603,7 @@ Deleted before replacement behavior is added, with no compatibility path:
|
|||
|
||||
## Subtraction budget
|
||||
|
||||
- 20 component kinds → 12; 18 `WorldMutation` variants → 29 named operations
|
||||
- 20 component kinds → 12; 18 `WorldMutation` variants → 27 named operations
|
||||
under 1 patch primitive, replacing both the mutation enum and the separate
|
||||
outcome-effect sum;
|
||||
- 5 qualification and verification types plus 1 outcome resolver → 0;
|
||||
|
|
|
|||
|
|
@ -225,49 +225,56 @@ 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 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.
|
||||
1. Passes 1 through 7 are integrated; nothing beyond pass 7 is.
|
||||
`codex/ghostlight-dungeon-mvp` tip is `1852ddd` (Soul, boundary digest
|
||||
bound to its own structure) over `5771ce6` (Soul), `2a8cec6` (Hands
|
||||
falsification), and `d7fba90` (pass 7 machine), on `76999de` (pass-6 doc
|
||||
and handoff) and `54e9d39` (pass-6 follow-ups). Earlier passes:
|
||||
`5e53beb`, `e99af63`, `d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`. The
|
||||
push follows a background crate test and the branch read `ahead 4` at the
|
||||
time of writing; `git status -sb` is the witness.
|
||||
|
||||
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.
|
||||
Pass 7 facts: new module `world/clock.rs`; partitions `commitments`,
|
||||
`pressures`, `last_opportunity_at`; scalars `now` and `scale_intent`;
|
||||
`CommandBody::AdvanceTime` accepted only from
|
||||
`CallerId::System(SystemCapability::Clock)`, which the mailbox mints;
|
||||
`CausalBoundary` with the two derived variants `UnelaboratedDestination`
|
||||
and `MissingStructure`, each carrying its own `BoundaryDigest`; scale
|
||||
deficit rows; schemas `world_state.commitment.v1` /
|
||||
`world_commit.commitment.v1` and `controller_work.v6`, earlier stores
|
||||
refused. The operation set is 27. Pressure is stored by two writer
|
||||
families, ops and the tick, never derived at read; ordering is a pure
|
||||
re-order by pressure then debt (`last_opportunity_at`), never a filter.
|
||||
Ruling adopted at the one fork of the pass, now structural: in Active, a
|
||||
patch that declares or admits evidence must answer a derived
|
||||
`CausalBoundary` or a nonzero scale deficit and satisfy it
|
||||
(`AnswerRequired`, `AnswerNotDerived`, `AnswerNotSatisfied` in
|
||||
`world/mod.rs`); component-only patches answer nothing; Draft answers
|
||||
nothing. Baseline at `1852ddd`: 215 test functions in `world/*.rs`, 254
|
||||
crate source, plus one integration test (the focused `world::` run
|
||||
reports 214 / 249; 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 `cb6a126` with no commits yet at
|
||||
In flight, not landed, both branched from `1852ddd` with no commits yet at
|
||||
the time of writing:
|
||||
- `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` (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 `cb6a126`, and `git worktree list` for the two trees.
|
||||
- `hands/pass7-followups` in the worktree `F:\Projects\Ghostlight-pass7fu`:
|
||||
the routine period bound enforced in `verify_state_shape`;
|
||||
`JurisdictionKey::Unplaced` renamed `Uncovered` with the deficit total
|
||||
over subjects; the runtime tick submits the constant
|
||||
`CLOCK_TICK_MINUTES` (`runtime.rs`), never a measured duration; dead
|
||||
import removal.
|
||||
- `hands/pass8` in the worktree `F:\Projects\Ghostlight-pass8`: boundary
|
||||
elaboration, from `imagination-pass8.md`.
|
||||
The main tree also holds uncommitted coordinator edits to
|
||||
`docs/architecture/ghostlight-dungeon-mvp.md` (the four subject-readiness
|
||||
sentences are now `Commitment.due` plus derived debt; that queued item is
|
||||
done) and `docs/architecture/ghostlight-world-ontology.md` (the
|
||||
`Commitment` and `Pressure` rows and the operation count). Witness for any
|
||||
later pass: main-branch `git log` past `1852ddd`, and `git worktree list`
|
||||
for the two trees.
|
||||
|
||||
Pipeline for passes 7 through 9: specs `imagination-pass1.md` through
|
||||
Pipeline for passes 8 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`,
|
||||
|
|
@ -284,29 +291,22 @@ landed, passes 2 through 9 are not.
|
|||
ingress, in the plan); pass 9 must not enable `uuid/v5` and derives each
|
||||
`CommandId` via sha256 into `Uuid::from_bytes` like `derive_id`.
|
||||
|
||||
Adopted design from the specs that changes steering: pass 7 gives the world
|
||||
its first clock, `WorldState.now`, advanced only by
|
||||
`CommandBody::AdvanceTime` from `CallerId::System(SystemCapability::Clock)`
|
||||
minted by the mailbox, and cuts the operation set from 30 to 27
|
||||
(`Commitment` stake/fulfill/default/release and `Pressure.create` removed;
|
||||
`Routine.period` required). Pressure is stored by two writer families, ops
|
||||
and the tick, never derived at read. Ordering is a pure re-order by
|
||||
pressure then debt (`last_opportunity_at`), never a filter. Only
|
||||
`UnelaboratedDestination` and `MissingStructure` boundaries are derivable;
|
||||
`PolityInCausalRange`, `IndividuationRequired`, and Verification 13 are
|
||||
deferred. Pass 8 allows Active declarations only inside a patch whose
|
||||
`PatchAnswer` is derived and proven satisfied, adds
|
||||
Adopted design from the specs that changes steering: pass 8 allows Active
|
||||
declarations only inside a patch whose `PatchAnswer` is derived and
|
||||
proven satisfied (the pass-7 answer rule applied to elaboration), adds
|
||||
`SystemCapability::Elaborator { jurisdiction }`, the in-process
|
||||
`ElaborationRunner`, and a derived elaborator tool catalog sharing one
|
||||
property emitter with pass 4.
|
||||
property emitter with pass 4. `PolityInCausalRange`,
|
||||
`IndividuationRequired`, and Verification 13 remain deferred until
|
||||
relations and population slices exist.
|
||||
|
||||
Queued doc edits, coordinator-owned: after pass 7, the four
|
||||
`ghostlight-dungeon-mvp.md` subject-readiness sentences (lines 65, 153,
|
||||
211, 433) become `Commitment.due` plus derived debt, and the ontology doc
|
||||
operation count (lines 222, 276, 537) becomes 27; after pass 9, the
|
||||
ontology doc phrase "within about N/B ticks" becomes ceil(N/R) with R the
|
||||
rotation reserve; after every integration, the ontology doc "Current
|
||||
mechanism" section is rewritten from the steward proposal.
|
||||
Queued doc edits, coordinator-owned: the ontology doc operation count is
|
||||
only partly at 27 in the uncommitted working copy (line 342 says
|
||||
twenty-seven; line 288 "Twenty-nine operations" and line 605 "-> 29 named
|
||||
operations" still say 29); after pass 9, the ontology doc phrase "within
|
||||
about N/B ticks" becomes ceil(N/R) with R the rotation reserve; after
|
||||
every integration, the ontology doc "Current mechanism" section is
|
||||
rewritten from the steward proposal.
|
||||
2. First-generation world fixtures are banked and pushed, one per world, each
|
||||
with Ink, training sidecar, visual plan, lore grounding, and BFL manifest,
|
||||
reviewer-accepted except visual replay, which waits on a scene-set
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
## Current Subgoal
|
||||
|
||||
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.
|
||||
Plan step 6 pass 8 (boundary elaboration: `AdmitPatch` answers, `WorldScaleIntent`
|
||||
deficit, `ElaborationRunner`, derived elaborator tool catalog) with Hands in
|
||||
`F:\Projects\Ghostlight-pass8` on `hands/pass8`, alongside the pass-7
|
||||
follow-ups in `F:\Projects\Ghostlight-pass7fu` on `hands/pass7-followups`;
|
||||
both from `1852ddd`. Main tip `1852ddd`, passes 1-7 integrated.
|
||||
|
||||
## Working Notes
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue