Repository navigation
docs(mcpx): book chapter for the door Worker at mcpx.security.cab - #13906
Merged
Merged
Conversation
New chapter docs/worker.md covering the mcpx door Worker (#13657): the door chain (Worker gate -> Access bridge door -> sandbox-link tunnel -> bridge proxy on 127.0.0.1:8932 -> daemon), the OAuth 2.1 / machine-bearer auth model, the ?ns= selector semantics enforced at the JSON-RPC layer (conservative / selected / full), the config and secret-name reference, failure shapes, publish/promote operations, and the prioritised order list + dependency map for the door's related issues (#13770, #13754, #13657, #13659, #13697, #13404). Registered in both navigation systems: docs/SUMMARY.md and docs/compendium.manifest.json. The manifest also gains the missing entry for worker/README.md (not-compendium, book chapter is docs/worker.md), which TestEveryDocumentHasAChapter requires. Verified: go test ./internal/settings (full package, incl. TestEveryDocumentHasAChapter), go test ./internal/refdoc -run TestCommittedRegionsAreCurrent, and a local mdbook build with the docs-history preprocessor (only the pre-existing search-index-size warning; worker.html renders with the chapter title). Part of programme #13900 (MCPX-SIDELINE).
|
Warning Review limit reachedYou'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 30 minutes. View limit details
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. |
This was referenced Nov 24, 2026
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.
What
Adds the mcpx book's chapter for the door Worker at mcpx.security.cab (
pkgs/mcpx/worker/, #13657) — the sideline assigned by programme #13900.New file:
pkgs/mcpx/docs/worker.md— what the Worker is, the door chain (client → Worker OAuth/bearer gate → Access service-token bridge door atmcpx-link.security.cab→ sandbox-link tunnel → bridge proxy on127.0.0.1:8932→ daemon), the?ns=enforcement semantics at the JSON-RPC layer (absent = discovery only;?ns=a,b= that set's call/batch;?ns=*= full pass-through; refusal = HTTP 200 with JSON-RPC-32602), the auth model (OAuth 2.1 + PKCE, Access-verified/authorize, machine bearer, KV state), the config/env/secret-name reference (all names grepped fromwrangler.toml,src/index.ts,src/oauth.tsand the home config), failure shapes, publish/promote operations, and a prioritised order list + dependency map for the door's related issues (#13770 → #13754 → #13657 → #13659; #13697 closed; #13404 the mirrored pattern).Registration (both navigation systems)
docs/SUMMARY.md: chapter entry after Reaching a daemon on another machine; the H1 matches the entry text exactly.docs/compendium.manifest.json:docs/worker.mdas chapter-source indesigns, plus the previously missing entry forworker/README.md(not-compendium, mirroringdaemon/README.md; its book chapter is the new file). Without that second entryTestEveryDocumentHasAChaptercannot pass with the Worker in the tree.Verification (laptop worktree, fast local checks per bookwright v5)
go test ./internal/settings/ -count=1— ok (includesTestEveryDocumentHasAChapter)go test ./internal/refdoc/ -run TestCommittedRegionsAreCurrent -count=1— okmdbook buildwith thedocs-historypreprocessor built fromtools/docs-history— builds; only warning is the pre-existing "search index is very large";book/worker.htmlrenders, title correct, escaped placeholders verified in the rendered HTML (an initial double-escaping of<ns>-style tokens was caught in the render and fixed)Disagreements found (for grouped filing by the coordinator)
worker/README.mdhad no compendium manifest entry — the manifest gate fails on it. Fixed in this PR (see above).127.0.0.1:8932and anmcpx-linktunnel ingress, but no unit or ingress defining either exists in the repo's home configuration (only the Desktop Commander bridge on127.0.0.1:8931is defined there). The chapter states this openly.full(?ns=*) profile is transparent — the other profiles buffer and filter responses.{ "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-24T00:46:22Z", "session_id": null, "lane": null, "host": "amd", "worktree": "/home/user/wt-mcpx-worker-book", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/wt-mcpx-worker-book", "repo": "developing-today/code", "branch": "book/mcpx-worker", "sha": "a0c78e1259ae834c918a2fdcc058376370aba539" }, "auth_subject": "oc-code-03", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.