GeezerVison is showing github.com — Epic: Atlas as a Rust binary + multi-client search service (b+c) · Issue #5350 · developing-today/code
Epic: Atlas as a Rust binary + multi-client search service (b+c) #5350Open 6 / 66 of 6 issues completedOpen 6 / 66 of 6 issues completed DescriptionProgram epic. Drew ruled "b and c" on 2026-11-04 (dezren39/hatch-personal#21): Atlas search ships as (b) a Rust binary vendored from this repo and (c) a multi-client search service built on that binary.
Design of record: doc/2026-11-04T08-07-13Z_design_atlas_binary_service/ (PR #5348, merged 9c5976340). Read it before working any step — the decisions below are summaries, the note is the authority.
Headline decisions
- One Rust binary (
atlas-search, pkgs/atlas-search/), two modes: standalone-capable one-shot CLI + serve. Never thin-client-only.
- Service protocol: HTTP+JSON jobs; branch workers concurrent; fused rankings in an in-memory TTL temp store behind per-job capability tokens; fetch-to-fill escalation lives inside the vector branch, paging slices an immutable ranking.
- Auth: per-client bearer tokens in
~/.local/state/atlas-search/service.json, each carrying a maximum sensitivity ceiling the server clamps to. Named clients only; Aster is not a v1 client. Loopback + tailscale serve (MagicDNS), never public.
- Vector backend is a pluggable strategy (
scan / index-fill / index-fixed); the golden-311 A/B running on the Python decides the default (design Gate C).
- The Python CLI stays the eval reference permanently and the runtime fallback through cutover. Migration is additive-first; there is no data migration (the system is read-only end to end).
Program gates (design §5): Gate A embedder bit-identity on the probe set; Gate B golden-311 tie vs the Python production path on the production corpus (hits@10 ±2, MRR ±0.005, no category regression > 0.01); Gate C A/B winner as implemented default.
Non-goals (design §6): no writes to the production atlas DB (service holds a read-only token only), no corpus re-embedding, no publish-schema changes, no client ceiling widening, no public exposure.
Steps (sub-issues of this epic):
- Embedder parity spike (
atlas-embed) — Gate A
- Core search library (
atlas-core)
- CLI mode (one-shot commands)
- Serve mode (job protocol, worker pool, temp store)
- Nix packaging + amd deploy
- Golden-parity gate + cutover
Open questions for Drew live in design §7 (Q1 model provisioning, Q2 ceiling caps, Q3 sandbox CLI default flip) — they gate steps 5/6 decisions, not steps 1–4 work.
Acceptance criteria
- Steps 1–6 are attached as native sub-issues of this epic (filed as issues Atlas step 1: embedder parity spike (atlas-embed) — Gate A #5351–Atlas step 6: golden-parity gate (Gate B) + cutover #5356) and their states roll up here.
- Gate A (embedder bit-identity), Gate B (golden-311 tie vs the Python production path) and Gate C (A/B winner as default) results are recorded on the epic or the owning step issue.
atlas-search builds and is packaged via nix (step 5); the Python CLI remains the eval reference and runtime fallback through cutover.
- The service binds loopback/tailscale only, enforces per-client sensitivity ceilings server-side, and holds a read-only token only — no writes to the production atlas DB, no corpus re-embedding.
- The cutover decision is recorded with Gate B/C evidence; open questions in design §7 are answered or explicitly deferred before steps 5/6 complete.
Related exploration
Consolidates exploratory tracker #12900: its parallel-branch thread landed in PR #13039, and its service and binary/Nix threads are represented by this programme and its steps. #12900 is closed as superseded by this active epic.
Refs #12900 Sub-issuesCollapse Sub-issuesSub-issues6 of 66 of 6 Issues completedLoading 6 sub-issues Activitydezren39 commented on Nov 4, 2026 DESIGN APPROVED + OPEN QUESTIONS RULED (Drew, 2026-11-04 02:31 CST, via the Token usage tracking chat):
- The design (note merged via PR Design: Atlas as a Rust binary + multi-client search service (b+c) #5348) is APPROVED as written. Implementation proceeds through the step issues in order.
- Q1 (model provisioning): STATE-DIR PINNED FETCH — the Snowflake model is fetched at a pinned revision into ~/.local/state/atlas-search/model// with the sha256 recorded in the repo. Not a nix-store FOD. (Gates #5355s shape.)
- Q2 (ceilings above personal): ONLY Drews own CLI holds a cap above personal in v1. OpenChamber/fork sessions and sandbox scripts are capped at personal. Agent searches being thinner than Drews own is accepted until revisited.
- Q3 (sandbox CLI default at cutover): YES — the sandbox CLI defaults to --via-service with loud standalone fallback. The laptop CLI keeps its standalone default. (Gates #5356s later phases.)
Steps 1-4 were already unblocked; steps 5-6 are now unblocked when reached. dezren39 commented on Nov 4, 2026 Intake review
Related: PR #5348 (design of record, merged); PR #5367 (step 1, issue #5351 — already open, the program is moving); issues #5351–#5356 (the six steps).
Notes: Program epic ruled by Drew today ("b and c", hatch-personal#21). Filed with no labels at all — normalized in this pass. Still live: step 1 has an open PR; steps 2–6 have no PRs yet.
Risks: Gate B is the hard gate — a golden-311 regression blocks cutover regardless of build progress. Per-client ceiling enforcement is a security property, not a feature: it needs a test, not just code review.
Suggested approach: Keep the epic as the rollup only; work flows through the step issues. First monitor follow-up: confirm the steps are attached as native sub-issues (protocol §11) — they were filed as a set today, so the attach should be verified, not assumed.
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-11-04 02:12 CST
- Found via: monitor reconciliation (intake enrichment, protocol §5)
- Task: intake pass — acceptance criteria appended, labels normalized, this review posted
- Expectation: done looks like the criteria section above; no queue state changed by this pass
dezren39 commented on Nov 26, 2026 Hourly work-loop (xaltha, 2026-11-25 ~19:15 CST): fleet agent next handed epic #5350 via the priority rung after #15070 proved already-PR'd (PR #15102). Claim-check this run concurs with today's prior slice checks (code-j, any-n, oc-code-04, Felix stand-down, and the earlier xaltha premise check): steps 1–6 (#5351–#5356) are all CLOSED, Gates A/B and cutover evidence are recorded, and Gate C remains explicitly deferred pending the external rewrite/A-B chain. No startable slice exists on this epic and no duplicate work was started. This epic should not be re-handed as a feature-slice until Gate C's external dependency lands or a new child issue is filed. developing-today-fleet commented on Nov 26, 2026 🤖 Agent note · verified park — queue lane UI (Muse work-loop, 2026-11-26)
Claimed via fleet agent next — rung: shortlist (push: empty, queue: no task claimable), rank 3, "label priority/high". Instruction was the feature-slice pass: land one PR making one acceptance criterion pass or moving one measured number.
Fresh verification this run (gh, 2026-11-26):
- Steps 1–6 — Atlas step 1: embedder parity spike (atlas-embed) — Gate A #5351, Atlas step 2: core search library (atlas-core) #5352, Atlas step 3: CLI mode — one-shot commands at Python surface parity #5353, Atlas step 4: serve mode — job protocol, worker pool, in-memory temp store #5354, Atlas step 5: nix packaging (pkgs/atlas-search) + amd deploy #5355, Atlas step 6: golden-parity gate (Gate B) + cutover #5356 — all CLOSED. No open child slice exists to land.
pkgs/atlas-search/ is on main; the default vector backend is still VectorBackend::Scan (atlas-core search.rs default; atlas-proto mapping present) — intentionally unchanged.
- Gate A recorded bit-identical (Atlas step 1: embedder parity spike (atlas-embed) — Gate A #5351; atlas-search: build-provenance hardening — Gate A parity must catch a divergent embedder build under the same FOD hash #5599 provenance verdict stands). Gate B passed and cutover landed (Δhits@10 = 0, ΔMRR = +0.0016, 309/309 byte-identical, per the 2026-11-04 epic status comment).
- Gate C blocker still live: the index-backend default decision (scan vs index-fill vs index-fixed) waits on the Turso rewrite / index-arm A/B chain owned by dezren39/hatch-personal#20, which is still OPEN ("Atlas production: writer stall + Snowflake vector index not searchable") — re-checked this run.
Disposition: verified park. No lane-executable slice remains on this epic; concurring with the triage of record (task 12726) and today's earlier slice checks (incl. 2026-11-26 01:16 work-loop note). No PR opened, no duplicate follow-up filed — the owning chain already tracks the one deferred decision. This claim was a shortlist item, not a queue-broker task, so there is no queue task-id to park; this note is the park evidence. Epic stays OPEN as the rollup until hatch-personal#20's numbers land and the backend default is decided by configuration.
developing-today-fleet commented on Nov 26, 2026 Consolidation note: exploratory tracker #12900 is closed as superseded by this programme. Its thread 1 landed as PR #13039; its threads 2 and 3 are represented by the service and binary/Nix work here. Refs #12900. developing-today-fleet commented on Nov 26, 2026
state: triaged — standing verdict confirmed, no lane-executable slice
lane: oc-code-02, task 24873
Fresh verification 2026-11-26: steps #5351–#5356 all CLOSED (re-checked live); Gates A/B and cutover evidence recorded per standing triage (task 12726). Gate C (index-backend default) still deferred: external blocker dezren39/hatch-personal#20 OPEN ("writer stall + Snowflake vector index not searchable"), verified live this run.
Concurs with the 2026-11-24/25/26 slice checks. Epic stays OPEN as rollup; no code change, no duplicate follow-up. No follow-on packet. developing-today-fleet commented on Nov 27, 2026
Triage verdict (task 25973, 2026-11-27): epic rollup; no lane-executable slice — keep open.
Fresh verification via gh API: steps #5351–#5356 all CLOSED. Gate C (index-backend default: scan vs index-fill vs index-fixed) still deferred on external blocker dezren39/hatch-personal#20, verified OPEN. Concur with the standing triage (task 12726) and the 2026-11-24/25/26 slice checks: Gates A/B and cutover evidence recorded, nothing startable on this epic until Gate C's external dependency lands or a new child issue is filed. No code changed, no duplicate follow-up filed. developing-today commented on Nov 27, 2026
Triage re-verification (task 25973, lane oc-code-03, 2026-11-27): epic rollup; no lane-executable slice — keep open.
Fresh checks this claim (gh API):
No code changed, no duplicate follow-up filed. dezren39 commented on Nov 27, 2026 🤖 Agent note · 2207-B verified park — agent work loop ADVANCE (charlie), 2026-11-26 22:07 CST
Drawn via fleet agent next — rung: shortlist (push: empty, queue: no task claimable), rank 3, "label priority/high". No queue task id was issued, so there is no queue task to park/complete; this note is the disposition of record for this draw.
Fresh verification this run (gh API, all 30 comments read):
Disposition: verified park. This epic is a programme rollup, not a lane item; no lane-executable slice remains. Concurs with the standing triage and the 2026-11-24/25/26 slice checks. No PR opened, no duplicate follow-up filed.
Ready condition: hatch-personal#20's rewrite chain publishes paired index-arm A/B results → then select the Gate C winner as the default and verify against the Gate B oracle recorded on #5356.
developing-today-fleet commented on Nov 27, 2026
Triage confirmation (task 25973, lane code-i, 2026-11-27): epic rollup; no lane-executable slice — keep open.
Fresh checks this claim (gh API): steps #5351-#5356 all CLOSED (re-checked live); Gate C still deferred on external blocker dezren39/hatch-personal#20, verified OPEN. Concurs with standing triage (task 12726) and today's prior verifications on this same task (code-j, oc-code-03). Nothing startable on this epic until Gate C's external dependency lands or a new child issue is filed. No code changed, no duplicate follow-up filed. dezren39 commented on Nov 27, 2026
0052-C verified park — agent work loop SUSTAIN (bravo), 2026-11-27 00:52 CST
Drawn via fleet agent next — rung: shortlist rank 3 (push empty, queue rung down: broker TimeoutError). No queue task id issued, so no queue task to park/complete.
Premise check (issue + all comments read via gh): #5350 is a programme epic / rollup (labels meta/epic, epic/atlas-program). Steps 1–6 (#5351–#5356) are all CLOSED; Gates A/B and cutover evidence are recorded per standing triage (task 12726). The only remainder is Gate C — the index-backend default decision — explicitly deferred pending paired A/B results from the external rewrite chain, blocker dezren39/hatch-personal#20 OPEN. Concurs with the many prior slice checks (most recently 2207-B, 2026-11-27T04:15Z).
Wake condition: hatch-personal#20 resolves / Gate C paired backend results publish, then select the winner against the Gate B oracle. No lane-executable slice until then. Lane 0052-C keeps going to the next draw. developing-today-fleet commented on Nov 27, 2026
Verified park (lane oc-code-05, 2026-11-27): epic rollup; no lane-executable slice — keep open.
Fresh checks this draw (gh API): steps #5351–#5356 all CLOSED (re-checked live). Gate C (index-backend default) still deferred on external blocker dezren39/hatch-personal#20, verified OPEN ("Atlas production: writer stall + Snowflake vector index not searchable"). Concurs with standing triage (task 12726) and prior slice checks. Nothing startable until Gate C external dependency lands or a new child issue is filed. No code changed, no duplicate follow-up filed. dezren39 commented on Nov 27, 2026 0322-B · agent work loop PRESS (delta) 2026-11-27 03:22 CST · queue draw 1 (shortlist rank 3; queue rung empty, push rung down)
Premise + ownership check, firsthand this run: read issue body + ALL 34 comments. No live claim, no held/user/* labels (labels: task/triage, priority/high, effort/l, meta/epic).
Fresh verification:
- Steps 1–6 sub-issues Atlas step 1: embedder parity spike (atlas-embed) — Gate A #5351, Atlas step 2: core search library (atlas-core) #5352, Atlas step 3: CLI mode — one-shot commands at Python surface parity #5353, Atlas step 4: serve mode — job protocol, worker pool, in-memory temp store #5354, Atlas step 5: nix packaging (pkgs/atlas-search) + amd deploy #5355, Atlas step 6: golden-parity gate (Gate B) + cutover #5356 all CLOSED (re-read via gh api this run).
- Gate A recorded (0 bitdiffs, atlas-search: build-provenance hardening — Gate A parity must catch a divergent embedder build under the same FOD hash #5599 provenance verdict). Gate B recorded (Δhits@10 = 0, ΔMRR = +0.0016, 309/309 byte-identical). Cutover landed (step 6 Atlas step 6: golden-parity gate (Gate B) + cutover #5356, PRs Atlas step 1: atlas-embed embedder parity spike — Gate A (#5351) #5367/atlas-core: core search library (Atlas epic #5350 step 2, #5352) #5372/atlas-search: step 3 - CLI mode at Python surface parity (#5353) #5377/Atlas step 4: serve mode — job protocol, temp store, dedupe cache (#5354) #5392/atlas-search: nix packaging + disabled deploy (step 5, #5355) #5439/home(atlas-search): enable the atlas-search user unit — step 6 cutover (#5356) #5471/home(atlas-search): ship the atlas-search package in home.packages — step 6 cutover (#5356) #5479 merged per triage of record).
- Remaining item is Gate C only: index-backend default decision, deliberately deferred and owned by the external rewrite chain; default stays VectorBackend::Scan with no new A/B numbers in this repo. Triage of record = task 12726 (2026-11-08), re-verified task 18305 (2026-11-17) and slice checks 2026-11-23/24 — all concur: no lane-executable slice.
Disposition: stand down, no code, no duplicate follow-up filed. Epic stays OPEN as rollup for the deferred Gate C decision. Wake: new A/B evidence for index backend lands in this repo, or Drew rules the default. developing-today-fleet commented on Nov 27, 2026
Verified park (lane oc-code-08, 2026-11-27): epic rollup; no lane-executable slice — keep open.
Fresh checks this draw (priority rung, no queue task id; this note is the disposition of record):
- Steps Atlas step 1: embedder parity spike (atlas-embed) — Gate A #5351–Atlas step 6: golden-parity gate (Gate B) + cutover #5356: all CLOSED (re-checked live via gh API).
- Gate C still deferred: external blocker dezren39/hatch-personal#20 ("Atlas production: writer stall + Snowflake vector index not searchable") verified still OPEN.
- Code spot-check on origin/main:
pkgs/atlas-search/ present (Cargo/flake/default.nix + atlas_search.py fallback); serve mode loopback-only (main.rs:75,220) with per-client ceilings (main.rs:767,974); default vector backend still scan pending Gate C.
- Concurs with standing triage and today's prior slice checks. No code changed, no duplicate follow-up filed.
developing-today-fleet commented on Nov 28, 2026
Verified park (lane code-f, 2026-11-28 ~00:05Z): epic rollup; no lane-executable slice — keep open.
Fresh checks this draw (priority rung, no queue task id; this note is the disposition of record):
developing-today-fleet commented on Nov 28, 2026
Verified park (lane oc-code-04, 2026-11-28 ~04:15Z): epic rollup; no lane-executable slice — keep open.
Fresh checks this draw (priority rung, no queue task id; this note is the disposition of record):
- Steps Atlas step 1: embedder parity spike (atlas-embed) — Gate A #5351–Atlas step 6: golden-parity gate (Gate B) + cutover #5356: all CLOSED (re-checked live via gh API just now).
- Gate C (index-backend default) still deferred: external blocker dezren39/hatch-personal#20 ("Atlas production: writer stall + Snowflake vector index not searchable") verified still OPEN (updated 2026-11-12).
- Code spot-check on local checkout: serve mode loopback-only (
main.rs:75,220), default vector backend still Scan (search.rs:111) pending Gate C.
- Concurs with standing triage (task 12726) and prior slice checks (code-i, 0052-C, oc-code-05/08, code-f, 0322-B).
No code changed, no duplicate follow-up filed. Wake: hatch-personal#20 resolves / Gate C A/B evidence lands, then select the winner against the Gate B oracle. developing-today-fleet commented on Nov 28, 2026
0952-D verified park — agent work loop SUSTAIN (bravo), 2026-11-28 09:52 CST
Drawn via fleet agent next — rung: shortlist rank 3 (queue rung down: session proxy missing; no queue task id issued, so this note is the disposition of record).
Premise + ownership check firsthand: read issue body + ALL 38 comments. Fresh verification this run (gh api): steps #5351–#5356 all CLOSED; Gate C blocker dezren39/hatch-personal#20 still OPEN ("Atlas production: writer stall + Snowflake vector index not searchable").
Verdict: programme epic / rollup with no lane-executable slice. Gates A/B and cutover recorded; only remainder is Gate C index-backend default, deferred on the external blocker above. Concurs with standing triage (task 12726) and repeated prior verified-parks (most recently oc-code-04, 2026-11-28T04:14Z). No code changed, no duplicate follow-up filed.
Wake condition: hatch-personal#20 resolves / Gate C paired backend A/B results publish.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|