Load runtime state before frontier repair
This commit is contained in:
parent
80c6ff8841
commit
f7bcb8ed8a
4 changed files with 16 additions and 12 deletions
|
|
@ -30,7 +30,9 @@ fn main() -> Result<()> {
|
|||
let store = PathBuf::from(take("--store")?);
|
||||
let route_id = take("--route-id")?;
|
||||
if command == "inspect-frontier-execution" {
|
||||
let routes = runtime_spine_cache(&store)?.get_all::<RepoFrontierRoute>()?;
|
||||
let mut cache = runtime_spine_cache(&store)?;
|
||||
cache.pull_all_backing_stores()?;
|
||||
let routes = cache.get_all::<RepoFrontierRoute>()?;
|
||||
let available = routes
|
||||
.iter()
|
||||
.map(|route| route.route_id.as_str())
|
||||
|
|
|
|||
|
|
@ -7298,7 +7298,8 @@ pub fn amend_repo_frontier_execution(
|
|||
if chrono::DateTime::parse_from_rfc3339(&amendment.amended_at).is_err() {
|
||||
return Err(anyhow!("execution amendment amended_at must be RFC3339"));
|
||||
}
|
||||
let cache = runtime_spine_cache(store_path)?;
|
||||
let mut cache = runtime_spine_cache(store_path)?;
|
||||
cache.pull_all_backing_stores()?;
|
||||
if cache
|
||||
.get::<RepoFrontierExecutionAmendmentReceipt>(&amendment.amendment_id)?
|
||||
.is_some()
|
||||
|
|
|
|||
|
|
@ -80,14 +80,15 @@ live v53 plan with explicit supervisor command/admission provenance, derive a
|
|||
fresh route, replay the exact Hands receipts against that amended route, and
|
||||
retry Soul. Preserve the original route and every failed Soul launch.
|
||||
|
||||
The repair pass is pushed at `12c8241b`. Its read-only route inspection then
|
||||
found a new live discrepancy before mutation: current source enumerates zero
|
||||
persisted `RepoFrontierRoute` entries in v53, although coordinator status still
|
||||
derives `launchVerification` and the accepted gate artifact cites route
|
||||
The repair pass is pushed at `12c8241b`. The apparent missing-route discrepancy
|
||||
was local to the new inspector and amendment path: each registered the runtime
|
||||
store but omitted `pull_all_backing_stores` before typed reads. After restoring
|
||||
that load, the live typed route decodes exactly as
|
||||
`repo-frontier-route-fb206aaa609246becc17243c0ac5d98d2e70e30fd1dd3351467885ea6ca88dc2`.
|
||||
No amendment was attempted. Trace the route write/schema-catalog path and restore
|
||||
typed route visibility before using the repair command; do not reconstruct
|
||||
authority from the old JSON artifact.
|
||||
Its original action is `propose-native-frontier-route-document-chain`; its
|
||||
original command is the planning sentence beginning `Draft one reviewable
|
||||
frontier-route plan candidate...`, proving the plan-to-Hands authority defect.
|
||||
No amendment has yet been attempted.
|
||||
|
||||
Build iteration is also an active architectural defect: a tiny
|
||||
`runtime_spine.rs` diagnostic edit forced 18-29 second debug rebuilds, while
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ invariants:
|
|||
current_status:
|
||||
summary: Epiphany is a supervised engineering alpha on Starfire, not deployment-ready. Live v53 completed the adopted RepoModel revision 5 Hands consequence through commit 0763fcbe94257eb9adbe92ab814b5a487f65551d. Soul correctly failed closed on a substituted plan command. The repair pass now prevents a mismatched Hands command receipt, projects the exact effective command in the gate, and adds a Mind-owned single-use execution amendment that preserves the original plan and route while atomically emitting review, admission, amendment, and Modeling-projection receipts. Live v53 migration and renewed Soul proof remain next. Persona consequence, retention, endurance, restart closure, and Linux/Yggdrasil cognition remain open.
|
||||
operational_state:
|
||||
local_worktree: live_route_persistence_diagnostic
|
||||
local_worktree: live_route_read_restored_pending_commit
|
||||
operator_wireguard: restored
|
||||
yggdrasil: canonical_small_public_crossing_body
|
||||
starfire: temporary_epiphany_cognition_body
|
||||
|
|
@ -52,8 +52,8 @@ current_status:
|
|||
bifrost_feedback_crossing: authenticated_transport_only
|
||||
yggdrasil_epiphany_services: absent
|
||||
resident_physiology: heartbeat_and_self_running
|
||||
unresolved_authority: The active v53 route still contains the original non-executable plan command and remains fail-closed. Commit 12c8241b provides a locally verified typed repair, but its read-only inspector sees zero persisted RepoFrontierRoute entries in the live store even though operator-safe coordinator state still derives launchVerification and historical gate artifacts cite route fb206aaa. No live mutation was attempted. Determine whether route authority was only captured in coordinator state, lost from the CultCache schema catalog, or made invisible by schema evolution before repairing v53. Exact HEAD packaging remains required. The adopted Mind decision also carries a model-supplied 2025 timestamp; timestamp ownership remains a separate provenance audit item.
|
||||
next_action: Trace RepoFrontierRoute persistence from select_and_commit_repo_frontier_route through the runtime store and schema catalog. Restore a typed current-route read path without reconstructing authority from display artifacts. Only then use the Mind repair CLI, derive a fresh route, replay exact Hands evidence, and retry Soul. Separately map and split the monolithic epiphany-core runtime spine/build graph; focused tests for this pass each required 64-73 seconds of compilation while execution took under one second.
|
||||
unresolved_authority: The active v53 route still contains the original non-executable plan command and remains fail-closed. The apparent missing-route discrepancy was an inspector/amendment defect: both registered the runtime store but omitted pull_all_backing_stores before typed reads. With the load restored, exact route fb206aaa decodes and proves the original action and command are both planning prose, not an executable consequence. No live mutation has yet occurred. Exact HEAD packaging remains required. The adopted Mind decision also carries a model-supplied 2025 timestamp; timestamp ownership remains a separate provenance audit item.
|
||||
next_action: Commit and push the runtime-store load correction, then use the typed Mind repair CLI to amend live route fb206aaa with authenticated supervisor provenance and the exact successful verification command. Derive a fresh route, replay exact Hands evidence, and retry Soul. Separately map and split the monolithic epiphany-core runtime spine/build graph.
|
||||
|
||||
active_subgoals:
|
||||
- Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.
|
||||
|
|
|
|||
Reference in a new issue