Repository navigation
Stop gating pages on the frame trim and advising a table of contents - #1242
Merged
Merged
Conversation
On 29 agent-written pages, these two readings fired most and were right least. The inset reading failed two pages outright over about 14px of spacing nobody would see, and caught one minor real case in six boxes. The outline advice fired on 12 of 29 pages, every dashboard among them, with no real problem. - trappedMargins and splitEdges leave `version check --render`. They stay as the suite's reading of Leaf's own theme: the corpus sweep (test_page_fixture_renders) now reads both on every shipped example, beside the panel and code-frame tests that already held the layer. test_the_gate_reports_a_trapped_margin_in_the_page_and_not_in_the_layer goes, since the gate no longer reports either half. - missing_outline goes, with the x-outline and x-page-navigation keys it alone read. The lf-toc description still states the default, and its test goes with it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 26, 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.
This removes the two noisiest layout readings from
version check. I measured them on 29 agent-written pages:trappedMargins,splitEdges) fired on 4 pages (6 boxes). One was a real but minor lopsided card. The other five were about 14px of spacing nobody would see, and two of those failed their page outright.What changes
--renderno longer runs the frame-trim probes. They stay as the suite's reading of Leaf's own theme:test_page_fixture_rendersnow reads both on every shipped example, beside the existing panel and code-frame tests. Dropping--lf-block-framefrom.calloutfails the sweep onsecurity-boundary.missing_outlineis removed, along with thex-outlineandx-page-navigationregistry keys, since nothing else read them. Thelf-tocdescription still states the default: two or more headings take one.validation.md, theme comments and--render's success line no longer promise either check.uv run pytest tests: 1435 passed. The two failures under load intest_interact_contract.pypass when run alone.npm run test:runtimepasses.🤖 Generated with Claude Code