Skip to content

docs(#6380 slice 3): API docs for public interfaces (#11190) - #11809

Merged
dezren39 merged 1 commit into
mainfrom
queue/20722-11190-api-docs-slice3
Nov 18, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/20722-11190-api-docs-slice3

Conversation

@dezren39

@dezren39 dezren39 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Closes #11190 (slice 3 of #6380). Documentation only; no API changes.

What

  • pkgs/id/ARCHITECTURE.md: new Public API and Crate Surface section classifying every crate as public surface or internal.
  • rustdoc on the four public items that lacked it: AuthId, Decision, CurrencyOp, and the three download-window constants in backup.rs.
  • pkgs/mcpx/docs/tool-reference.md: MCP tool reference (12 hand-written tools, generated-tool rules, return and error shapes). Registered in compendium.manifest.json and SUMMARY.md.
  • pkgs/fleet/docs/verbs.md: contract for each fleet multicall verb, from the dispatch code.
  • pm-stack/docs/routes.md: aggregator HTTP routes grouped by GET JSON, GET HTML, writes and assets.
  • planning/architecture/README.md: links to all new docs.

Verification

  • Every relative link in the five touched docs resolves (scripted check).
  • compendium.manifest.json parses.
  • Rustdoc edits are doc comments only; compile verification is left to CI.

Known gaps (recorded on #11190, not fixed here)

  • The fleet registry subcommands arrays are stale (queue lists about 16 verbs, the code dispatches 31).
  • interfaces.md and http-api.md say 81 ops; the live count is 93.
  • A comment in server.go says ten hand-written tools; there are 12.
  • compare/matrix-mcpx.md row 19 (isError via mcpx_call) is unverified against the code.

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

- pkgs/id/ARCHITECTURE.md: public-vs-internal crate section
- rustdoc on the four undocumented public items (id-core, id)
- pkgs/mcpx/docs/tool-reference.md: MCP tool surface reference
- pkgs/fleet/docs/verbs.md: fleet multicall verb contracts
- pm-stack/docs/routes.md: aggregator HTTP route reference
- planning/architecture/README.md: link the new docs

Documentation only; no API changes. Gaps are recorded on #11190.
@dezren39
dezren39 requested a review from a team as a code owner November 18, 2026 12:37
@coderabbitai

coderabbitai Bot commented Nov 18, 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 11 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: 5c8a22a7-ec08-4353-abeb-e2dd57c946c3
Commits

Reviewing files that changed from the base of the PR and between 2caf22d and d827693.

Files selected for processing: 11

  • pkgs/fleet/docs/verbs.md
  • pkgs/id/ARCHITECTURE.md
  • pkgs/id/crates/id-core/src/membership/mod.rs
  • pkgs/id/crates/id-core/src/residency.rs
  • pkgs/id/src/backup.rs
  • pkgs/id/src/currency/gateway.rs
  • pkgs/mcpx/docs/SUMMARY.md
  • pkgs/mcpx/docs/compendium.manifest.json
  • pkgs/mcpx/docs/tool-reference.md
  • planning/architecture/README.md
  • pm-stack/docs/routes.md
  • 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 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-18T12:39:54.404395Z d827693 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.

@dezren39
dezren39 merged commit d3d274d into main Nov 18, 2026
1 check passed
@dezren39
dezren39 deleted the queue/20722-11190-api-docs-slice3 branch November 18, 2026 12:39

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

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: d827693c80

ℹ️ 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".

Comment thread pkgs/fleet/docs/verbs.md

| Verb | Contract |
|------|----------|
| `init` | Initialise fleet configuration. |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Describe init as role autostart rather than configuration setup

For operators configuring a new host, fleet init does not initialise configuration: its help explicitly says “Autostart this host's fleet roles if they are not running” (crates/fleet-proxy/src/client.rs, INIT_USAGE). The implementation reads the existing host configuration and can start the proxy and secrets broker; an unknown location instead exits 69 without configuring anything. Document the autostart behavior so readers do not unexpectedly launch services when intending only to initialise configuration.

Useful? React with 👍 / 👎.

dezren39 added a commit that referenced this pull request Nov 18, 2026
docs: follow-ups to #11809 (duplicate rustdoc, fleet init row)
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.

docs(#6380 slice 3): API documentation for public interfaces - id crates, mcpx MCP surface, fleet CLI + pm-stack HTTP

1 participant