Record typed fulfillment ownership cut
This commit is contained in:
parent
cc566a3c2b
commit
66294ce16c
3 changed files with 42 additions and 23 deletions
|
|
@ -1348,10 +1348,14 @@ Resident terminal success is also pressure-specific. For a
|
|||
only that the bounded coordinator process ended cleanly; it does not prove the
|
||||
requested Modeling work reached a typed terminal result. The resident active
|
||||
turn therefore remains the sole acknowledgement owner after coordinator exit.
|
||||
For proposal Modeling it requires the runtime-owned worker result echoing the
|
||||
exact proposal request. For admitted model-direction and Imagination
|
||||
consideration it additionally validates the exact typed result/candidate and
|
||||
requires that byte-identical companion to exist in the runtime store. Missing
|
||||
For every typed lane it asks one runtime-spine-owned verifier whether the exact
|
||||
request has one authenticated terminal worker result. The verifier replays the
|
||||
same immutable runtime admission path that owns worker launch role/binding,
|
||||
request/runtime/thread/job identity, launch projection, foreign-cargo
|
||||
exclusion, and typed companion persistence. Proposal Modeling adds its exact
|
||||
selection, proposal payload, launch binding, Body basis, Evolution patch, and
|
||||
proposal-citing frontier contract through the same helper used by Mind
|
||||
admission. Missing
|
||||
terminal evidence is `awaiting-fulfillment`: the active lease remains live and
|
||||
cannot be retained, relaunched, acknowledged, or requeued. A later serve cycle
|
||||
consumes the route exactly once when the typed evidence appears. Brake,
|
||||
|
|
@ -1360,13 +1364,14 @@ the lease once and return its exact pressure to Heartbeat; invalid or
|
|||
substituted evidence closes as `unfulfilled`. Coordinator process closure is
|
||||
therefore evidence, never cognitive completion authority.
|
||||
|
||||
The remaining cut is authentication ownership inside that fulfillment verdict.
|
||||
Runtime spine already owns admission of launch bindings, worker launch context,
|
||||
request/runtime/thread/job identity, and exact typed results. Resident Self must
|
||||
consume one shared runtime-owned verdict. Merely finding a role-worker result
|
||||
that echoes a proposal request ID, or deriving an Imagination candidate from an
|
||||
otherwise unauthenticated binding, is not fulfillment. Self may retain or close
|
||||
its lease from the verdict; it may not recreate a weaker admission policy.
|
||||
Resident Self now owns only the mapping from grant provenance to a typed runtime
|
||||
request reference and the lease transition driven by the verdict. It does not
|
||||
scan worker rows or recreate candidate/result policy. No claimant means
|
||||
Pending; one authenticated claimant means Fulfilled; item errors, missing or
|
||||
swapped launches/bindings, missing companions, foreign cargo, and multiple
|
||||
claimants fail closed. Replaying a result already persisted by runtime admission
|
||||
is validation-only: exact idempotence performs no write, while a missing
|
||||
companion or changed envelope refuses before mutation.
|
||||
|
||||
Terminal completion owns its cooldown in that same resident-state and
|
||||
acknowledgement CAS. `next_eligible_at_millis` is persisted from the configured
|
||||
|
|
|
|||
|
|
@ -1390,12 +1390,26 @@ resident 22,984; Heartbeat 13,200; artifacts 298,663. Self rested at 31.92 MiB
|
|||
and Heartbeat at 27.81 MiB before stop. Exact-grant terminality and bounded
|
||||
active endurance are accepted. Active c005 was untouched.
|
||||
|
||||
The next semantic seam is not another lifecycle patch. Resident proposal
|
||||
Modeling fulfillment currently accepts any role-worker result naming the exact
|
||||
request ID; it does not reuse runtime-spine authentication of the one launch
|
||||
binding, runtime/thread/job identity, worker launch context, and admitted typed
|
||||
result. Imagination fulfillment has the parallel binding-provenance weakness.
|
||||
Map one runtime-owned verifier, demote resident Self to verdict consumer, add
|
||||
hostile substitution tests plus a cycle-level pending-to-fulfilled exactly-once
|
||||
proof, then package. Do not let the successful process/endurance proof overclaim
|
||||
semantic authentication.
|
||||
Commit `cc566a3c` cuts the typed-fulfillment authentication split. Runtime spine
|
||||
now owns one typed request verifier for proposal Modeling, Imagination
|
||||
consideration, and admitted model-direction consideration. It replays the exact
|
||||
immutable result-admission path and then checks the persisted typed companion;
|
||||
proposal Modeling additionally uses one shared immutable proposal/selection/
|
||||
launch/patch validator from both delayed fulfillment and Mind admission.
|
||||
Resident Self only maps exact grant provenance to that typed request and consumes
|
||||
Pending/Fulfilled/error. Echo-only rows, substituted launch bindings, item
|
||||
errors, missing companions, and duplicate terminal claimants cannot complete a
|
||||
grant.
|
||||
|
||||
Focused proof is green: 24 resident tests, 8 `epiphany-swarm` tests, 11
|
||||
Heartbeat-state tests, and the new hostile proposal verifier test. The resident
|
||||
cycle proof now exits the coordinator zero, remains `awaiting-fulfillment`,
|
||||
admits an exact launch-bound model-direction result through runtime spine, and
|
||||
closes once. The broader 50-test runtime-spine sweep reached 48 green and
|
||||
exposed two older contradictory fixtures: one expects a proposal with an
|
||||
existing launch to remain schedulable; another asks proposal admission to admit
|
||||
Proposed/Blocked frontier rows despite its active-routeable contract. Do not
|
||||
loosen fulfillment authentication to satisfy them. Reconcile which owner those
|
||||
tests are actually exercising, restore a fully green runtime sweep, then update
|
||||
Mind and package exact `cc566a3c` or its corrective descendant. Active c005
|
||||
remains untouched.
|
||||
|
|
|
|||
Reference in a new issue