Repository navigation
Reorganize How Leaf works as a coherent, illustrated specification - #3433
Merged
Merged
Conversation
leaf-agent
approved these changes
Oct 21, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 24, 2026
#3433 renamed the How it works tabs Loop and Data to Workflow and State but kept their ids, so the URLs read `#loop` and `#data`. The Pages and Styles tabs had ids `page` and `styling` because their first sections already held `pages` and `styles`. Each tab's id, outline id and in-page links now match its label: `#workflow`, `#pages`, `#styles`, `#state`. The two colliding sections become `pages-parts` and `styles-overrides`, and the Threads page footer links to `#workflow`. The old `#loop` and `#data` URLs no longer select a tab. > _This was written by Claude Code on behalf of max-sixty_ Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
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. PR #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.