Skip to content

docs(fleet): complete self-contained book for the fleet binary (mdBook + GitHub Pages) #13165

Closed

Description

@dezren39

What

A complete, self-contained documentation book for the fleet binary, in a dedicated folder under pkgs/fleet, mirroring the form of the existing mcpx book (mdBook: book.toml + markdown sources) so the form can be copied for future binaries.

A reader with only the book must be able to understand the binary completely: purpose and architecture, every domain/subcommand/flag with defaults and examples, concept guides (queue lifecycle, placement and remote dispatch, secrets broker semantics, bridge, agent intake, proxy/recovery, Atlas search, gh passthrough), using fleet as a library (the crates and their public APIs), a development guide (including how to add a subcommand and how to add a flag), step-by-step tutorials, and operations/troubleshooting/FAQ/glossary.

Deployment

Static site via GitHub Pages from this repo (GitHub Actions workflow building the book with the same tooling as the mcpx book). Default github.io address only for now; the custom-domain/CNAME step comes later and is documented in the book's deployment chapter, not wired.

Docs-sync rule

The change also wires the "update the book in the same change" rule into the places contributors and agents look (pkgs/fleet agent docs and the book's own development guide), following any equivalent pattern the mcpx book already has.

Acceptance

  • Book builds clean with the exemplar's tooling; internal links checked.
  • Coverage proven against a full recursive dump of the binary's help surface: every command and flag documented.
  • Pages workflow green on main after merge; Pages enabled with source = GitHub Actions (or the single manual step named if permissions block it).

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Complete and verified live.

    Landed: PR #13183 (merge 1d25ed1f8cbbe978d994047594b45764aef888f8) — pkgs/fleet/book/ (55 chapters + SUMMARY), pkgs/fleet/book.toml, pkgs/fleet/docs.nix (flake package fleet-docs, mirroring the mcpx book), build-only .github/workflows/fleet-docs.yml, the DOC-01 extension in pkgs/fleet/README.md, and pkgs/fleet/doc/agents/documentation.md. One fix-forward: PR #13190 (merge 01861f168bfa4d54f5b253a9710c8412ee61788f) — the first combined Pages deploy failed at the fleet staging step because site/ is a read-only Nix store copy; chmod u+w site before staging site/fleet.

    Published: https://developing-today.github.io/code/fleet/ (HTTP 200, deep pages 200; the mcpx book at https://developing-today.github.io/code/ is intact — the fleet book joins the single existing Pages deploy in mcpx-docs.yml rather than deploying separately, since a Pages deployment replaces the whole site). Pages was already enabled for this repo (source: GitHub Actions); no custom domain wired, per plan — the later DNS step is documented in the book's deployment chapter.

    Verification: fleet-docs workflow green on main (run 45155667058); mcpx-docs run 45156805173 green end-to-end (build + stage + publish). Local nix build .#fleet-docs: zero mdBook warnings, 58 HTML files. Coverage audited mechanically against a recursive dump of the binary's help surface: all 169 distinct flags in the dump appear in the book; all 55 SUMMARY chapters exist; all 246 internal links resolve.

    Discrepancies found while writing (all documented in the book as known discrepancies): bridge per-verb --help — filed as #13197; queue complete --queue dead flag + required flags documented as optional — already tracked by #13174; serve role --help behaviour — the resolved outcome of #5488/#5492.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions