Skip to content

Read a claim's turn fields directly wherever a claim is read - #2474

Merged
max-sixty merged 3 commits into
mainfrom
code-quality-survey
Oct 12, 2026
Merged

max-sixty merged 3 commits into
mainfrom
code-quality-survey

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

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.py, delivery.py, presence's wait mark, session.py's wake check and tasks.py still used .get as if a claim might lack them. They now read the fields directly. No behavior changes; test_tasks.py and test_interact_session.py pass.

(This branch also fixed the gallery isolation test's LIVE_ROOT import, which #2469 fixed on main meanwhile; the merge takes main's version.)

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 3 commits October 11, 2026 20:25
#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]>
@max-sixty max-sixty changed the title Fix the gallery isolation test after the address move, and read claim turn fields directly Read a claim's turn fields directly wherever a claim is read Oct 12, 2026
@max-sixty
max-sixty merged commit 48dad7a into main Oct 12, 2026
3 checks passed
@max-sixty
max-sixty deleted the code-quality-survey branch October 12, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants