Repository navigation
Read a claim's turn fields directly wherever a claim is read - #2474
Merged
Merged
Conversation
#2447 moved the page's address facts, LIVE_ROOT among them, from storage.js to context.js. The site test that checks a contained sample's storage still destructured LIVE_ROOT from storage.js, read undefined, and failed; the test is outside the PR gate's selection, so the move landed with it red. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
readable_claim, which every claim reader goes through, always supplies id, turn, turn_opened and turn_closed. #2458 dropped presence's .get on them; codex, delivery, presence's mark, session's wake check and tasks still read them with .get as if a claim might lack them. No behavior changes. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # tests/test_site.py
leaf-agent
approved these changes
Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
readable_claim, which every claim reader goes through, always suppliesid,turn,turn_openedandturn_closed. #2458 dropped presence's.geton them;codex.py,delivery.py, presence's wait mark,session.py's wake check andtasks.pystill used.getas if a claim might lack them. They now read the fields directly. No behavior changes;test_tasks.pyandtest_interact_session.pypass.(This branch also fixed the gallery isolation test's
LIVE_ROOTimport, which #2469 fixed on main meanwhile; the merge takes main's version.)