Repository navigation
Conversation
#3380 landed from a base older than #3383 and #3384, so its new test still read and aged the reply draft in `status.json`, which #3384 moved to `stream.json`, never imported `write_record`, and sent a `turn/started` without the `status` #3383's schema check requires. The test now reads and ages the draft in `stream.json` and sends a schema-valid `turn/started`; its assertions are unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
reviewed
Oct 21, 2026
Owner
Author
|
Superseded by #3427, which landed the same repair. > This was written by Claude Code on behalf of max-sixty |
max-sixty
added a commit
that referenced
this pull request
Oct 21, 2026
Keep Web Awesome's controls while removing Leaf-owned integration machinery. Load its public theme through the existing CSS build, map Leaf's palette at the document root so upstream derived tokens use it, and deliver token/part overrides through the existing shared document/shadow stylesheet. This removes the theme parser, virtual JavaScript theme module and dynamic stylesheet registry. Replace the custom transition engine and AST rewriting with a small guard for the reproduced select reopening race. Tooltip transitions remain unmodified, preserving the completion events Web Awesome's copy button consumes. Upstream keeps animation and public API ownership; unused Boolean cancellation settlement is removed. Keep the existing documentation-comment patch that prevents reconnecting controls from accumulating nodes. Also remove the partial schema-completeness interpreter from exact-format record reads and unused persisted dependency edges from revision resources. Current-format malformed records now fail at use rather than silently reading as absent; resource capture still follows the full dependency closure. Validation: browser build and `pnpm run check`; changed-file lint; focused Python model/process coverage; focused normal/reduced-motion select reopening, root palette customization, light/dark menu contrast, typography and focus in the document and declared shadows. An independent browser task exercised copy and command search. Matched menu and screenshot-control captures are byte-identical. Vendor/generated line changes are excluded from maintained-code savings. The joined-turn Codex fixture failures and its undefined `write_record` are inherited: the exact failing case reproduces on base `80bb050e3`, with its original record reader, and appears in [main CI](https://github.com/max-sixty/leaf/actions/runs/39542395592). Existing repairs are tracked in [#3431](#3431) and [#3427](#3427). > _This was written by Codex on behalf of max-sixty_
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.
Main's
testjob fails intests/model/test_codex_app_server.py::test_a_turn_that_shares_a_user_message_leaves_the_delivery_owed(all four cases) and lint flagsF821 write_record(run).The cause is a semantic conflict: #3380 landed from a base older than #3383 and #3384. Its new test still read and aged the reply draft in
status.json, which #3384 moved tostream.json(henceKeyError: 'status.json'), relied on awrite_recordimport the file never had, and sent aturn/startedwithout thestatusfield #3383's schema check requires (the teardown errors).The test now reads and ages the draft in
stream.jsonand sends a schema-validturn/started. Its assertions are unchanged, so it still checks what #3380 protects: a delivery turn that shares a user message holds its reservation mid-turn with nothing owed at Stop (also after a dropped connection and an aged draft), posts none of the shared answer, and leaves the update owed (interrupted) or offered again as a correction (completed). Withcodex._user_inputstubbed toFalse, all four cases fail.