Skip to content

Use native state, disclosure and streaming primitives - #3536

Merged
max-sixty merged 3 commits into
mainfrom
codex/align-reply-addresses
Oct 22, 2026
Merged

max-sixty merged 3 commits into
mainfrom
codex/align-reply-addresses

Conversation

@max-sixty

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

Copy link
Copy Markdown
Owner

Remove ten maintained integration mechanisms by giving state notifications, disclosure motion, JSON equality, schema diagnostics and stream framing to their existing dependency or platform owner. Internal state publications transfer ownership instead of cloning values already copied at the public widget boundary.

Diff and call-tree disclosures now use native details and CSS transitions, including CSS interactivity to retire closed controls. Openings and summary keyboard closures are instant; rapid reopening jumps to full size, and other closure routes may animate. The Worker uses native stream piping and eventsource-parser while retaining chunk ownership and content-free model diagnostics.

The change also removes predictive sandbox configuration advice and automatic retries for rejected asset pushes and failed journey startup. Actual permission failures, durable failure receipts and explicit retries remain. Boolean registry predicates consistently mean attribute presence; string predicates use native JSON Schema validation.

The combined diff removes 374 maintained lines: 332 source lines (including comments and blanks), 57 test lines, offset by 15 added documentation lines. Vendor, compiled bundles and lockfile output are excluded.

Validation: pnpm run check, all pre-commit hooks, focused Python/process and developer-tool checks, composed Chromium/Firefox disclosure and reconnect checks, and an animation mutation check. The release-notes startup comparison against current main loads the same 46 requests and 367 fewer bytes through first authoritative presentation, with no console errors or layout shifts.

CI completed with 1946 Python tests passed, 8 skipped and two inherited failures: a disappearing claim directory in the superseded-waiter test, and the saved-record publication-date test calling asyncio.run() while Playwright’s session loop is active. Both exact errors reproduce against unchanged main commit cb60147eb; the affected source is also unchanged in latest main 59a1755f6. All other checks completed, and automated review approved this exact head. Repository guidance permits landing failures not caused by the change.

This was written by Codex on behalf of max-sixty

@max-sixty
max-sixty merged commit cc7db77 into main Oct 22, 2026
3 of 4 checks passed
@max-sixty
max-sixty deleted the codex/align-reply-addresses branch October 22, 2026 06:42
leaf-agent added a commit that referenced this pull request Oct 22, 2026
Native diff and call-tree disclosures wrote `open` even when it already
held the requested value. The browser write watcher reported these
repeated writes across diff navigation and projection tests. This change
checks the current state before each write, retaining the same
disclosure behavior.

The failure appears in [main CI run
39741006770](https://github.com/max-sixty/leaf/actions/runs/39741006770),
after #3536 moved these controls to native details. The changed-file,
call-tree continuity, and phone-header browser cases passed locally, as
did `pnpm run check:browser`.

Co-authored-by: leaf-agent <[email protected]>
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