Live-to-Final: prove historical hydration and fence terminal retry ownership (#6451)

* test: add historical hydration lifecycle proof

* fix: retry anchor persistence after terminal app errors

* fix: fence deferred anchor settlement ownership

* test: cover deferred anchor retry ownership

* fix: preserve terminal anchor retry across refresh

* fix: bind terminal anchor retry to turn owner

---------

Co-authored-by: Frank Song <franksong2702@gmail.com>
This commit is contained in:
Frank SongandFrank Song authored and GitHub committed 2026-07-31 11:04:40 -07:00
1 parent dd7f6ac318
commit 89023eb191
8 files changed
+597 -17

No files matched your search

@@ -866,7 +866,7 @@ function _projectLiveAnchorActivityScene(){{
}}
function _completeSettledAnchorSceneForTurn(messages,index,scene){{ return scene; }}
function _persistSettledAnchorScene(){{ persisted+=1; }}
function _attachProjectedAnchorSceneToLastAssistant(messages){{{attach_scene}}}
function _attachProjectedAnchorSceneToLastAssistant(messages,targetMessage=null,targetIndex=null){{{attach_scene}}}
const messages=[{{role:'assistant',content:'final answer'}}];
const renderedWorklog=_attachProjectedAnchorSceneToLastAssistant(messages);
console.log(JSON.stringify({{