Supersede stale resident continuations
This commit is contained in:
parent
fbd57b9b66
commit
3a5d2b5ee2
4 changed files with 216 additions and 22 deletions
|
|
@ -1432,6 +1432,15 @@ unset until acceptance and is not pre-acceptance evidence. The failed process re
|
|||
the typed result owns cognitive review readiness. This route cannot launch a
|
||||
second worker or continue into Hands.
|
||||
|
||||
Receipt-derived launch actions are revalidated at preparation. A terminal role
|
||||
result overtakes an older `launchResearch`, `launchModeling`, or
|
||||
`launchVerification` continuation before process creation. Resident Self then
|
||||
atomically marks the exact unlaunched grant `superseded`, leaves its consumed
|
||||
pressure closed, and emits one Heartbeat acknowledgement bound to the
|
||||
originating receipt. The stale receipt remains evidence but no longer owns a
|
||||
launch; Heartbeat may then schedule the current typed review pressure. This is
|
||||
grant-owned closure, not deletion or retry repair.
|
||||
|
||||
Exact packaged `6dd9b132` proves that ownership cut live. One autonomous
|
||||
proposal Modeling coordinator exited while its detached worker continued; Self
|
||||
held the same lease as `awaiting-fulfillment`. Runtime later admitted one exact
|
||||
|
|
|
|||
|
|
@ -3730,3 +3730,12 @@ receipts are `.epiphany-run/live-swap-c007f-2e1ccaf7`. The corrected source
|
|||
requires the exact Modeling job link plus runtime-owned typed fulfillment; its
|
||||
focused lifecycle test now explicitly proves recovery while link result ID is
|
||||
absent. Package/restart/live replay of this correction is next.
|
||||
|
||||
Restarting exact fbd57b9b braked exposed a separately preserved grant from the
|
||||
older `launchModeling` continuation. The active source cut now revalidates
|
||||
receipt-derived launches at preparation: terminal Modeling evidence overtakes
|
||||
the stale launch, and one snapshot-fenced transaction terminalizes the exact
|
||||
unlaunched grant as `superseded`, preserves the consumed pressure, and emits a
|
||||
receipt-bound Heartbeat acknowledgement. The focused continuation test proves
|
||||
supersession and then proves the newer `reviewModelingResult` continuation can
|
||||
prepare normally. Commit/package/live replay remain next.
|
||||
|
|
|
|||
Reference in a new issue