fix: recover work from exact saved history before opening model sessions #384
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/read-retained-assessment-history"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reproduced installed cold-start Harness admitting no continuation because completionEvidence only reads s.session, which does not exist yet after restart. Saved conversation evidence is therefore incorrectly missing to the independent supervisor. New read-only runtime API reads exact provider binding or native resume branch without opening models, creating/binding sessions, repairing/migrating disk files, or choosing older substitutes. Host actual loaded Core facts are process-started, not task-completion proof. Newly available evidence/build epoch allows ONE independent boot reassessment before old backoff, preserving counters/deadlines/IDs; durable fingerprint prevents unchanged-restart loops.
Build and full 2097 passed,1 skipped,0 failed before integrating main #382/#383; independent final review APPROVE. Tests: actual resumed work without user nudge; exact provider binding; newer unrelated history exclusion; missing history no writes; legacy file no migration/newline repair; UTF-8/header bounds; corrupt/incomplete evidence; same-epoch backoff preserved. Existing worker/stop/pause/legacy/effect guards unchanged. CI must validate this integrated head.
Evidence: development-evidence/restart-retained-context-2026-11-13.md. Applies common Core to entire fleet. Live activation follows green exact-head CI; no installed-agent full test gate.
Live activation evidence: all five native agents authenticated APIs report active Core
2deb8d9089(includes #384 history read and #386 narrow old-record repair). Shikamaru retained Matrix task $RdWgEitQp1WtQcUFN2TJm1Ljmelf4yg-AllqKcs48DY changed from permanent unresolved/inconclusive depth7 to independently admitted work at depth11, same ID, with no new productive Matrix instruction or ledger edit. SDK receipts show three actual post-restart continuation turns with4,2,2 tool results at03:35:47/03:36:36/03:39:04 UTC. Proof paths: automatic-continuation-live-proof.json and retained-task-tool-proof.json under persistent lifecycle workspace.Separate live proofs: uncancelled independent worker probes overlapped27.7196s (two SDK bash toolResult JSON timestamps, not model prose); explicit stop retained stopped/depth0 after restart; Peter active with missing retired Web module and unchanged stale paths, warning only. Kubernetes fleet update to published release271 is proceeding through normal GitOps promotion; no claim all containers already selected this revision.