fix: recover work from exact saved history before opening model sessions #384

Merged
karsten merged 2 commits from fix/read-retained-assessment-history into main 2026-11-13 03:16:29 +00:00
Owner

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.

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.
Author
Owner

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.

Live activation evidence: all five native agents authenticated APIs report active Core 2deb8d90892e (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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
harness/core!384
No description provided.