Skip to content

Atlas book: full documentation book for the Atlas system (bookwright, /code/atlas/) #13251

Closed

Description

@dezren39

Commission (Drew, 2026-11-23): build the Atlas book, the same way the fleet book was built.

The fleet book (55 chapters, live at https://developing-today.github.io/code/fleet/, tracking #13165) is the form to mirror, via the bookwright skill: survey the subject from ground truth first, fix the chapter skeleton before prose, prove coverage mechanically, zero-warning build as a release gate, and join the repo's ONE existing Pages deploy under the subpath /code/atlas/ (a standalone deploy would wipe the mcpx and fleet books).

Subject: the Atlas system in this repo — the atlas crates and Worker, the ingest scripts and pipelines, the Turso store and its shards, the embedding pipeline (Snowflake Arctic Embed M v2.0), hybrid retrieval, the fleet search consumer surface, the Atlas MCP server, and the REST/CLI access paths.

The book covers the system as it stands AND the forward design (the investigation program on #13241 is the source for the planned half):

Acceptance:

  • Book sources committed beside the subject (mirroring pkgs/fleet/book/ + book.toml placement), built by a Nix package mirroring pkgs/fleet/docs.nix, staged into the existing Pages deploy under /code/atlas/.
  • Live URL verified after deploy; sibling books (mcpx root, /code/fleet/) verified still serving.
  • Coverage proved mechanically and stated in the completion report: every CLI command/flag, config key, MCP tool, REST route, crate entry point, and named design in the survey maps to a chapter or section.
  • Docs-sync wired the way fleet's is: the DOC-01-style contract where Atlas contributors and agents look (package README / agent docs) names the book, so surface changes update it in the same change.
  • Disagreements found between code, help text, and existing docs are filed as issues in the same pass, per the standing file-the-issue rule.
  • This issue closes with the full record; Atlas program — full investigation, next-steps design & build-out (program tracking) #13241 (the program tracking issue) stays open.

Privacy absolutes from the program stand: the book documents the tier system and its enforcement, and publishes no secret-tier content, no credentials, and no private corpus text.

{
  "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-23T12:28:45Z",
    "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)"
  }
}

Activity

  1. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  2. added a commit that references this issue on Nov 23, 2026
  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Complete — the Atlas book is live. Closing on the full record.

    Live: https://developing-today.github.io/code/atlas/ — verified serving 2026-11-23 ~13:00 UTC, including deep pages (e.g. /code/atlas/reference/atlas-search-admin.html). The same deploy was verified not to disturb the neighbours: the mcpx book at https://developing-today.github.io/code/ and the fleet book at https://developing-today.github.io/code/fleet/ both still serve. No custom domain; the book joined the repo's one Pages site under /code/atlas/ exactly as fleet joined under /code/fleet/.

    Delivered — PR #13288, merged 2026-11-23T12:56:22Z as 5835457:

    • 57 chapters, 108,391 words, at pkgs/atlas-search/book/ (+ book/SUMMARY.md = 58 files), config pkgs/atlas-search/book.toml with create-missing = false.
    • pkgs/atlas-search/docs.nix mirroring pkgs/fleet/docs.nix, exposed as .#atlas-docs in lib/default.nix.
    • .github/workflows/atlas-docs.yml (build-only, mirrors fleet-docs.yml); mcpx-docs.yml deploy job now builds atlas-docs with siteUrl /code/atlas/ and stages it into site/atlas in the same deploy. Main-branch runs on the merge commit: atlas docs 45179026624 success; mcpx docs (deploy + publish) 45179026687 success.
    • pkgs/atlas-search/README.md (new): the package front door carrying the DOC-01-style operator/contributor contract naming the book — surface changes update the book in the same change (also stated in the book's "Keeping this book current" chapter).
    • Coverage: the system as it stands (6 binaries, 39 leaf commands, the service job protocol, the Worker REST + MCP surfaces, configuration, schemas, the Python reference) and the forward design (automatic ingest, query planning, layered search on Snowflake Arctic m-v2.0, reranking, the single-user recommender, fleet + ID integration, MCP/programmatic access evolution, the standing evaluation programme, and a roadmap chapter mapping all 38 doc/ design records to their chapters).

    Build verification (laptop route): nix build .#atlas-docs green with zero mdBook warnings, before and after the audit edits; the deploy variant (siteUrl /code/atlas/) builds and its generated 404 page carries the /code/atlas/ base; both workflow files parse as valid YAML with the atlas steps staged before configure-pages.

    Coverage audit (mechanical, against the four ground-truth surveys): 96/96 CLI flags present; 54/54 env/config names; 10/10 Worker routes; 33/33 atlas-core public modules; 8/8 versioned schema/format names; 38/38 design records mapped; 57/57 SUMMARY entries with an existing file whose sole H1 equals the SUMMARY title; every internal link resolved with link text equal to the target chapter's title (0 errors). False positives hand-checked: the single leaf-command "miss" is a survey heading ("fleet search --help"), not a command; the 14 initial env-name misses were internal Rust constant names whose values were documented — the constant names were added at their natural spots and the re-run is clean.

    Corrections made from source during assembly: the MCP gate-token env name is ATLAS_SEARCH_GATE_TOKEN (home/common/mcpx-settings.nix + default.nix), not the ATLAS_SEARCH_MCP_TOKEN three chapters first used; the service's auth/saturation errors are real HTTP 401/429 with codes unauthorized/rate_limited (server.rs), replacing hedged "401-shaped" wording; atlas-search feedback (a real 7th top-level verb) gained its full section and the chapter was retitled to name it.

    Disagreements filed (surveys found ~57 across code/help/docs; deduplicated and grouped per surface): #13278 CLI help vs source (10 items), #13279 CLI family consistency (exit codes, version strings, HOME fallback), #13280 Python↔Rust parity (6), #13281 fleet search surface (4), #13282 Worker README vs code (5), #13283 evaluation record (6), #13284 library internal (11), #13285 repo docs + design archive (11), #13286 toolchain pin (rust-toolchain.toml 1.99.1 vs CI/flake comment/default.nix 1.99.0).

    Privacy: the book documents the sensitivity-tier system and its enforcement; it contains no secret-tier content, no credential values (names only), and no real corpus text — examples are toy examples throughout.

    Programme issue #13241 stays open, as commissioned.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Closed as implemented.

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