Make counter replacement focused and auditable

This commit is contained in:
Meta Vens 2026-08-22 20:03:05 +02:00
commit c3ab99f899
3 changed files with 280 additions and 55 deletions

View file

@ -94,9 +94,11 @@ relationships, goals, and the complete terms of extraordinary permissions.
Prose explains a bargain; the visible typed payload is the state the player is
actually consenting to.
Accept applies only the exact typed payload currently stored in the decision.
Counter atomically removes that payload, records the player's text in the
decision's durable channel, marks the unresolved decision as awaiting a DM
replacement, and invalidates the affected projection epoch. The DM response
Counter preserves that payload as an inert, visible audit and replacement
basis, records the player's text in the decision's durable channel, marks the
unresolved decision as awaiting a DM replacement, and invalidates the affected
projection epoch. `pending_counter` removes the Accept surface and makes the
retired payload uncommittable. The DM response
must produce a fresh material decision against that same channel and component
epoch; installing it and retiring the pending counter is one kernel commit.
Until then the old decision has no Accept surface and forged acceptance fails.
@ -107,10 +109,14 @@ Session Zero snapshot. It does not ask the player to retype the counter, append
a duplicate message, or advance revision merely to try inference again; only a
later kernel-validated replacement changes state.
The countered decision ID is also part of the model snapshot binding and
permitted turn context. Projector and Interpreter see that one pending decision,
its exact counter, required owner, and required materiality instead of the whole
unresolved queue. This aligns the model's task with the kernel gate while
reducing distraction and wasted tokens.
permitted turn context. Projector and Interpreter see only that pending
decision, its retired typed payload, exact counter, aggregate safety policy,
required owner, and required materiality. Conversation history, party cards,
the contract, unrelated decisions, and unrelated private character state are
not part of the focused retry. Pre-cut decisions whose typed payload was erased
receive one bounded current-state basis for migration only. The kernel accepts
exactly one same-lane replacement with stable extraordinary-permission identity;
direct patches or unrelated decisions cannot retire the counter.
## Approval and publication