Repository navigation
Closed
Labels
Description
Found by the Atlas book survey (#13251, survey A: full CLI dump of the installed binaries, help vs source vs live probes). The book documents source behaviour and calls each of these out; the fixes belong on the help/source side.
- atlas-stage has no version flag; atlas-search does.
atlas-search --versionprintsatlas-search 0.1.0, exit 0.atlas-stage --version/-Vis a clap error, exit 2 — its#[command]sets noversion. The other four hand-rolled binaries have no version surface either. - atlas-stage's own source header is stale. It opens with "Two verbs:" and later says "All three are offline" — the binary has six verbs, and
promoteis not offline in the same sense (it needs the embedding model + ONNX runtime). The verb list itself is complete; the counts/framing are wrong. - atlas-stage ingest --language default is misleading. Help shows
[default: ""]; source silently replaces an empty value with the staged file's extension. The help never mentions the extension fallback. - atlas-search search --shards is a real flag that help hides.
#[arg(long, env = "ATLAS_SHARDS", hide = true)]— absent from --help, fully functional (probed). Its EXPERIMENTAL doc comment (atlas core consumer wiring: fleet atlas-search fan-out over the TursoDB shard core (tier ceilings, merge, --expand hydration) #5755) exists only in source. - --config / --service-url env claims are not clap env. Help says
(env ATLAS_SEARCH_SERVICE_CONFIG)/(env ATLAS_SEARCH_URL), but neither arg carries a clapenv =attribute; the env is honoured by hand. Behaviour matches help; mechanism does not. By contrast --model, --vec-table and --shards really do use clap env. - atlas-classify help gives no defaults; source has several. Window-days 90, actor
atlas-classify/remainder-sweep, schema-version 1, reviewer-modelatlas-classify, --now = current time, max-decisions unbounded — all source-only. The usage text is also printed for --help with exit 2 (no successful help path). - Three binaries have no help path, with two different failure codes. atlas-classify --help → usage, exit 2. atlas-eval --help → usage, exit 2. atlas-sweep --help →
unknown action, exit 2. atlas-github-comments --help →unknown argument, exit 1. - atlas-search traces report writes files its help never mentions. Help: "weekly statistics report into the statistics-and-reports source set". Source also writes a Markdown rendering
atlas-statistics-report-<day>.mdinto the traces dir and reports both paths (report_file,markdown_file) in the JSON output. - Via-service eligibility restrictions are in no help text. --via-service reads as a simple preference; source: a
--backend localrequest, a non-default --vec-table, or any --shards spec each disqualify the service route (the third silently, with no attempt at all). - atlas-search feedback help omits the vote-shape rule. Exactly one of --up/--down, or --get, is enforced only at runtime with an exit-2 message; clap enforces the conflict but not the "at least one" half.
Book chapters carrying the source behaviour: pkgs/atlas-search/book/reference/atlas-search.md, atlas-search-admin.md, atlas-stage.md, atlas-classify.md.
{
"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:54:36Z",
"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
developing-today commentedon Nov 23, 2026
CODE-4840
dezren39 commentedon Nov 23, 2026
🤖 Lane claim — Lane XE (archer)
Taking #13278 (Atlas CLI help vs source: ten disagreements). Plan: verify each of the ten items against current main in pkgs/atlas-search, fix the help/source side so the surfaces agree (help text, stale source headers, version surface, help paths), run the atlas-search test suites, land via PR.
dezren39 commentedon Nov 23, 2026
Premise verdict (Lane XE): TRUE on current main (
619b7e56e6d) — all ten items re-verified first-hand in source:#[command]sets name+about only, noversion(atlas-search's setsversion); the four hand-rolled binaries have no version surface either.promoteneeds the model + ONNX runtime.ingest --languagedoc says only "(yaml, toml, rust, ...)"; the empty→extension fallback at the ingest site is unstated.search --shardscarrieshide = true; its EXPERIMENTAL doc never reaches help.--config/--service-urlhelp names env vars that no clapenv =backs — honoured by hand inresolve_service_config_path/service::base_url(only --model, --vec-table, --shards use clap env).atlas-classify/remainder-sweep, schema-version 1, reviewer-modelatlas-classify, --now = current time, max-decisions unbounded.traces reportalso writesatlas-statistics-report-<day>.mdand reportsmarkdown_file; help mentions neither.feedback's exactly-one-of --up/--down (or --get) rule is runtime-only; help omits it.Fix pass in progress: reconcile the help/source side (version surfaces, help paths, stated defaults and rules, unhidden --shards, real clap env for --config/--service-url with the existing empty-value guards preserved), book chapters updated in the same change per DOC-01.
Merge pull request #13340 from developing-today/lane-xe-13278
dezren39 commentedon Nov 23, 2026
Done — Lane XE. All ten disagreements reconciled; landed via PR #13340, merged
7310a95730791e66da98f7b0e13865930058a516(head SHA-guarded at5989457afbd4). This issue auto-closed as completed on the merge.What landed (18 files, +137/−64): atlas-stage gains clap
versionand a corrected source header (six verbs; offline scoped to five,promoteexcepted);ingest --languagehelp states the extension fallback;search --shardsunhidden;--config/--service-urlcarry real clap env bindings (ATLAS_SEARCH_SERVICE_CONFIG/ATLAS_SEARCH_URL) with precedence unchanged and the resolvers still ignoring empty values;--via-servicehelp states the eligibility restrictions;traces reporthelp names both written files;feedbackhelp states the vote-shape rule; the four hand-rolled binaries (atlas-classify, atlas-eval, atlas-sweep, atlas-github-comments) gain--help/-h(stdout, exit 0) and--version/-Vpaths; atlas-classify's usage text states its defaults. Book chapters updated in the same change per DOC-01 (atlas-stage, atlas-search, atlas-search-admin, atlas-classify, atlas-eval, atlas-sweep, atlas-github-comments, configuration, installation, release-and-rollout).Verification (laptop route — the fleet-build container has no working Rust path for this workspace, the #13159 gap family):
cargo test -p atlas-core -p atlas-search: 415 passed / 0 failed across 30 suites;-p atlas-embed -p atlas-proto: 16 passed / 0 failed.cargo fmt --checkclean. (The shared sccache daemon stalled under multi-lane load mid-run; the passing run bypassed it with a private target dir — environment note, not a code signal.)--help/--versionsurface exits 0 with the expected text; bare/error invocations keep their old exit codes (classify 2, eval 2, sweep 2, github-comments 1);search --helprenders--shardsand the new--via-servicetext;serve --helpshows the real[env: ATLAS_SEARCH_SERVICE_CONFIG=]binding;ATLAS_SEARCH_SERVICE_CONFIGalone directedatlas-search initto the env-named path (probe file removed after).nix build .#atlas-docssucceeds from the repo root; the rendered chapters carry the updated text; the fix is read back present on origin/main.Cleanup: worktree
~/wt-lane-xe-13278removed, local branch deleted, remote branch auto-deleted on merge; primaries untouched; nogit stashused; no flag holds touched. Nothing new filed — no separate problems found.