Skip to content

docs(atlas): correct the #13284 library disagreement record - #13379

Merged
dezren39 merged 1 commit into
mainfrom
lane-yl-13284
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
lane-yl-13284

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What

The #13284 correction pass (Atlas book survey, #13251): all eleven
library-internal disagreements verified first-hand against main
389be6a6e7bf, and the record corrected wherever it was wrong or
silent. Comment and documentation changes only — no behaviour
change.

Corrections landed here:

  1. Model spellings (point 1) — types::DEFAULT_MODEL and
    shards::EMBEDDING_MODEL_ID now cross-name each other's
    spelling for the one model (HuggingFace org/name vs the bare
    lowercase manifest string) and state that the two are compared
    only within their own subsystems.
  2. ORT versions (point 4) — the "nix closure's 1.27.1" example
    was stale: the packaged closure carries the vendored 1.31.1
    (code#6765, pkgs/atlas-search/default.nix wires the in-tree
    ./onnxruntime at version 1.31.1). Corrected in
    fixtures/README.md, the gate_a.rs version-guard comment,
    and the book's embeddings chapter; nixpkgs' 1.27.1 is now the
    different-runtime example.
  3. Turso read-only tokens (point 7) — turso.rs now names
    the basis of its "read-only by construction" claim: the
    Platform API mint endpoint ignores read-only request bodies
    (verified 2026-10-31), so the guarantee rests on the CLI mint
    path and the CLI-minted Bitwarden-held tokens.
  4. Crate doc framing (point 8) — atlas-core's crate doc no
    longer frames the monolith Scan as "the current production
    path"; it names the ShardedBackend composition (vector
    branch from the shard core, FTS/details delegated to the
    wrapped monolith), which is the layer shards/scan.rs
    documents.
  5. classification.rs (point 9) — gains the module doc it was
    missing (it was the only atlas-core module without one) and
    its types are re-exported at the crate root like every
    sibling module's.
  6. Staging invariant (point 10) — check_stage_schema's
    doc now names the deliberate consequence: a promoted unit's
    DB fails the exact table-set check because promotion stamps
    atlas_manifest into it, which is what closes it to further
    stage_artifact writes.
  7. boundary_drift_6038.py (point 11) — the docstring now
    describes the corrected boundary_shift construction the
    code runs (drop the previous paragraph's first sentence
    only), matching the .md report.

Dispositioned on #13284 with evidence (no edit): point 2
(the tier/ladder vocabularies and their mapping are already
recorded in the book's data-stores chapter and in both mapping
functions' docs; encoding the mapping in schema would be a v2
DDL design change, and the v1 DDL files are never edited in
place), point 3 (pad id already fully recorded in atlas-embed's
crate doc, PAD_ID's doc, the fixture diagnostic and the book;
changing the constant would break Gate A bit-identity with the
pipeline of record), point 5 (the representable-but-refused
parameters are a deliberate, documented design — proto struct
doc and the book's atlas-proto chapter both name the refusals),
point 6 (the content-hash vector file is itself the honest
record — producer unpinned, interop claims forbidden — and
names #10147 as the pinning issue).

Verification

  • Laptop route (remote dispatch was attempted first: session
    fp_bb108f19f289aa218b60f1b681da571b placed on Blacksmith but
    no run materialized; recorded here as a dispatch non-result):
    cargo test -p atlas-core -p atlas-proto -p atlas-embed —
    33 suites, 384 passed, 0 failed (incl. gate_a's ignored
    split: 1 passed, 1 ignored). First attempt stalled in the
    shared sccache queue; the passing run used
    RUSTC_WRAPPER= SCCACHE_DISABLE=1.
  • cargo check -p atlas-search clean.
  • cargo doc -p atlas-core --no-deps — 4 warnings, all
    pre-existing on untouched lines (shards/mod.rs:21,
    shards/content.rs:12, stage.rs:518, stage.rs:578); no new
    links warned.
  • cargo fmt -p atlas-core -p atlas-embed -- --check clean.
  • nix build .#atlas-docs succeeds; the corrected sentence is
    present in the built embeddings chapter.

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

Eleven Atlas library-internal disagreements from the book survey
(#13251), each verified first-hand against main:

- types::DEFAULT_MODEL and shards::EMBEDDING_MODEL_ID now cross-name
  each other's spelling for the one model (point 1).
- atlas-core's crate doc names the ShardedBackend composition
  instead of framing the monolith Scan as the production path
  (point 8).
- classification.rs gains the module doc it was missing and its
  types are re-exported at the crate root like every sibling
  module's (point 9).
- turso.rs names the basis of its read-only-by-construction claim:
  the Platform API cannot mint read-only tokens, the CLI mint path
  can (point 7).
- stage::check_stage_schema names the deliberate promotion-stamp
  consequence of the exact table-set invariant (point 10).
- The stale "nix closure's 1.27.1" example is corrected in
  fixtures/README.md, gate_a.rs and the embeddings book chapter:
  the packaged closure carries the vendored 1.31.1 (code#6765);
  nixpkgs' 1.27.1 is the different-runtime example (point 4).
- boundary_drift_6038.py's docstring now describes the corrected
  boundary_shift construction its code runs (point 11).

Points 2, 3, 5 and 6 are dispositioned on #13284 with evidence:
already recorded accurately in the book and code docs, or owned
by another issue (#10147 for the content_hash producer pin).
Comment and documentation changes only; no behaviour change.
@coderabbitai

coderabbitai Bot commented Nov 23, 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 29 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: 34b0ebcf-3959-4eb3-b753-0f74dc15d663
Commits

Reviewing files that changed from the base of the PR and between 697ffe1 and 4111127.

Files selected for processing: 10

  • pkgs/atlas-search/book/concepts/embeddings.md
  • pkgs/atlas-search/crates/atlas-core/src/classification.rs
  • pkgs/atlas-search/crates/atlas-core/src/lib.rs
  • pkgs/atlas-search/crates/atlas-core/src/shards/mod.rs
  • pkgs/atlas-search/crates/atlas-core/src/stage.rs
  • pkgs/atlas-search/crates/atlas-core/src/turso.rs
  • pkgs/atlas-search/crates/atlas-core/src/types.rs
  • pkgs/atlas-search/crates/atlas-embed/tests/gate_a.rs
  • pkgs/atlas-search/eval/boundary_drift_6038.py
  • pkgs/atlas-search/fixtures/README.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 23, 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-23T14:37:47.878048Z 4111127 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 9d4fee0 into main Nov 23, 2026
2 checks passed
@dezren39
dezren39 deleted the lane-yl-13284 branch November 23, 2026 14:36
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.

1 participant