Skip to content

Point stale comments at the rules and functions they now mean - #5624

Merged
leaf-agent merged 1 commit into
mainfrom
nightly/stale-pointers-after-previews
Nov 7, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
nightly/stale-pointers-after-previews

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Comments, docstrings and one note that point at names the code no longer has. Each now names the rule or function it means. Nothing that runs changes.

  • Renamed browser/AGENTS.md sections. floating-panel.js cited "News never moves what the reader is reading", and composing/text-field.js cited "Editing in place" and "Stability". None of these is a heading or rule any more. They now name "News moves what the reader reads only in the thread they are in", "Editing something keeps it where it stood and as it read" and "The page holds still under the user's aim".
  • keyboard/layer-stack.js, nativeModes. The comment counted hint popovers among the modes, but since Pointing reads; pressing acts: one owner previews every control #5614 pushNativeLayer returns null for popover="hint", so no hint popover ever joins the stack. The module header already says so.
  • Functions that were removed or never existed:
  • packages/diff/widget-shadow.css. Two z-index comments gave the full-name path box as their reason, and Pointing reads; pressing acts: one owner previews every control #5614 removed that box. The values stay. The comments now give the stacking they keep: the line numbers sit at 2, the pinned name at 3 and the file's actions at 4.
  • notes/fork-replies.md. It said a forked-replies branch builds the design, and that the fork posts "the reply". forks.py has been on main since Answer a held thread message from a fork of the Claude Code conversation #4892, and since Show the agent's working line from a fork at once, and read On it from the fork's start #5552 the fork posts only the working line. The rest of the note, the research and the unbuilt "fork that takes the work", stays.
  • Smaller fixes:
    • The plans.py docstrings now name the items parameter.
    • The structure.py allocation comment now points at AUTHORED_ALLOCATIONS, which also holds data-height and the page-wide allocations.
    • A runtime test now names tokens.css, where the card widths live.
    • A test comment now names test_admission.py, where Split six more large test modules into packages by subject #3089 moved the named-dependency test.
  • packages/default/styles/sample.css. A trailing comment governing no rule repeated the exhibit rule that options.css states and applies, so it is deleted.

Verification: pre-commit (ruff, prettier, eslint, ty, knip, typos) passes on the changed files, and tests/runtime/comment-placement.test.mjs passes. No test is added, since nothing that runs changes.

Section titles browser/AGENTS.md renamed, functions #5613 and #5614
removed (rowNotice, the diff path box), a fitter that was never named
fitList, the hint popover #5614 keeps out of the layer stack, a fork
design that landed on main, parameter names plans.py renamed, and a
test that moved in #3089. sample.css drops a second copy of the exhibit
rule options.css states and applies. No behavior changes.
@leaf-agent
leaf-agent merged commit 5007c6e into main Nov 7, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the nightly/stale-pointers-after-previews branch November 7, 2026 06:59
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