Record the interruption pass in the docs
The narrative lane re-lowers once on a moved scope with the delta the subject could perceive; the kernel is the sole detector for that lane; an author is named only for speech actually heard; a turn is lowered at most twice by the shape of its binding; SubjectSnapshot carries the subject's whole components; schemas controller_work.v11 and persona_turn_receipt.v3. Plan step 9 landed with its undone list. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
d20dc51cca
commit
711f6ec4b0
4 changed files with 96 additions and 32 deletions
|
|
@ -46,10 +46,10 @@ mutation.
|
|||
6. Qualitative interest, political diversity, prose quality, name repetition,
|
||||
and actor counts are evaluation evidence. They are never mutation gates.
|
||||
7. A failed or interrupted inference (infrastructure interruption of an
|
||||
inference; a world-scope interruption between intent and commit is plan
|
||||
step 9 and is narrated, not discarded) leaves no half-owned world state.
|
||||
Recovery starts from the last committed revision and derives pending work
|
||||
again.
|
||||
inference; a world-scope interruption between intent and commit is
|
||||
narrated, not discarded — the narrative lane re-lowers the same prose once
|
||||
against the fresh scope) leaves no half-owned world state. Recovery starts
|
||||
from the last committed revision and derives pending work again.
|
||||
|
||||
## Canonical owner
|
||||
|
||||
|
|
@ -472,7 +472,18 @@ 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
|
||||
verification reads, commits at any later revision where that digest is
|
||||
unchanged, and is rejected with a typed `ScopeChanged` when it is not. Nothing
|
||||
is rebased and nothing is discarded merely because the world moved elsewhere.
|
||||
is rebased and nothing is discarded merely because the world moved elsewhere:
|
||||
for the narrative lane, `ScopeChanged` on submit is one re-lowering, not a
|
||||
lost turn. The runner re-lowers the same prose once through the Interpreter
|
||||
against a fresh opportunity, with the delta the subject could perceive since
|
||||
its bound revision (`Overheard` rows plus the typed component diff); the
|
||||
Persona is never re-run, and the renewed binding carries the one it replaced
|
||||
(`interrupted_from`) so a second interruption of the same turn ends it rather
|
||||
than lowering it again. Eve reports an overtaken turn through
|
||||
`ControllerHttpResult::Interrupted`, which renders in the command result as
|
||||
`denied` today; the owner sees the interruption itself — subject, both scope
|
||||
digests, the persona prose and receipt, and the untranslatable gap — in that
|
||||
result's receipt text, not in the state name.
|
||||
|
||||
Resolution covers and grouping are compute budgets for projection. They do not
|
||||
create, merge, fission, or qualify identities. Every active subject is in the
|
||||
|
|
|
|||
|
|
@ -245,10 +245,19 @@ Opportunities bind to a `ScopeDigest` over one `scope_components` owner
|
|||
incident routes, own holdings, own dependencies, known fact ids, controlled
|
||||
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
|
||||
`ghostlight.world_state.consumer.v1`, commit schema
|
||||
`ghostlight.world_commit.consumer.v1`, controller work `controller_work.v9`;
|
||||
earlier stores are refused. Ghostlight owns a conserved narrative ledger;
|
||||
rejected with `KernelError::ScopeChanged` otherwise. `SubjectSnapshot` carries
|
||||
the subject's whole `ScopeComponents` rather than five duplicate projected
|
||||
fields; the narrative lane's persisted before-state is those components
|
||||
frozen at turn time, and the delta shown to the Interpreter on a re-lowering
|
||||
is the typed component diff against the fresh components plus the
|
||||
`Overheard` rows later than the turn's bound revision — never a raw
|
||||
knowledge row, and never another subject's snapshot. The re-lowering's
|
||||
provider request is a distinct round (`interpreter_round`) with its own
|
||||
content-addressed request id, so it cannot collide with the first lowering's
|
||||
request. State schema is `ghostlight.world_state.consumer.v1`, commit schema
|
||||
`ghostlight.world_commit.consumer.v1`, controller work `controller_work.v11`,
|
||||
Persona turn receipt `ghostlight.persona_turn_receipt.v3`; earlier stores and
|
||||
earlier rows are refused. Ghostlight owns a conserved narrative ledger;
|
||||
Delvehold owns the economy (`delvehold-forced-ontology-integration.md`).
|
||||
Step 6 of the plan is complete. The next seam is the seeded live run against a
|
||||
real Vault and a real connector, then the outbound consumer response.
|
||||
|
|
@ -700,7 +709,16 @@ Interpreter, so its refused proposal stays refused. A narrative subject in a
|
|||
singleton cell is interrupted rather than silently refused: the lane
|
||||
re-lowers once through the Interpreter with the delta the subject could
|
||||
perceive since its turn, bound to the fresh digest, at the cost of one
|
||||
Interpreter inference and no Persona re-run (plan step 9, in design).
|
||||
Interpreter inference and no Persona re-run. Three rules govern it: the
|
||||
kernel's own scope digest is the one detector of a moved scope for the
|
||||
narrative lane, because the lane's own early checks are gone and only the
|
||||
operational lane keeps its early check; an author is named only for speech
|
||||
the subject actually heard (`Overheard`), and every other change that moved
|
||||
the digest — a transfer, a route closing, a revocation, a vacated office, a
|
||||
routine's `due` rolling, an elaborator patch, a consumer document — is
|
||||
anonymous by construction; and a turn is lowered at most twice, because a
|
||||
re-lowered binding carries the one it replaced (`interrupted_from`) and no
|
||||
progression arm gives that one a successor.
|
||||
|
||||
## What stays open
|
||||
|
||||
|
|
|
|||
|
|
@ -378,34 +378,56 @@ serve as an ontology or completeness gate. No live Delvehold acceptance run is
|
|||
admitted before the focused suite passes and the old writers are structurally
|
||||
unable to override the aggregate.
|
||||
|
||||
### 9. Interruption — in design
|
||||
### 9. Interruption — landed
|
||||
|
||||
Objective: a subject whose world moved between forming an intent and
|
||||
committing it is interrupted, not silently refused, and the interruption is
|
||||
narrated from what it could perceive.
|
||||
|
||||
Current mechanism: a proposal binds to the scope digest of the components its
|
||||
verification reads; when another commit moves that digest before the proposal
|
||||
lands, the kernel refuses it with `ScopeChanged`. The narrative lane spent
|
||||
three inferences (projector, persona, interpreter) on that proposal and
|
||||
records nothing of what overtook it. Coupled subjects in one tick therefore
|
||||
pay for acts the kernel will refuse, and nothing in the vocabulary lets an
|
||||
act be cut short by an event.
|
||||
Landed mechanism: a proposal binds to the scope digest of the components its
|
||||
verification reads; when another commit moves that digest before the
|
||||
proposal lands, the kernel refuses it with `ScopeChanged`. The narrative
|
||||
lane's own early scope checks are deleted — the kernel's `exact_opportunity`
|
||||
is the sole detector for the narrative lane, and `ScopeChanged` on submit is
|
||||
the one event with one handler, `submit_narrative`'s `interrupted` arm. The
|
||||
Persona is never re-run: on `ScopeChanged` the runner re-lowers the same
|
||||
prose once through the Interpreter against a fresh opportunity
|
||||
(`select_fresh`/`select_scope`), with a second input — an `Interruption`
|
||||
carrying the fresh `ScopeComponents`, the `Overheard` rows later than the
|
||||
turn's bound revision, and the discarded first-lowering evidence. The
|
||||
re-lowered turn is `PersonaTurn::record`ed fresh, never mutated, and carries
|
||||
`interrupted_from` pointing at the binding it replaced; a turn whose binding
|
||||
already carries `interrupted_from` is not re-lowered again — it ends as
|
||||
`NarrativeRun::Interrupted`, structurally, because no progression arm gives a
|
||||
re-lowered binding a second successor. A fresh opportunity whose granted set
|
||||
has lost `Speak` also ends the turn as `Interrupted` rather than spending an
|
||||
Interpreter round on an invocation it cannot express. Interruption is
|
||||
defined by the digest, so a neighbour's act, a clock tick that rolls a
|
||||
routine's `due`, an elaborator patch, a consumer document, and a world-scale
|
||||
event are one case, indistinguishable at the handler. Schema bumps:
|
||||
`controller_work.v11` and `ghostlight.persona_turn_receipt.v3`; prior rows
|
||||
are refused, not migrated. Eve reports the interruption through
|
||||
`ControllerHttpResult::Interrupted`, which renders as `denied` in the
|
||||
command result today; the receipt text carries the subject, both scope
|
||||
digests, the persona prose and receipt digest, and the untranslatable gap.
|
||||
|
||||
Intended change: the Persona is never re-run. On `ScopeChanged` the runner
|
||||
re-lowers once through the Interpreter with a second input, the delta the
|
||||
subject perceived since its turn, rendered from the same components the
|
||||
digest reads and the same fan-out that bounds knowledge; the re-lowered
|
||||
proposal is an ordinary `ExerciseDecision` bound to the fresh digest. One
|
||||
re-lowering per subject per tick. Interruption is defined by the digest, so
|
||||
a neighbour's act, a clock tick, an elaborator patch, a consumer document,
|
||||
and a world-scale event are one case.
|
||||
|
||||
Cut line: no new kernel arm, bundle, or joint command; no second Persona
|
||||
Cut line held: no new kernel arm, bundle, or joint command; no second Persona
|
||||
turn; no event log reaches a controller; the delta shown to the Interpreter
|
||||
is exactly what the membrane already lets the subject perceive, proven by a
|
||||
leakage test. The joint-per-room Interpreter was considered and rejected:
|
||||
the room is not the unit of interruption, the digest is.
|
||||
is exactly what the membrane already lets the subject perceive
|
||||
(`Overheard` is built only from `Told` rows with a resolved speaker label,
|
||||
never a raw knowledge row). The joint-per-room Interpreter was considered and
|
||||
rejected: the room is not the unit of interruption, the digest is.
|
||||
|
||||
What is undone: Fork D (a fresh opportunity with no `Speak` ends the turn
|
||||
without spending inference) has no test exercising it — the eight landed
|
||||
tests cover a co-located neighbour's speech and an anonymous owner-patch
|
||||
move, not that branch. Transfer, route-closing, and elaborator-patch causes
|
||||
are not separately tested; only the generic "a change with no author" case
|
||||
stands in for them. There is no end-to-end `drive_cover_tick` test carrying
|
||||
an interruption through a real tick. No road run has exercised this against
|
||||
a live provider — none exists yet for the narrative lane's re-lowering
|
||||
round, so the next road run is the first evidence of `interpreter_round`
|
||||
producing a real second request.
|
||||
|
||||
### 10. Witnessed events over a place subtree — in design
|
||||
|
||||
|
|
|
|||
|
|
@ -139,3 +139,16 @@ the kernel, and each became a rule the tree now carries:
|
|||
|
||||
The harness fails when no seed patch lands or nobody speaks, so a run that
|
||||
reaches the provider and gets nothing back is a failed run.
|
||||
|
||||
## Interrupted cell
|
||||
|
||||
Not yet run. The next road run must show a subject whose room changed mid-turn
|
||||
getting one re-lowering, not a lost turn: its scope digest moves between the
|
||||
Persona's prose and the commit, the runner re-lowers the same prose once
|
||||
through the Interpreter against the fresh opportunity, and the resulting
|
||||
`ghostlight.persona_turn_receipt.v3` row carries `interrupted_from` pointing
|
||||
at the binding it replaced. The log line for that cell must carry the subject
|
||||
and both scope digests — the one the turn was bound to and the one it was
|
||||
re-lowered against — and the operator log must show the act once, not once
|
||||
per lowering. This has not been exercised against a live provider; the eight
|
||||
tests landed for step 9 all run against fixture ports.
|
||||
|
|
|
|||
Loading…
Reference in a new issue