Skip to content

docs: make the completeness checklist match the tool, and keep it that way (#1343) - #1357

Closed
lex00 wants to merge 1 commit into
fix/mcp-tool-namespacefrom
docs/checklist-matches-tool
Closed

lex00 wants to merge 1 commit into
fix/mcp-tool-namespacefrom
docs/checklist-matches-tool

Conversation

@lex00

@lex00 lex00 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Closes #1343. Part of #1340. Stacked on #1356 — merge that first.

The gap

The checklist documented 16/16/14 checks. check-lexicon runs 19/14/9.

Seven documented rows describe checks that exist nowhere in the tool:

Tier Documented row
2 default-labels.test.ts exists
2 coverage.test.ts exists
3 import/parser.test.ts exists
3 import/generator.test.ts exists
3 import/roundtrip.test.ts exists
3 exportResources() implemented
3 Ownership marker + owned filter

The last two are the damaging ones. An author reading the checklist would believe live export and ownership marking are evaluated somewhere; the string ownership does not appear in check-lexicon.ts at all.

Two real tier-1 checks were documented nowhere — the foldsAsCall opt-in check (#1044) and the sidebar-reachability check (#1312/#1325).

The fix

Each row's first column is now the check's own name, and check-lexicon-doc-drift.test.ts asserts the two sets are equal per tier and in the same order. Verified it fails on drift in both directions:

- "phantom": [],          + "phantom": ["a phantom check"],
- "undocumented": [],     + "undocumented": ["plugin.test.ts exists"],

A hand-maintained parallel description of a tool drifts. This one had, in both directions at once, and a reviewer had no way to notice.

What isn't lost

The capabilities behind the removed rows are worth having, so a new section names what the tool does not check and links where each belongs — live export, ownership (tracked as #1348), the import/* tests, default-labels.test.ts/coverage.test.ts. It also records the structural point: most checks assert that a file exists rather than that the plugin wires it up, which is why helm ships an unregistered LSP provider and passes (#1342).

Also

Three stale figures in the reference-implementation list, and aws's tier-3 required-names check recorded as failing (6 names, not 30) rather than implied to pass.

Verification

  • 3820 core tests pass
  • 12/12 lexicons at 19/19 tier-1
  • The guard fails on an injected phantom row and on a removed row

🤖 Generated with Claude Code

https://claude.ai/code/session_01Jp6SP7ZiavhoEB1AFuwwoJ

…t way (#1343)

The checklist documented 16/16/14 checks where `check-lexicon` runs 19/14/9.

Seven documented rows described checks that exist nowhere in the tool:
`default-labels.test.ts`, `coverage.test.ts`, the three `import/*` tests,
`exportResources()` implemented, and the ownership marker. The last two are
the damaging ones — an author reading the checklist would believe live export
and ownership marking are verified somewhere, and nothing verifies either.

Two real tier-1 checks were documented nowhere: the `foldsAsCall` opt-in check
(#1044) and the sidebar-reachability check (#1312).

Each row's first column is now the check's own `name`, and a test asserts the
two sets are equal per tier and in the same order. A hand-maintained parallel
description of a tool drifts; this one had, in both directions at once.

The capabilities behind the removed rows are not dropped — a new section names
what the tool does not check and links where each belongs, including that most
checks assert a file exists rather than that the plugin wires it up (#1342).

Also corrects three stale figures in the reference-implementation list, and
records that aws does not pass the tier-3 required-names check (6, not 30).

Refs #1340.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jp6SP7ZiavhoEB1AFuwwoJ
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