Repository navigation
Name the four owners missing from the ownership lists - #93
Merged
Merged
Conversation
This was referenced Aug 28, 2026
max-sixty
pushed a commit
that referenced
this pull request
Sep 10, 2026
…ule (#543) `scripts/CLAUDE.md` tells a session that a clean `git status` after `scripts/vendor.py <bundle>` is the check that a bundle still matches the script, and that the check holds only where every fetched input is pinned. It then sorts the bundles into those two classes — and two of the seven are in neither, so a session rebuilding `floating-ui` or `mcp-app` has no answer for whether a diff it sees is drift to fix or an upstream patch to take. Each belongs in a class the paragraph already describes: - `floating-ui` reproduces. `@floating-ui/dom`, `@floating-ui/core`, and `@floating-ui/utils` are all in `PINS`, and that closure is complete: `dom` depends on `core` and `utils`, `core` on `utils`, `utils` on nothing. Rebuilding it left `git status` clean. - `mcp-app` fetches an input `PINS` does not name. `@modelcontextprotocol/[email protected]` declares `@standard-schema/spec ^1.1.0`, which npm's resolver picks, so the bundle sits with `plot` and `pierre`. It reproduced when I rebuilt it today — which is exactly the reading the paragraph exists to keep a session from relying on. This is drift rather than a deliberate omission. The paragraph dates from `c7b37062` (2026-08-30); `mcp-app` landed in #188 on 2026-09-01 and `floating-ui` in #537 last night, and #533 — the most recent commit to touch the paragraph — added `jsdiff` to it, so it is meant to be kept current. The test follows the shape this repo already uses for instruction lists (#93, #105, #331, #496): it reads the bundle names out of `vendor.py`'s `BUILDS` and `COPIES` rather than restating them, and asserts each is named in that one paragraph. On `main` it fails with `unplaced in scripts/CLAUDE.md: ['floating-ui', 'mcp-app']`. What it deliberately does not check is *which* class a bundle is placed in — deciding that means resolving each package's dependency graph, which is a network call this suite should not make. A name in the wrong class still needs a reader to catch; a name that is absent no longer does. <details><summary>Verification</summary> - `uv run pytest tests/test_interact_layer.py` — 167 passed, 6 skipped. - The new case alone, with `scripts/CLAUDE.md` reverted to `main`'s text: `AssertionError: unplaced in scripts/CLAUDE.md: ['floating-ui', 'mcp-app']`. - `scripts/vendor.py floating-ui` and `scripts/vendor.py mcp-app` each left `git status` clean. - `npm view @floating-ui/[email protected] dependencies` → `{ '@floating-ui/core': '^1.8.0', '@floating-ui/utils': '^0.2.12' }`; `@floating-ui/[email protected]` → `{ '@floating-ui/utils': '^0.2.12' }`; `@floating-ui/[email protected]` → none; `@modelcontextprotocol/[email protected]` → `{ '@standard-schema/spec': '^1.1.0' }`. </details> 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.
Problem
The two ownership lists are how a change finds its module —
scripts/CLAUDE.mdcloses its list with "Do not put domain logic back intointeract.pyor branch across these owners in the CLI", which only binds for an owner the list names. Four owners are missing from them, three of them substantial:checking(567 lines) —check_sourceandcmd_check, the whole-document static check behindversion check. It composesschema,structure,styles, andvalidation/— all four of which the list does name — with the standing log, andrevisioningimports itsSourceCheck. It is the largest unlisted module in the package.runtime/chrome-style.js(1261 lines) — the comment layer's private stylesheet.CLAUDE.mddescribes the thing ("The runtime's private stylesheet is one@scoperooted at.lf-chrome"), andtheme.cssandview-continuity.jsboth refer readers to the file by name, but the runtime ownership list — the file's own index of who owns what — skips it.transcript(196 lines) —cmd_eventsandcmd_transcript, the raw event stream and Markdown transcript the agent reads. Its sibling reading,agent_state, is listed.render_gate/models— the values passed between render-gate phases, added by ac8fe9e yesterday. The "Withinrender_gate/" paragraph names the other six modules in the package.Found by checking every module under
assets/runtime/andscripts/leaf/against the list that is supposed to name it. Nothing else is missing: today's three new runtime modules (narrowing.js,text-alignment.js,view-continuity.js) are all listed, and theruntime/keyboard/modules are covered by the directory's own entry.Fix
Four entries, in the position each owner's neighbours already occupy. No prose is rewritten; the
render_gate/sentence is reflowed because inserting into it changed the wrap.No test: the repository has no boundary over prose in
CLAUDE.md.pre-commitpasses on both files.