Repository navigation
Name the form, not a bundled widget, in four sentences #6549 missed - #6577
Merged
Merged
Conversation
Root AGENTS.md, "Keep the layer open", says a shipped instruction that tells an author what to use names the form, and a package's widget only as an example or in markup. Four sentences still told the author to use a named default-package widget: the kernel registry's `table` entry (`lf-options` for alternatives) and code block entry (`lf-code` for a walkthrough), `live-samples.md` (`lf-sample` for an isolated page) and `module-state.md` (`lf-code` for a snapshot). Each now names the form, and the page's vocabulary says which widget provides it. Bundled packages' own guidance still names other packages' widgets as directions, such as timeline's "use `lf-trace` for a recorded browser journey". That is left for a separate decision.
leaf-agent
previously approved these changes
Nov 20, 2026
…ctions # Conflicts: # browser/registry.json # skills/leaf/references/module-state.md
leaf-agent
approved these changes
Nov 27, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The description says the table and code-block entries are in the kernel registry, but they're in browser/registry.json. Root AGENTS.md treats that file and browser/runtime/kernel-registry.json as two separate registries, and the description becomes main's commit message, so it should name the right file.
max-sixty
added a commit
that referenced
this pull request
Nov 27, 2026
The `lf-timeline` description told authors to use `lf-trace` for a recorded browser journey and `lf-motion` for continuous playback. Both live in other packages (playwright, motion), so a page that selects timeline without them read a pointer to a widget its vocabulary doesn't offer. The sentence now names each form, and the page's vocabulary says which widget, if any, provides it. Root AGENTS.md, "Keep the layer open", lets a package's own guidance name any widget, so this is a choice for this entry rather than a rule it now meets. Follows #6577, which made the same change in four kernel sentences. Max asked for it. Pre-commit and the registry and vocabulary model tests pass. > _This was written by Claude Code on behalf of max-sixty_
leaf-agent
added a commit
that referenced
this pull request
Nov 28, 2026
…es (#7490) Three sentences in `skills/leaf/references/authoring-on-me.md` still sent the author to particular bundled widgets: the `lf-options`/`lf-option` instructions, the `lf-board` instructions, and a link to the playground package's author guide. Root `AGENTS.md`, "Keep the layer open", has Leaf's own instructions name the form and leave the widget to the page's vocabulary, so a page whose packages provide another choice, board or playground widget isn't pointed at the bundled one. Each sentence now names the form instead. This finishes the sweep that #6549 and #6577 did. Not scored, for the same reason #6577 gives: #6549 scored this rewording with no regression. The model tests in `tests/model/test_interact_layer.py` that read the shipped references pass. Found in the nightly survey. Co-authored-by: leaf-agent <[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.
Four shipped sentences still told an author to use a named default-package widget, which root
AGENTS.md, "Keep the layer open", rules out: an instruction names the form, and a package's widget only as an example or in markup. They are the kernel registry'stableentry (lf-optionsfor alternatives the user picks between), its code-block entry (lf-codefor a walkthrough with numbered lines),live-samples.md(lf-samplefor an isolated live page) andmodule-state.md(lf-codefor a snapshot that travels with the page). Each now names the form, and the page's vocabulary says which widget provides it. A Codex review of #6576 found the two references, and a sweep of the kernel registry found the other two.Bundled packages' own guidance still names other packages' widgets in about a dozen places, such as timeline's "use
lf-tracefor a recorded browser journey", and stays as it is: a package's guidance is one author's advice, not the central authority the rule is about.Not scored: #6549 scored this same rewording across 12 cases with no regression, and these four sentences are the last clauses of their entries. Tests: pre-commit, and the model tests that read the vocabulary and page instructions (186 passed).