Skip to content

Name the four owners missing from the ownership lists - #93

Merged
max-sixty merged 1 commit into
mainfrom
docs/name-the-unlisted-owners
Aug 28, 2026
Merged

max-sixty merged 1 commit into
mainfrom
docs/name-the-unlisted-owners

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Aug 28, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

The two ownership lists are how a change finds its module — scripts/CLAUDE.md closes its list with "Do not put domain logic back into interact.py or 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_source and cmd_check, the whole-document static check behind version check. It composes schema, structure, styles, and validation/ — all four of which the list does name — with the standing log, and revisioning imports its SourceCheck. It is the largest unlisted module in the package.
  • runtime/chrome-style.js (1261 lines) — the comment layer's private stylesheet. CLAUDE.md describes the thing ("The runtime's private stylesheet is one @scope rooted at .lf-chrome"), and theme.css and view-continuity.js both 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_events and cmd_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 "Within render_gate/" paragraph names the other six modules in the package.

Found by checking every module under assets/runtime/ and scripts/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 the runtime/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-commit passes on both files.

@max-sixty
max-sixty merged commit 20be571 into main Aug 28, 2026
4 checks passed
@max-sixty
max-sixty deleted the docs/name-the-unlisted-owners branch August 28, 2026 15:30
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]>
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.

2 participants