Skip to content

docs(mcpx): coverage audit — close the book's gaps against the binary - #13413

Merged
dezren39 merged 1 commit into
mainfrom
mcpx-book-audit
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
mcpx-book-audit

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What this is

The mcpx book existed before the fleet/Atlas/ID books and never had their mechanical coverage proof run against it. This PR runs that audit — the binary built from the surveyed tree (0d29cdad5cf) dumped its full surface, and every dimension was set against the book's text — and closes what it found. The proof itself lands as a new chapter, Coverage: the book against the binary, in the same shape as the other books' proofs. Tracking: #1888 (claim comment posted there; the umbrella stays open). The Pages deploy-structure recommendation is recorded separately on #13264.

Coverage, before → after

dimension surface before after
commands 75 in 6 groups all 75 in the generated parity table; 5 missing from cli.md's prose group tables; skills named nowhere in prose group tables complete; verb-set table added; mcpx help agents documented
verbs 64 forms 11 not literally findable every family's verbs described in cli.md; remainder classified in the coverage chapter (split-cell table form, stats modes, extraction artifacts)
flags 332 in help 215 setting flags all present via their settings; 42 command-local flags absent unchanged by design — the 42 are named as a set in the coverage chapter; their reference is the generated help/man/completions from the same declarations
settings 241 (193 public + 48 internal) 241/241 in the generated inventory unchanged; the chapter corrects the programme census figure of 252 (a Path:-literal count including test files)
env names 246 MCPX_* 246/246 unchanged; TS_AUTHKEY (deliberately not a setting) now documented with the tsnet transport
/v1 routes 94 paths / 109 ops 82 literal + 12 /v1/tools/* under a named template the 12 instances enumerated in http-api.md
library pkg/client, 14 symbols 7 of 14 named; chapter not in SUMMARY, so it never rendered full API chapter with an example from the package's own tests; listed in SUMMARY
internal packages 62 59 named unchanged; the 3 unnamed internal helpers are recorded in the coverage chapter
book inventory 123 files 6 placed chapters missing from SUMMARY (never rendered); 1 file with 3 H1s; 2 dead links all listed (the 8 changes/ fragments are docs-history metadata, by design); H1 discipline clean; links fixed
build .#mcpx-docs 20 warnings (19 unclosed-HTML-tag — prose placeholders vanishing in render) 1 warning: the search-index size notice (12.8 MB, a ~405k-word book)

Notable fixes

  • tsnet had no prose: the identity transport existed as settings + code; remote.md was ssh-only. It now has its section, written from internal/daemon/transport_tsnet.go.
  • One warning fixed at the source: the script.devshell Short string in internal/settings/registry.go carried a bare flake:<ref> into the generated configuration table; the placeholder is backticked in the registry and the table regenerated. This is the PR's only code-line change.
  • De-personalisation (same pass): three living references replaced with neutral role terms (plugins.md, remote.md's ssh example, a quoted home path in compare/register/code-mode.md). The three occurrences in decision record 0005 are dated history and were counted, not rewritten.
  • Deploying this book chapter added: the single Pages deploy, the four books' subpaths and siteUrls, the publish-job split (mcpx docs workflow: Deploy to GitHub Pages fails - artifact not found #10956), and the verify-every-book step. Nothing in the book mentioned GitHub Pages before.
  • A Glossary chapter added, matching the other books' furniture.

Verification

  • nix build .#mcpx-docs — green; warnings: only the search-index size notice; docs-twins gate inside the build passes; new pages render (coverage.html, deploying.html, glossary.html, public-client.html, testing.html, decisions/0007-…html).
  • go test ./internal/settings/ ./internal/refdoc/ — pass (includes TestTheDocumentationListsEverySetting, TestEveryDocumentHasAChapter, TestCommittedRegionsAreCurrent, the effect-coverage check).
  • go test ./internal/cli/ -run TestEveryDispatchedCommandIsDeclared — pass.
  • Audit scripts and outputs kept with the run materials; the survey disagreements that belong to other surfaces (programme census corrections; escaping in the spec-corpus generator) are filed as separate grouped issues, not fixed here.
{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T15:36:39Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Show it working
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

First mechanical coverage audit of the mcpx book (tracking: #1888):
the binary's dumped surface (75 commands, 241 settings, 94 /v1
paths) set against the book's text, dimension by dimension, in
the new coverage chapter.

- SUMMARY: the placed chapters that never rendered are listed now
  (the testing set, the public Go client chapter, decision record
  0007), plus three new chapters (coverage, deploying, glossary),
  each with its compendium manifest entry.
- cli.md: group tables completed (cache, stdio-proxy, plugin,
  hook, want); a verb-set table for the command families;
  `mcpx help agents` documented.
- remote.md: the tsnet transport gets its section (identity
  transport, TS_AUTHKEY, tsnet:// endpoints).
- public-client.md: the full pkg/client API (14 symbols) with an
  example from the package's own tests.
- http-api.md: the twelve /v1/tools/{tool} instances named.
- 19 build warnings fixed: bare placeholder tokens in prose were
  being eaten as HTML tags; one fixed at its source (the
  script.devshell Short string in the settings registry; the
  generated configuration table regenerated).
- story.md: two stray H1s demoted; the programme-prompt link made
  absolute. release-runbook.md: dead tty.md link unlinked.
- Three personal references replaced with neutral role terms
  (plugins.md, remote.md, compare/register/code-mode.md); the
  three in decision record 0005 are dated history and stand.

Gates: .#mcpx-docs builds with only the search-index size notice;
TestCommittedRegionsAreCurrent, TestTheDocumentationListsEverySetting,
TestEveryDocumentHasAChapter and TestEveryDispatchedCommandIsDeclared
all pass.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 861cb089-4834-4499-8692-1ff8a4bb8e6c
Commits

Reviewing files that changed from the base of the PR and between 1310027 and 76276eb.

Files selected for processing: 22

  • pkgs/mcpx/docs/SUMMARY.md
  • pkgs/mcpx/docs/cli.md
  • pkgs/mcpx/docs/compare/matrix-mcpx.md
  • pkgs/mcpx/docs/compare/register/auth.md
  • pkgs/mcpx/docs/compare/register/code-mode.md
  • pkgs/mcpx/docs/compare/register/plugin-apis.md
  • pkgs/mcpx/docs/compendium.manifest.json
  • pkgs/mcpx/docs/configuration.md
  • pkgs/mcpx/docs/coverage.md
  • pkgs/mcpx/docs/deploying.md
  • pkgs/mcpx/docs/glossary.md
  • pkgs/mcpx/docs/http-api.md
  • pkgs/mcpx/docs/plugins.md
  • pkgs/mcpx/docs/protocol.md
  • pkgs/mcpx/docs/public-client.md
  • pkgs/mcpx/docs/release-runbook.md
  • pkgs/mcpx/docs/remote.md
  • pkgs/mcpx/docs/spec/conformance-matrix.md
  • pkgs/mcpx/docs/spec/requirements.md
  • pkgs/mcpx/docs/spec/revision-conflicts.md
  • pkgs/mcpx/docs/story.md
  • pkgs/mcpx/internal/settings/registry.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 merged commit a65cc93 into main Nov 23, 2026
2 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T15:37:50.003809Z 76276eb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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