You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found by the Atlas book survey (#13251, survey A §7). Disagreements inside the fleet search surface over Atlas.
fleet search serve: help, error string, and behaviour disagree.fleet help search lists serve as a domain command. cli.rs::run() contains a branch rejecting serve as "not part of the fleet search client surface". Live behaviour: fleet search serve starts the service (routes to fleet serve search before the client parser runs, as cli.rs's own header states). The rejection branch is unreachable for serve (still live for init/fetch-model, exit 2), and its error text incorrectly lumps serve with them.
fleet search help says "mirroring atlas-search search" — it is a subset, and two validations differ. The atlas-search search flags absent from fleet's parser are enumerated in the book (20 names verified against parse_search_args; the survey text says 21 in one place — the count itself needs pinning). --expand is validated 0..=100 by atlas-search but only >= 0 by fleet's via-service path; --hydrate is capped at 1000 by atlas-search, only >= 0 by fleet. Help also abbreviates the model default to Snowflake arctic-embed-m-v2.0; the parser's actual default is Snowflake/snowflake-arctic-embed-m-v2.0.
fleet search get-chunk help understates its real surface. The verb documents only --neighbors and --text, but parses nothing: every argument delegates verbatim, so atlas-search get-chunk's --context, --backend, --db, --vecdb, --via-service and --service-url all work through it undocumented — and a mistyped fleet-level flag fails at the artifact with atlas-search's wording, not fleet's.
fleet serve search accepts --flag=value; fleet search does not. The serve role's hand parser splits on =; the search client parser has no = handling (--k=5 is an unknown-option usage error). The standalone clap binaries accept both spellings throughout.
Book chapter: pkgs/atlas-search/book/reference/fleet-search.md.
Lane XF claiming #13281 (fleet search surface disagreements: serve routing, the mirroring claim, get-chunk delegation, = spelling). Premise check first on current main; fix in a laptop worktree off main; book chapter updated per the docs-sync contract.
Done — Lane XF. All four disagreements resolved in PR #13326 (merged 6314507fe076):
serve routing — cli.rs::run() gives serve its own arm naming the routed shape (fleet search serve is routed to fleet serve search by the binary); init/fetch-model keep the rejection, no longer lumping serve in.
Mirroring claim — help names the surface as the wire-translating subset; the --model default is spelled in full; --expand validated 0..=100 (atlas-core MAX_EXPAND_NEIGHBORS) and --hydrate at most 1000 (atlas-proto request validation) in the request builder. The omitted-flag count is pinned at 20, verified name-by-name against atlas-search's clap parser (BackendArgs + VectorArgs + SearchArgs): backend, db, vecdb, vec-table, shards, context, parameters_version, shard_top_k, global_top_k, fts_weight, vector_weight, jaccard_depth, jaccard_threshold, rrf_k, planner_enabled, spell_enabled, query_class_hint, variant, raw, wait. The survey's "21" was the miscount; its own enumeration is 20.
get-chunk delegation — both usage texts document the verbatim forwarding and atlas-search get-chunk's delegated flags (--context, --backend, --db, --vecdb, --via-service, --service-url).
= spelling — parse_search_args splits --flag=value like the serve role's parser; switches reject an attached value (--text=true is a usage error).
Books updated per the docs-sync contracts (atlas chapter records the aligned state; fleet chapter drops the resolved discrepancy note).
Verification: cargo test -p fleet-search98 passed / 0 failed on the laptop (incl. 3 new tests: = spelling parity, expand/hydrate caps, service-verb answers); nix build .#atlas-docs and .#fleet-docs both build. Remote dispatch (run 45184929990) failed at the Execute step with cargo: command not found (exit 127) — the fleet-build container gap (#13159 family), an environment failure, not a test result; the laptop run is the verifying route.
Activity
developing-today commentedon Nov 23, 2026
CODE-4843
dezren39 commentedon Nov 23, 2026
Lane XF claiming #13281 (fleet search surface disagreements: serve routing, the mirroring claim, get-chunk delegation,
=spelling). Premise check first on current main; fix in a laptop worktree off main; book chapter updated per the docs-sync contract.dezren39 commentedon Nov 23, 2026
Done — Lane XF. All four disagreements resolved in PR #13326 (merged
6314507fe076):cli.rs::run()givesserveits own arm naming the routed shape (fleet search serveis routed tofleet serve searchby the binary);init/fetch-modelkeep the rejection, no longer lumping serve in.--modeldefault is spelled in full;--expandvalidated 0..=100 (atlas-coreMAX_EXPAND_NEIGHBORS) and--hydrateat most 1000 (atlas-proto request validation) in the request builder. The omitted-flag count is pinned at 20, verified name-by-name against atlas-search's clap parser (BackendArgs + VectorArgs + SearchArgs): backend, db, vecdb, vec-table, shards, context, parameters_version, shard_top_k, global_top_k, fts_weight, vector_weight, jaccard_depth, jaccard_threshold, rrf_k, planner_enabled, spell_enabled, query_class_hint, variant, raw, wait. The survey's "21" was the miscount; its own enumeration is 20.--context,--backend,--db,--vecdb,--via-service,--service-url).=spelling —parse_search_argssplits--flag=valuelike the serve role's parser; switches reject an attached value (--text=trueis a usage error).Books updated per the docs-sync contracts (atlas chapter records the aligned state; fleet chapter drops the resolved discrepancy note).
Verification:
cargo test -p fleet-search98 passed / 0 failed on the laptop (incl. 3 new tests:=spelling parity, expand/hydrate caps, service-verb answers);nix build .#atlas-docsand.#fleet-docsboth build. Remote dispatch (run 45184929990) failed at the Execute step withcargo: command not found(exit 127) — the fleet-build container gap (#13159 family), an environment failure, not a test result; the laptop run is the verifying route.