Bind typed review to pre-acceptance job
This commit is contained in:
parent
2e1ccaf7d0
commit
fbd57b9b66
5 changed files with 25 additions and 18 deletions
|
|
@ -1353,12 +1353,11 @@ fn resident_self_failed_receipt_typed_continuation_action(
|
||||||
.filter(|link| {
|
.filter(|link| {
|
||||||
link.binding_id == crate::EPIPHANY_MODELING_ROLE_BINDING_ID
|
link.binding_id == crate::EPIPHANY_MODELING_ROLE_BINDING_ID
|
||||||
&& link.runtime_job_id == evidence.job_id
|
&& link.runtime_job_id == evidence.job_id
|
||||||
&& link.runtime_result_id.as_deref() == Some(evidence.result_id.as_str())
|
|
||||||
})
|
})
|
||||||
.count();
|
.count();
|
||||||
if links != 1 {
|
if links != 1 {
|
||||||
return Err(anyhow!(
|
return Err(anyhow!(
|
||||||
"typed proposal fulfillment does not own exactly one current Modeling result link"
|
"typed proposal fulfillment does not own exactly one current Modeling job link"
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
let acceptances = state
|
let acceptances = state
|
||||||
|
|
|
||||||
|
|
@ -14469,24 +14469,16 @@ pub(crate) mod tests {
|
||||||
let thread_entry = runtime
|
let thread_entry = runtime
|
||||||
.get::<crate::EpiphanyThreadStateEntry>(crate::THREAD_STATE_KEY)?
|
.get::<crate::EpiphanyThreadStateEntry>(crate::THREAD_STATE_KEY)?
|
||||||
.expect("proposal fixture thread state");
|
.expect("proposal fixture thread state");
|
||||||
let mut thread_state = thread_entry.state()?;
|
let thread_state = thread_entry.state()?;
|
||||||
let modeling_link = thread_state
|
let modeling_link = thread_state
|
||||||
.runtime_links
|
.runtime_links
|
||||||
.iter_mut()
|
.iter()
|
||||||
.find(|link| {
|
.find(|link| {
|
||||||
link.binding_id == crate::EPIPHANY_MODELING_ROLE_BINDING_ID
|
link.binding_id == crate::EPIPHANY_MODELING_ROLE_BINDING_ID
|
||||||
&& link.runtime_job_id == result.job_id
|
&& link.runtime_job_id == result.job_id
|
||||||
})
|
})
|
||||||
.expect("proposal fixture Modeling runtime link");
|
.expect("proposal fixture Modeling runtime link");
|
||||||
modeling_link.surface = "runtimeResult".into();
|
assert!(modeling_link.runtime_result_id.is_none());
|
||||||
modeling_link.runtime_result_id = Some(result.result_id.clone());
|
|
||||||
runtime.put(
|
|
||||||
crate::THREAD_STATE_KEY,
|
|
||||||
&crate::EpiphanyThreadStateEntry::from_state(
|
|
||||||
&thread_entry.thread_id,
|
|
||||||
&thread_state,
|
|
||||||
)?,
|
|
||||||
)?;
|
|
||||||
|
|
||||||
let resident_store = root.path().join("resident.cc");
|
let resident_store = root.path().join("resident.cc");
|
||||||
crate::enqueue_resident_self_pressure(
|
crate::enqueue_resident_self_pressure(
|
||||||
|
|
|
||||||
|
|
@ -1426,8 +1426,9 @@ the exact request. Resident settlement records that grant as `fulfilled`, not
|
||||||
as the failed process status. Continuation ingress may derive
|
as the failed process status. Continuation ingress may derive
|
||||||
`reviewModelingResult` only when the failed receipt, its exact resident grant
|
`reviewModelingResult` only when the failed receipt, its exact resident grant
|
||||||
and launch digest, one terminal acknowledgement, the authenticated proposal
|
and launch digest, one terminal acknowledgement, the authenticated proposal
|
||||||
fulfillment, and the current Modeling runtime link all agree, and no acceptance
|
fulfillment, and the current Modeling job link all agree, and no acceptance
|
||||||
receipt already exists. The failed process receipt remains process evidence;
|
receipt already exists. The job link is launch authority; its result ID remains
|
||||||
|
unset until acceptance and is not pre-acceptance evidence. The failed process receipt remains process evidence;
|
||||||
the typed result owns cognitive review readiness. This route cannot launch a
|
the typed result owns cognitive review readiness. This route cannot launch a
|
||||||
second worker or continue into Hands.
|
second worker or continue into Hands.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3709,9 +3709,24 @@ no pending proposal request.
|
||||||
The active source cut preserves the failed receipt as process evidence but lets
|
The active source cut preserves the failed receipt as process evidence but lets
|
||||||
the exact fulfilled proposal result own review readiness. It requires the
|
the exact fulfilled proposal result own review readiness. It requires the
|
||||||
failed receipt, its grant and launch digest, one terminal acknowledgement, the
|
failed receipt, its grant and launch digest, one terminal acknowledgement, the
|
||||||
runtime-owned typed fulfillment, the current Modeling result link, and absence
|
runtime-owned typed fulfillment, the current Modeling job link, and absence
|
||||||
of prior acceptance before deriving only `reviewModelingResult`. Typed
|
of prior acceptance before deriving only `reviewModelingResult`. Typed
|
||||||
completion now records terminal status `fulfilled` instead of copying the
|
completion now records terminal status `fulfilled` instead of copying the
|
||||||
process receipt's status. Thirty-one resident tests, nine swarm tests, and the
|
process receipt's status. Thirty-one resident tests, nine swarm tests, and the
|
||||||
new hostile failed-receipt/valid-result lifecycle test pass. Commit/package and
|
new hostile failed-receipt/valid-result lifecycle test pass. Commit/package and
|
||||||
exact c007e continuation replay remain next. Yggdrasil never builds.
|
exact c007e continuation replay remain next. Yggdrasil never builds.
|
||||||
|
|
||||||
|
Commit `2e1ccaf7` packaged as release
|
||||||
|
`sha256-243899f155e06e043de4c0d0ec7c6a0ab80296a6deb7ba83229b032555b06f29`
|
||||||
|
with witness
|
||||||
|
`sha256-c7b8dc0399455173f1856bda9cbbe6353f58f4890c7d3f8dc89606921865cd70`;
|
||||||
|
Cargo took 1m24s changed and 0.88s warm with identical output. c007e stopped
|
||||||
|
both owners exit zero and c007f started exact/authenticated/braked at revision
|
||||||
|
302. Live release then falsified one test-only assumption: the Modeling runtime
|
||||||
|
link's `runtime_result_id` remains absent until acceptance, so requiring it to
|
||||||
|
authorize pre-acceptance review is circular. Resident failed closed exit 1,
|
||||||
|
the cognitive brake was immediately reengaged, Heartbeat remained alive, and
|
||||||
|
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.
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ invariants:
|
||||||
|
|
||||||
current_status:
|
current_status:
|
||||||
summary: Epiphany is a supervised engineering alpha on Starfire, not deployment-ready. Exact b8138a6b active-child SIGTERM and restart, exact 9f369528 deterministic warm packaging, exact c930f505 cross-container ownership, exact ed15f83a resident lifecycle retention, exact 16c4b19f coordinator receipt and Heartbeat artifact retention, exact cce2b8ac narrow model-generation retention, exact eea15e82 model-turn JSON ingress, exact b1e8c89a semantic unattempted-generation retention, exact 6bc3ec3f semantic physical-epoch retirement, and exact 44230a05 Persona conversation retention are proven. Gamecult-ops 059821f owns Yggdrasil stream retention and exact 6ee08a4 owns stable Starfire Persona-permit firewall ingress. Exact 16c4b19f genuine idle and exact a987d2f7 active cognition completed 900-pulse bounded plateaus. Runtime-owned typed fulfillment is accepted live under exact 6dd9b132. Yggdrasil is the small public crossing body, never the release forge.
|
summary: Epiphany is a supervised engineering alpha on Starfire, not deployment-ready. Exact b8138a6b active-child SIGTERM and restart, exact 9f369528 deterministic warm packaging, exact c930f505 cross-container ownership, exact ed15f83a resident lifecycle retention, exact 16c4b19f coordinator receipt and Heartbeat artifact retention, exact cce2b8ac narrow model-generation retention, exact eea15e82 model-turn JSON ingress, exact b1e8c89a semantic unattempted-generation retention, exact 6bc3ec3f semantic physical-epoch retirement, and exact 44230a05 Persona conversation retention are proven. Gamecult-ops 059821f owns Yggdrasil stream retention and exact 6ee08a4 owns stable Starfire Persona-permit firewall ingress. Exact 16c4b19f genuine idle and exact a987d2f7 active cognition completed 900-pulse bounded plateaus. Runtime-owned typed fulfillment is accepted live under exact 6dd9b132. Yggdrasil is the small public crossing body, never the release forge.
|
||||||
latest_phase: Exact bc0806b5 bounds one admitted Imagination result to three option drafts and is pushed, packaged, inspected, and live as release sha256-3214699820704481268f3f52de9a9dd86948d424ff556177eb60e45330ad414f with witness sha256-6d03e787da348d9901aae72fa6fe94e1cbe31b4db97d95e8bf05303bc65029cc. The current packager plus stable /source/repo-live reduced a distinct core-changing package from the stale per-commit clone path's 13m40s to 1m34s; identical warm replay was 8.32s wall and 0.77s Cargo with identical 24 binaries and zero warnings. c007d stopped exit0 and c007e runs this exact body braked at resident revision 302. Its pending autonomous proposal launched one detached Modeling worker; an already-enqueued typed grant then refused a duplicate unsuperseded launch, waited on the exact existing worker, authenticated result-worker-8ddf57c1-96b4-4a60-ae8b-b24404e9ce2f, terminalized once, and was acknowledged. No pending proposal remains and status derives reviewModelingResult, but the failed redundant coordinator receipt cannot currently seed that review continuation. The active source cut lets only the exact fulfilled typed result bound through that receipt/grant/link derive reviewModelingResult; 31 resident, 9 swarm, and one focused lifecycle test pass. The cut is uncommitted and unpackaged. Yggdrasil never builds.
|
latest_phase: Exact 2e1ccaf7 recovers internal typed review after a failed coordinator receipt and is pushed, packaged, inspected, and published as release sha256-243899f155e06e043de4c0d0ec7c6a0ab80296a6deb7ba83229b032555b06f29 with witness sha256-c7b8dc0399455173f1856bda9cbbe6353f58f4890c7d3f8dc89606921865cd70. Changed Cargo was 1m24s and identical warm replay 0.88s. c007e stopped both owners exit0; c007f started exact/authenticated/braked at revision 302. Live release falsified the cut's test-only assumption that a pre-acceptance Modeling runtime link already carries runtime_result_id: that field is written only during acceptance, so resident failed closed exit1 before consequence. The cognitive brake was immediately reengaged and Heartbeat remains alive. The corrected source requires the immutable exact Modeling job link plus runtime-owned typed fulfillment while explicitly proving result ID remains absent before review. This correction is tested but uncommitted/unpackaged. Yggdrasil never builds.
|
||||||
operational_state:
|
operational_state:
|
||||||
local_worktree: exact_acd91e6e_imagination_runtime_owned_causality_live_accepted
|
local_worktree: exact_acd91e6e_imagination_runtime_owned_causality_live_accepted
|
||||||
operator_wireguard: restored
|
operator_wireguard: restored
|
||||||
|
|
@ -70,7 +70,7 @@ current_status:
|
||||||
yggdrasil_epiphany_service_contract: repaired_in_gamecult_ops_812b427_not_installed
|
yggdrasil_epiphany_service_contract: repaired_in_gamecult_ops_812b427_not_installed
|
||||||
resident_physiology: c006_exact_c9a2a979_stopped_cleanly_braked_revision_34_after_36700_pulse_endurance
|
resident_physiology: c006_exact_c9a2a979_stopped_cleanly_braked_revision_34_after_36700_pulse_endurance
|
||||||
unresolved_authority: Coordinator receipt, Heartbeat pulse-artifact, genuine-idle and active resource plateaus, exact-grant terminality, restart-persistent cooldown refusal, schedule/action issuance cardinality, runtime-owned typed fulfillment, all three packaged fulfilled-before-receipt lanes, genuine packaged Imagination option generation, narrow model-generation retention, published model-turn JSON ingress, semantic logical/physical retention, Persona conversation retention, stable Starfire firewall ownership, completed model-adapter session archival, normal coordinator lifecycle opening/error closure/legacy repair/archival, co-resident resident lifecycle retention, authenticated outer-worker attempt retention, deployed supervisor/projector journald ownership, Docker named-volume atomic snapshot visibility, and deterministic incremental release construction are accepted. Starfire's Docker Desktop F: bind is rejected for mutable authority after an exact packaged lockless reader observed an empty published snapshot during writer interruption. Historical migrated semantic attempts without recorded physical namespace remain durable and non-retirable. One completed Discord consequence remains blocked by the absent Yggdrasil credential. Exact aa841873 also makes legacy coordinator repair one full-snapshot transaction so a later hostile family cannot leave an earlier partial repair.
|
unresolved_authority: Coordinator receipt, Heartbeat pulse-artifact, genuine-idle and active resource plateaus, exact-grant terminality, restart-persistent cooldown refusal, schedule/action issuance cardinality, runtime-owned typed fulfillment, all three packaged fulfilled-before-receipt lanes, genuine packaged Imagination option generation, narrow model-generation retention, published model-turn JSON ingress, semantic logical/physical retention, Persona conversation retention, stable Starfire firewall ownership, completed model-adapter session archival, normal coordinator lifecycle opening/error closure/legacy repair/archival, co-resident resident lifecycle retention, authenticated outer-worker attempt retention, deployed supervisor/projector journald ownership, Docker named-volume atomic snapshot visibility, and deterministic incremental release construction are accepted. Starfire's Docker Desktop F: bind is rejected for mutable authority after an exact packaged lockless reader observed an empty published snapshot during writer interruption. Historical migrated semantic attempts without recorded physical namespace remain durable and non-retirable. One completed Discord consequence remains blocked by the absent Yggdrasil credential. Exact aa841873 also makes legacy coordinator repair one full-snapshot transaction so a later hostile family cannot leave an earlier partial repair.
|
||||||
next_action: Keep exact bc0806b5 c007e braked at resident revision 302. Review the failed-receipt typed-fulfillment continuation cut, commit/push, package it through the stable Starfire forge, and require exact inspection plus identical warm replay. Restart only onto that authenticated body. Release one grant and prove result-worker-8ddf57c1-96b4-4a60-ae8b-b24404e9ce2f is accepted exactly once without worker relaunch or Hands/public consequence, then inspect the next typed action and reengage the brake. Yggdrasil never builds.
|
next_action: Keep c007f's cognitive brake engaged; Heartbeat is live and resident exact 2e1ccaf7 is stopped after fail-closed exit1. Commit/push and package the corrected pre-acceptance job-link authority, then restart resident/Heartbeat only onto the authenticated body. Release one grant and prove result-worker-8ddf57c1-96b4-4a60-ae8b-b24404e9ce2f is accepted exactly once without worker relaunch or Hands/public consequence. Inspect the stale launchModeling continuation before allowing it to run; reengage the brake after the boundary. Yggdrasil never builds.
|
||||||
|
|
||||||
active_subgoals:
|
active_subgoals:
|
||||||
- Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.
|
- Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.
|
||||||
|
|
|
||||||
Reference in a new issue