GeezerVison is showing github.com — docs(mcpx): define the compendium structure and map every document to a chapter (#1867) by dezren39 · Pull Request #2482 · developing-today/code
Conversation
dezren39
commented
Oct 30, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Part of #1867 (level-3 tracker: #1907). Structure half of the issue; the catalogue's first entries are a follow-up.
What this adds
docs/compendium.md — the compendium's structure:
- the eleven chapters in order, from the issue's proposed order, each with its source (file or directory:
docs/decisions/, docs/spec/, docs/compare/, docs/audit/, docs/catalogue/ — a generated navigation therefore has to accept a directory, which is now concrete rather than hypothetical);
- Approach C recorded with its constraints: source root
docs/, README.md stays the symlink to docs/story.md, <!-- table-of-contents-marker --> stays, one home per document, and no file moves (so internal/settings/docs_test.go and every relative link in story.md are untouched);
- the seven documents the 2026-09-30 inventory never saw (
archive, environment, git-discovery, in-name-only, runtimes, schema-validation, work-strategies) plus the four new directories, each with the chapter it lands in;
- the catalogue chapter's structure — source, five section pages, and the generated-facts approach C (snapshot committed by a refresh script, nothing fetched at docs build time) so the follow-up does not re-argue it;
- answers to the six open questions on mcpx docs: compendium structure, migrating the existing design docs, and a catalogue of MCP servers, resources, indexes and projects #1867, with Bump build/buck/preludes/buck2-prelude from
3a02ea3 to 4371899 #6 (stale facts in living documents) named as a separate small fix rather than folded in here.
docs/compendium.manifest.json — the mapping itself: all 97 markdown files under pkgs/mcpx, each with a chapter and role (chapter-source, chapter-index, symlink, included, not-compendium) or an explicit reason for having none. docs/ideas.md and the twelve plugin skill files are the not-compendium cases that needed an argument rather than a shrug.
internal/settings/compendium_test.go — keeps the manifest true to the tree: a new markdown file that nobody placed fails the test and is named; a placement pointing at a deleted file fails; a chapter outside the eleven fails; an entry without a reason fails.
Why a test
A hand-maintained list of documents is wrong the first time someone adds one and does not think about the book — and nothing notices, so the page is simply absent. Checking the list against the tree is the only part of this that cannot rot.
Verified
go test ./internal/settings/ -count=1 — pass (including the new test, and the existing docs/configuration.md test).
test -L README.md && readlink README.md → docs/story.md — pass; table-of-contents-marker still present in story.md.
- The new test was confirmed to fail on an unplaced file: it named
docs/compendium.md before that page was added to the manifest.
Not in this PR
- Catalogue entries and the refresh script (follow-up on the queue).
- Open question 2's file moves (
ASSESSMENT.md, OPENCODE-V2.md into docs/) and question 6's stale-fact fixes — both need link edits, kept out so this reviews as a structure.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
… a chapter (#1867)
The compendium is level 3 of the book, and #1867 asks for its structure
before its pages: which chapters exist, which file is the source of each,
and how a document becomes a page without breaking the repository.
- docs/compendium.md: the eleven chapters in order, Approach C (the docs
are the book source, navigation generated) with the symlink and
story.md/TOC-marker constraints it has to keep, and answers to the six
open questions on #1867.
- docs/compendium.manifest.json: every one of the 97 markdown files under
pkgs/mcpx, with a chapter or a stated reason for having none. Chapters
take a directory as a source, with its README as the chapter index.
- internal/settings/compendium_test.go: walks the tree and fails when a
document is unplaced, a placement names a file that is gone, a chapter
is not one of the eleven, or an entry loses its reason.
The catalogue chapter is defined (source, sections, generated-facts
approach C) and its entries are left to a follow-up, so this reviews as a
structure.
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 42 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:
b099d8f0-af39-4d6d-a158-711ac0d83e86
Commits
-
Reviewing files that changed from the base of the PR and between 42aa2c3 and 362f7e0.
Files selected for processing: 3
-
pkgs/mcpx/docs/compendium.manifest.json
pkgs/mcpx/docs/compendium.md
pkgs/mcpx/internal/settings/compendium_test.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
-
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-10-30T00:47:43.470956Z |
362f7e0 |
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 362f7e0133
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Comment on lines
+133
to
+134
|
|
case ".git", "node_modules", "testdata":
|
|
|
return filepath.SkipDir
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exclude vendored dependencies from the document inventory
During the Nix build, buildGoModule copies dependencies into vendor/, so this traversal treats third-party Markdown files as unplaced mcpx documentation and fails the settings tests. This blocks the package's check phase in pkgs/mcpx/package.nix, which runs all tested packages. The neighboring envscan_test.go and consumed_test.go explicitly exclude vendor for this build environment. The new test passes against the checkout but fails when a representative vendor/gopkg.in/yaml.v3/README.md is present. Add vendor to the skipped directories rather than requiring dependency documentation in the compendium manifest.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
| 4 | Protocol | `docs/protocol.md` + `docs/spec/` (directory) | `protocol.md` is the design and the entry point; `spec/README.md` is the chapter index for the records under it: what each revision asks of each side, what mcpx sends, and how it is measured |
|
|
|
| 5 | Build and packaging | `docs/container.md`, `dependencies.md` | what the binary and the image are made of, and what they deliberately are not |
|
|
|
| 6 | Proposed | `docs/proposals.md` | open designs, badged `proposed`. A reader deciding whether mcpx will do something next starts here |
|
|
|
| 7 | Catalogue | `docs/catalogue/` (directory) | things outside mcpx: MCP servers, resources, indexes and registries, URLs, projects. Structure below; the entries are seeded by the follow-up task |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the planned catalogue references pass the existing link guard
The existing TestEveryDocumentationLinkResolves treats backticked repository paths as references that must exist, but docs/catalogue/ is deferred to a follow-up and is absent from the repository-wide file search. Running that test in internal/defaults fails on both this reference and the identical one at line 113. Consequently, the go test ./... step in .github/workflows/mcpx.yml fails even in a clean, non-vendored checkout. Include a tracked catalogue scaffold or express both planned references without triggering the existing-path check.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 30, 2026
This was referenced Nov 16, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|