Skip to content

Drop stale comments, a dead README requirement and an unused test constant - #6646

Merged
leaf-agent merged 2 commits into
mainfrom
cleanup/stale-comments-2026-11-21
Nov 21, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
cleanup/stale-comments-2026-11-21

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Removes text that no longer matches the code, and one unused constant, found in the nightly survey and commit review. No behavior changes.

  • README.md: drops the paragraph saying Leaf needs Claude Code 2.1.196. The install instruction above it already requires 2.1.275, so no reader following it reaches the case that paragraph describes.
  • src/leaf/provenance.py: drops two sentences about pages taken to protocol 43 that keep revisions an earlier Leaf activated. A Leaf serves only pages at its own protocol (now 53), so that case can't reach this code, and root AGENTS.md ("Stage") keeps old-record handling out of the tree.
  • tests/page_scripts/focus_rings.js: drops the paragraph about a joined lf-options carrying log news that stands its ring down. It cites a comment in packages/default/defaults.css that is gone, and no rule in packages/default/styles/ stands an option group's ring down any longer. Without it, the comment's "three answers" count matches the three it lists, where the removed paragraph called a missed case "a fifth way".
  • browser/runtime/floating-panel.js: drops the history clause ("stood in a tinted notice beside the On Me mark until Native-input delivery test fails on main since #5448: the panel's key part moves without input #5642") from the standing-words comment. It names the On Me mark, which Stand the leaf at the panel row's end, in place of the On Me mark #6569 removed from the row, and root AGENTS.md sends history to commit messages. The current rule stays: the version stands in the field's words, and a stance is named in the mode chip.
  • packages/default/widgets/lf-draft.js: the updated() comment cites module-state.md, "Rendering", which doesn't exist. It now cites "The widget controller", the section whose updated() / dressCode example states the rule.
  • tests/model/test_product_page.py: removes ASSETS, which nothing reads.

tests/model/test_product_page.py passes. The rest of the change is comments and prose, so it needs no test.

@leaf-agent
leaf-agent merged commit daf7340 into main Nov 21, 2026
7 checks passed
@leaf-agent
leaf-agent deleted the cleanup/stale-comments-2026-11-21 branch November 21, 2026 06:55
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