Skip to content

Fix joined Codex turn test for the current stream record - #3427

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-39542395592
Oct 21, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-39542395592

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The main CI run failed four new joined-turn cases from #3380 because their age check still read the retired status.json record. Its mock turn/started notification also omitted the schema-required status, and Ruff found the test's write_record call unimported. This PR reads and ages the draft in stream.json, imports its writer, and sends a valid turn notification. The delivery behavior and the test's assertions stay the same.

All four affected cases pass locally, as does the Ruff hook. The run's separate detached-touch failure is covered by merged #3419; that exact browser case passes on current main.

@leaf-agent
leaf-agent merged commit 8b5055c into main Oct 21, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39542395592 branch October 21, 2026 05:36
max-sixty added a commit that referenced this pull request Oct 21, 2026
…3433)

How It Works now serves as a detailed specification with ten focused
topics, an opening walkthrough, and links between each contract’s owning
section. The reorganization preserves the command, state, revision,
layout, navigation, and runtime detail while making the path through it
clearer.

The page adds isolated choice and board examples with activity feeds,
aligns the layout table with four matching drawings, and replaces
overflowing flows with diagrams that reflow on narrow screens. The final
editorial pass removes diagrams that repeat the browser-state flow or
command list and consolidates repeated receipt, loading, and obligation
explanations. Current delivery and storage contracts from main are
retained.

Validation: four focused product-document tests; internal anchors and
unique IDs; Prettier and diff checks; the Leaf render gate; independent
full-page coherence/readability review at desktop and 390px phone
widths. Earlier interaction checks cover sample choices, board moves,
Undo, and CSS precedence controls. Changes are confined to the
documentation page.

The full CI job encountered the same Codex App Server test and Ruff
failures as [main run
39542395592](https://github.com/max-sixty/leaf/actions/runs/39542395592).
[PR #3427](#3427) has already
landed their repair on main; this documentation-only change does not
touch those tests. The automated review approved the exact PR head.

> _This was written by Codex on behalf of max-sixty_
max-sixty added a commit that referenced this pull request Oct 21, 2026
Draw lf-tally through LeafElement, so the shared lifecycle follows its
obligation reading and settles presentation. Lit fills the dynamic count
slots inside the registry's prepaint structure, replacing the projection
watcher and imperative text writes while keeping one home for the
widget's structure. The retained Next on me button keeps its focus and
navigation behavior across count updates.

Validation: the tally count/navigation/undo journey and phone workspace
landing journey pass, including undo after every obligation is answered.
All 505 runtime tests, pnpm check and source pre-commit checks pass.
Base/candidate startup probes show matching count and geometry with no
layout shifts or console errors.

CI passed 1,927 Python tests; its failures are inherited Codex
test-fixture errors from base 80bb050, already repaired on main by
[#3427](#3427): four shared-turn
cases read status.json instead of stream.json and omit the required turn
status, and Ruff reports the fixture's missing write_record import.
These files are unchanged by this PR. The exact head has automated
review approval.

> _This was written by Codex 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_
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.

1 participant