Record pass 9 in the ontology and mvp docs and handoff
Current mechanism describes the budgeted connected cover, the tick driver as the single clock owner, and the grouped-cell membrane rule; the scale section carries the ceil(N/R) bound, the two reasons the cap yields, and the contention finding with its open operator decision; the two stale claims about AdmitPatch phase and EvidenceRef are corrected; the consumer-api drift note names the decided transport; controller model variables are documented. Steward folded passes 1 through 9 and the pass 10 design state. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
962f7110e3
commit
1203aa3286
7 changed files with 167 additions and 85 deletions
|
|
@ -108,7 +108,9 @@ The following are recalculated from committed state and may be discarded:
|
|||
|
||||
- subject-local projections;
|
||||
- due-owner queues and attention plans;
|
||||
- population covers and grouping choices;
|
||||
- population covers, cells, cell ids, resolution, tick index, the agency
|
||||
graph, and the cover budget (the only durable trace of a tick is the
|
||||
controller-work row, custody-separate from world custody);
|
||||
- action-owner counts and causal-capacity summaries;
|
||||
- transcript, news, narration, and operator summaries;
|
||||
- Eve/CultUI and CultMesh documents;
|
||||
|
|
@ -287,7 +289,13 @@ choose a mode opportunistically. The scheduler does choose resolution: a
|
|||
and is represented operationally, at coarse resolution, when grouped. That is
|
||||
a budget decision, not a mode change; the controller, its scope, and its
|
||||
authority are unchanged. A controller changes representation and model
|
||||
ergonomics, never permission or commit authority.
|
||||
ergonomics, never permission or commit authority. A `NarrativePersona` in a
|
||||
grouped cell receives its typed view and nothing from the membrane; it mints
|
||||
no `PersonaTurn`, so the immutable-turn-receipt rule does not apply to it.
|
||||
The membrane is not weakened; it is not entered. The agency graph is
|
||||
scheduler-only and is reachable from no prompt builder; its mailbox request
|
||||
is port-narrowed (absent from the controller and elaboration ports), not
|
||||
principal-authenticated.
|
||||
|
||||
An opportunity is issued to exactly one controller. An untranslated intent or
|
||||
infrastructure fault cannot fall through to the other mode, and the same
|
||||
|
|
@ -434,6 +442,17 @@ 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.
|
||||
|
||||
`drive_cover_tick` is the single owner of tick cadence, cover derivation, and
|
||||
the clock: it derives the cover, runs the cells under a bounded concurrency
|
||||
permit pool with a quarantine flag, and advances the clock after the cells so
|
||||
every cell in a tick shares one `now` and one tick index. Its budget is
|
||||
configuration (`GHOSTLIGHT_COVER_CELL_BUDGET`, `GHOSTLIGHT_COVER_CONSTITUENT_CAP`,
|
||||
`GHOSTLIGHT_COVER_URGENCY_SLOTS`, `GHOSTLIGHT_CONTROLLER_MAX_CONCURRENT`,
|
||||
`GHOSTLIGHT_TICK_INTERVAL_SECONDS`); changing any is a restart. The five
|
||||
controller models are configuration too (`GHOSTLIGHT_CONTROLLER_PROJECTOR_MODEL`,
|
||||
`_PERSONA_MODEL`, `_INTERPRETER_MODEL`, `_OPERATIONAL_MODEL`,
|
||||
`_ELABORATOR_MODEL`), each with a default when absent.
|
||||
|
||||
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
|
||||
one snapshot; a proposal binds to the scope digest of the components its
|
||||
|
|
|
|||
|
|
@ -8,8 +8,11 @@ settle before a consumer patch can reach `AdmitPatch`: caller authority (which
|
|||
`CallerId` a consumer lowers to), decode-time size bounds on the patch,
|
||||
phase (Draft seed versus Active elaboration), and boundary answering (an
|
||||
Active consumer patch that declares must answer a derived boundary like any
|
||||
other author). The transport is an inbound `mesh.rs` path, not a fifth
|
||||
`execute_world` operation literal.
|
||||
other author). The transport is one typed inbound document over a second loopback route
|
||||
beside `POST /cultnet/snapshot`, carrying the patch as a nested
|
||||
canonical-msgpack byte frame bounded before any item deserializes; it is
|
||||
not a fifth `execute_world` operation literal and not an organ of the
|
||||
outbound mesh publisher.
|
||||
|
||||
## Objective
|
||||
|
||||
|
|
|
|||
|
|
@ -35,8 +35,9 @@ not from a model agreeing that the world is deep.
|
|||
|
||||
## Current mechanism
|
||||
|
||||
Passes 1 through 8 of the widening are landed (`5e53beb`, `e99af63`,
|
||||
`d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`, `1852ddd`, `3ed3868`). The sealed kernel holds subjects with a label and a
|
||||
Passes 1 through 9 of the widening are landed (`5e53beb`, `e99af63`,
|
||||
`d2805fe`, `0f21a49`, `dbe176d`, `cb6a126`, `1852ddd`, `3ed3868`,
|
||||
`8aebfb6`). 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
|
||||
|
|
@ -61,10 +62,13 @@ outcome bands. The ten inhabited operations are `Relocate`, `OpenRoute`,
|
|||
`Admit` (same-patch evidence), `Bind`, and `Release`; `apply_operations` is
|
||||
the one owner of operation application and conservation, and
|
||||
`patch::check_ledger` is the single named conservation check.
|
||||
`CommandBody::AdmitPatch` is Draft-only and emits `WorldEffect::PatchAdmitted`
|
||||
through the one `admit_resolved` insertion owner shared with genesis. No
|
||||
production ingress authors a `WorldPatch` before pass 10; `EvidenceRef::new`
|
||||
is `#[cfg(test)]`.
|
||||
`CommandBody::AdmitPatch` emits `WorldEffect::PatchAdmitted` through the one
|
||||
`admit_resolved` insertion owner shared with genesis; it has no phase gate of
|
||||
its own, because in Active the answer rule below bounds what a patch may
|
||||
declare. Before pass 10 the only production author of a `WorldPatch` is the
|
||||
elaborator lane, which decodes items one at a time under its draft caps; the
|
||||
kernel itself bounds a patch nowhere yet. `EvidenceRef::new` is `pub(super)`
|
||||
and its production use is bounded by `filter_evidence`.
|
||||
|
||||
Character action is a precondition-effect transition. Grants are
|
||||
`BTreeMap<DecisionScope, BTreeSet<AffordanceId>>`. `world/action.rs` owns
|
||||
|
|
@ -161,6 +165,24 @@ and re-prompts with it, bounded by `ELABORATION_ROUND_BUDGET` and the
|
|||
`EvidenceSource` receipts (`filter_evidence`); with `NullEvidenceSource` no
|
||||
canonical fact and no `Admit` can land from the elaborator lane.
|
||||
|
||||
`world/cover.rs` owns the budgeted connected cover. `derive_cover(world, now,
|
||||
tick, opportunities, agency_graph, budget)` is pure: it reads the attention
|
||||
order that `order_opportunities` owns, reserves the urgency slots for its
|
||||
head, rotates the remaining subjects through singleton cells by debt, and
|
||||
packs the rest into grouped cells by connected component of the agency graph
|
||||
(scheduler-only; reachable from no prompt builder). `Cell`, `Cover`,
|
||||
`CellId`, `Resolution`, `TickIndex`, and `AgencyGraph` are derived and
|
||||
disposable; the only durable trace of a tick is the `controller_work.v8` row
|
||||
(`ControllerWork::Grouped`), custody-separate from world custody. A grouped
|
||||
cell is one inference over partitioned per-constituent views returning zero
|
||||
or one attributed proposal per constituent; declines are submitted first and
|
||||
each proposal commits or is refused on its own scope digest; a coarse
|
||||
`NarrativePersona` receives its typed view and does not enter the membrane.
|
||||
Cell and constituent command ids are sha256-derived. The runtime's
|
||||
`drive_cover_tick` is the single owner of tick cadence, cover derivation,
|
||||
the bounded concurrency permit pool, the quarantine flag, and the clock,
|
||||
which advances after the cells so every cell in a tick shares one `now`.
|
||||
|
||||
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
|
||||
|
|
@ -168,9 +190,9 @@ 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.elaboration.v1`, commit schema `world_commit.elaboration.v1`,
|
||||
controller work `controller_work.v7`; earlier stores are refused. Ghostlight owns a conserved narrative ledger;
|
||||
controller work `controller_work.v8`; earlier stores are refused. Ghostlight owns a conserved narrative ledger;
|
||||
Delvehold owns the economy (`delvehold-forced-ontology-integration.md`).
|
||||
Pass 9 adds the budgeted cover; pass 10 adds the consumer ingress.
|
||||
Pass 10 adds the consumer ingress.
|
||||
|
||||
## The failure this vocabulary is designed against
|
||||
|
||||
|
|
@ -559,10 +581,9 @@ none of which is a second identity layer:
|
|||
quiet world moves without being looked at and without inventing spurious
|
||||
crisis.
|
||||
3. **Ordered attention.** The scheduler is a pure planner over one revision.
|
||||
It orders opportunities by unresolved pressure, causal exposure,
|
||||
readiness, and time since last opportunity, so every subject receives
|
||||
direct attention within bounded ticks absent a mandatory foreground
|
||||
override.
|
||||
It orders opportunities by unresolved pressure, then time since last
|
||||
opportunity, then subject id, so every subject receives direct attention
|
||||
within bounded ticks absent a mandatory foreground override.
|
||||
4. **Cell resolution.** A singleton cell is detail focus: a `NarrativePersona`
|
||||
controller receives its prose membrane, an `OperationalAgent` its full
|
||||
permissioned view. A grouped cell is one inference over its constituents'
|
||||
|
|
@ -574,10 +595,34 @@ none of which is a second identity layer:
|
|||
change. The cell can emit no cell-owned mutation, and no subject is ever
|
||||
spoken for by an arena.
|
||||
|
||||
Debt rotation makes the choke fair: with N subjects and budget B, every
|
||||
subject reaches a singleton cell within about N/B ticks absent a mandatory
|
||||
foreground override, and the deterministic clocks keep its commitments moving
|
||||
in between.
|
||||
Debt rotation makes the choke fair. With N active subjects, a cell budget B,
|
||||
and U urgency slots reserved for the head of the attention order, the
|
||||
rotation reserve is R = B − U, and a subject continuously active for
|
||||
ceil(N/R) ticks with stable membership is a singleton at least once. ceil(N/B)
|
||||
is unreachable whenever N > B, because it would leave subjects uncovered. The
|
||||
constituent cap yields for two reasons, when the budget's token capacity is
|
||||
short of the active count and when connected components cannot pack inside
|
||||
the cell budget even with capacity to spare; the cell budget never yields;
|
||||
`oversubscribed` is the operator-visible signal that the cap gave way. The
|
||||
cover is pure over its inputs and the attention order is a real input: the
|
||||
same subjects in a different order give the same coverage and a different
|
||||
singleton set, because urgency and backfill read that order. The deterministic clocks keep commitments moving in
|
||||
between.
|
||||
|
||||
A grouped cell buys one inference, never one admission rule. Its constituents
|
||||
are grouped because they are connected, so they are the subjects most likely
|
||||
to contend: each attributed proposal binds to its own scope digest, and when
|
||||
the first act lands (a telling changes a co-located listener's knowledge),
|
||||
the second is refused `ScopeChanged` rather than committed on a stale scope.
|
||||
Declines are submitted first so silent constituents consume their turn
|
||||
without contention, and the driver reports submitted against committed per
|
||||
cell so the gap is visible. The cover did not create the contention; two
|
||||
singleton cells for the same pair would contend identically, and a refused
|
||||
constituent costs one admission check rather than one inference. The grouping
|
||||
heuristic stays. The open decision for the operator, to be taken with the
|
||||
submitted-versus-committed number in hand, is whether a refused constituent
|
||||
gets one bounded re-submission against its re-derived opportunity inside the
|
||||
same tick, which costs no inference.
|
||||
|
||||
## What stays open
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue