Retire superseded model direction grants
This commit is contained in:
parent
6a0d61c899
commit
b81b59a7d7
5 changed files with 291 additions and 18 deletions
|
|
@ -3990,3 +3990,33 @@ state is now the sole final-action owner for these review paths.
|
|||
second exact braked process start held the same authority/hashes at 0.36%
|
||||
sampled CPU and exited zero again, proving startup stewardship without
|
||||
resurrection.
|
||||
|
||||
## Superseded admitted-model-direction authority
|
||||
|
||||
- Owner: runtime RepoModel owns whether an
|
||||
`AdmittedModelDirectionConsiderationRequest` still names the current exact
|
||||
model revision and hash. Resident Self owns terminalization of the exact
|
||||
Heartbeat grant; neither scheduler timing nor coordinator prose decides
|
||||
supersession.
|
||||
- Inputs: a structurally valid typed request, current RepoModel snapshot, exact
|
||||
resident grant and active lease, and the exact bound coordinator receipt.
|
||||
- Outputs: a superseded request terminalizes that exact grant once with status
|
||||
`superseded` and the real receipt ID. The consumed pressure stays consumed;
|
||||
failure count does not advance and Heartbeat cannot issue a replacement
|
||||
grant from the dead authority.
|
||||
- Derived state: request age, the `stale` error text, cooldown, receipt action,
|
||||
and operator projection are observations only.
|
||||
- Forbidden writers: resident retry policy, error-string parsing, Heartbeat
|
||||
cadence, and a generic stale-work cleanup pass cannot decide typed request
|
||||
death or create a retry.
|
||||
- Shared paths: settlement checks supersession before fulfillment and checks it
|
||||
again after a failed fulfillment read, covering a concurrent RepoModel
|
||||
advance without weakening the ordinary exact-result verifier.
|
||||
- Cut line: the old invalid-fulfillment cancellation path no longer requeues a
|
||||
structurally valid request whose model binding has been superseded. Historical
|
||||
`epiphany-work` acceptance remains inert and is not a fallback workflow.
|
||||
- Verification: focused source proof passes 31 resident tests, four
|
||||
admitted-model-direction contract tests, and all eight swarm tests. Exact
|
||||
Linux packaging and copied-state replay remain open; acceptance requires one
|
||||
superseded terminal acknowledgement, no regrant, and zero external
|
||||
consequence.
|
||||
|
|
|
|||
|
|
@ -3424,6 +3424,47 @@ strict ingress decoder as one ownership boundary. Remove the cause of duplicate
|
|||
top-level fields without weakening admission or adding a repair parser. Repeat
|
||||
the copied proposal and require first-attempt completion, exact one-grant
|
||||
terminalization, and zero external consequence. Yggdrasil never builds.
|
||||
|
||||
## Copied frontier turnover exposed stale typed-request resurrection — 2026-08-11
|
||||
|
||||
Actual c006 remains exact `c9a2a979`, alive and cognitively braked. A stopped
|
||||
copy of exact accepted `d4907ee8` state accepted proposal
|
||||
`proposal-close-organ-loop-plan-reconcile-20260811`, issued one proposal
|
||||
Modeling grant, admitted its first result, and settled its downstream review.
|
||||
The Modeling transaction advanced RepoModel while an older
|
||||
`AdmittedModelDirectionConsiderationRequest` still named the prior exact model
|
||||
revision and hash. Its coordinator then failed with `model direction
|
||||
consideration request is stale`. Restart recovery requeued and relaunched the
|
||||
same impossible typed pressure until the copied brake was engaged. Both copied
|
||||
owners stopped cleanly; actual c006 was untouched. Receipts and before/after
|
||||
hashes are under `.epiphany-run/frontier-turnover-d4907ee8-plan-reconcile`.
|
||||
|
||||
Owner map: runtime RepoModel owns whether an admitted-model-direction request
|
||||
has been superseded; resident Self owns terminalization of the exact grant.
|
||||
Inputs are the structurally valid request, its bound revision/hash, the current
|
||||
RepoModel, exact resident lease, and exact coordinator receipt. The output for
|
||||
a superseded request is one terminal grant and acknowledgement with status
|
||||
`superseded`, using the real coordinator receipt ID. Failure counters, pressure
|
||||
requeue, retries, and new grants are forbidden outputs. Receipt text, error
|
||||
strings, cooldown, and pulse timing are observations, not supersession owners.
|
||||
|
||||
Source now exposes the narrow runtime-owned supersession predicate and checks it
|
||||
at resident settlement, including the race where the model advances during
|
||||
fulfillment verification. Focused proof passes 31 resident tests, four
|
||||
admitted-model-direction tests, and all eight swarm tests. Packaging and exact
|
||||
copied-state replay remain required before acceptance.
|
||||
|
||||
The attempted fresh `epiphany-repo-work-order-family-smoke` was rejected as an
|
||||
active readiness path. Its historical `epiphany-work` mutation surface is
|
||||
deliberately inert and refuses acceptance; runtime-spine RepoModel/RepoFrontier
|
||||
is the canonical live workflow. Do not restore a second repo-swarm owner or
|
||||
revive the old scheduler to make archaeological smokes green.
|
||||
|
||||
Next: commit and push the bounded source/Mind cut, package the exact commit on
|
||||
Starfire, then replay copied state. Require one superseded terminal grant and
|
||||
acknowledgement, no failure count, no requeue or regrant, zero external
|
||||
consequence, and clean shutdown. Then inspect the next canonical typed action.
|
||||
Yggdrasil never builds.
|
||||
## Failed outer-worker attempt retention cut in source — 2026-08-10
|
||||
|
||||
Runtime spine now owns `EpiphanyArchivedRuntimeWorkerAttempt` for failed or
|
||||
|
|
|
|||
Reference in a new issue