Repository navigation
Point agent docs at tokens.css for theme tokens and at knip for import cycles - #5301
Merged
Merged
Conversation
…t cycles #5121 moved every :root token from base.css into browser/styles/tokens.css, and #5222 moved the import-cycle check from dependency-cruiser to knip. The instructions still named the old homes: browser/AGENTS.md for --lf-line, --raise-1..3, the style's tokens and cycle rejection; the developing-leaf glossary for --focus-ring; and the shipped package-themes reference for the default palette and "Where it stands". Pointers only; no rule changes.
# Conflicts: # .claude/skills/developing-leaf/references/glossary.md # browser/AGENTS.md # skills/leaf/references/package-themes.md
max-sixty
approved these changes
Nov 18, 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.
Some agent instructions still point to where things used to live. #5121 moved every
:roottheme token frombrowser/base.cssintobrowser/styles/tokens.css, and #5222 moved the import-cycle check from dependency-cruiser to knip. This PR updates those pointers and changes no rule.browser/AGENTS.md--lf-lineand--raise-1to--raise-3now point tostyles/tokens.css.styles/tokens.css.knip.config.js) with rejecting import cycles..dependency-cruiser.mjshas had no cycle rule since Check import cycles with knip, and turn on ruff's preview F401 and prefer-const #5222.--focus-ringinstyles/tokens.css.skills/leaf/references/package-themes.md: the default palette and the "Where it stands" tokens (--focus-region-gap, etc.) now point tobrowser/styles/tokens.css. An agent writing a theme would otherwise searchbase.cssand find none of them.I grepped both files to confirm each named token is declared in
tokens.cssand not inbase.css.prek runpasses on the changed files.#5299 fixes the same stale pointers in code comments. This PR is separate because these paths need the control-plane owner's approval.