Make resident Self own receipt-free settlement
This commit is contained in:
parent
ca22d7a411
commit
2e66433f51
6 changed files with 239 additions and 131 deletions
|
|
@ -3223,3 +3223,30 @@ only after exact native process observation.
|
|||
requeues once, and a distinct same-request attempt receives its own process
|
||||
and terminal authority while the first remains terminal. Valid-result-before-
|
||||
receipt and retention replay remain the open boundaries.
|
||||
|
||||
## Receipt-free typed fulfillment settlement owner
|
||||
|
||||
- Owner: resident Self owns whether a dead receipt-free coordinator completes,
|
||||
waits, or cancels its exact grant. The swarm binary owns native observation
|
||||
and supplies policy inputs only.
|
||||
- Inputs: exact resident lease and grant, authenticated runtime-owned typed
|
||||
fulfillment, exact coordinator incarnation, native child observation,
|
||||
shutdown/brake/timeout, time, and cooldown.
|
||||
- Outputs: fulfilled evidence plus exact coordinator death recovery closes the
|
||||
original grant `recovered-fulfilled`; pending live worker authority remains
|
||||
awaiting; terminal unfulfilled authority follows canonical cancellation.
|
||||
- Derived state: binary outcome projection and Heartbeat visibility do not own
|
||||
settlement. A consumed pressure is historical request authority, not a retry
|
||||
queue entry.
|
||||
- Forbidden writers: binary-local classifiers, receipt absence alone, elapsed
|
||||
time, and terminal acknowledgement presence cannot manufacture completion or
|
||||
retry.
|
||||
- Shared paths: `once` and `serve` both enter the same resident function through
|
||||
`cycle`; all three typed request families use runtime-owned fulfillment.
|
||||
- Cut line: delete the private binary settlement function and cancellation
|
||||
classifiers; resident Self performs recovery and the exact grant CAS.
|
||||
- Verification: admitted-model-direction result before coordinator receipt,
|
||||
exact missing-child recovery, one recovered-fulfilled grant, consumed
|
||||
pressure, byte-identical replay refusal, and no Heartbeat retry. Source passes
|
||||
661 core tests with one ignore plus seven swarm tests. Exact package and copied
|
||||
Linux proof remain.
|
||||
|
|
|
|||
|
|
@ -2457,3 +2457,23 @@ Next: prove a valid typed result published before the coordinator receipt closes
|
|||
the original grant exactly once without retry. Then run retention against these
|
||||
terminal attempts and settled grant and require non-resurrection. Actual c006
|
||||
stays braked and stopped; Yggdrasil never builds.
|
||||
|
||||
## Resident-owned fulfilled-before-receipt source cut — 2026-08-10
|
||||
|
||||
The receipt-free settlement decision no longer lives as private policy in the
|
||||
`epiphany-swarm` binary. Resident Self now owns the whole transition; the binary
|
||||
supplies only exact child observation, brake/shutdown/timeout state, time, and
|
||||
configured cooldown. The old binary cancellation classifiers and settlement
|
||||
function are deleted.
|
||||
|
||||
The admitted-model-direction fulfillment test now crosses the real ownership
|
||||
boundary: it persists the grant and active lease, atomically opens the resident
|
||||
coordinator incarnation, admits an authenticated typed terminal result, then
|
||||
observes the coordinator missing before any run receipt. Resident Self records
|
||||
the exact coordinator death recovery and closes the original grant as
|
||||
`recovered-fulfilled`. The pressure remains consumed by that grant, replay is
|
||||
refused with byte-identical resident state, and Heartbeat cannot issue a retry.
|
||||
|
||||
Full core verification passes 661 tests with one intentional ignore; all seven
|
||||
swarm tests pass without warnings. Commit, exact package, and copied Linux proof
|
||||
remain. Actual c006 is still braked and stopped.
|
||||
|
|
|
|||
Reference in a new issue