Repository navigation
Description
Program 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-searchbuilds 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
Activity
dezren39 commentedon Nov 4, 2026
DESIGN APPROVED + OPEN QUESTIONS RULED (Drew, 2026-11-04 02:31 CST, via the Token usage tracking chat):
Steps 1-4 were already unblocked; steps 5-6 are now unblocked when reached.
dezren39 commentedon 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
75 remaining items
developing-today-fleet commentedon 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):
pkgs/atlas-search/present (Cargo/flake/default.nix +atlas_search.pyfallback); serve mode loopback-only (main.rs:75,220) with per-client ceilings (main.rs:767,974); default vector backend stillscanpending Gate C.developing-today-fleet commentedon 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 commentedon 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):
main.rs:75,220), default vector backend stillScan(search.rs:111) pending Gate C.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 commentedon 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.
developing-today-fleet commentedon Nov 28, 2026
1622-L verified park — delta PRESS queue-draw-2 (continuation), 2026-11-28 ~22:41Z. Drawn via
fleet agent next— rung: shortlist rank 3 (push empty, queue rung: no task claimable). No queue task id issued, so this note is the disposition of record.Premise + ownership check firsthand: issue + ALL 39 comments read. No live claim, no held/user labels. Fresh verification this draw: steps #5351–#5356 all CLOSED (re-checked live via gh api). Epic rollup; Gate C remains deferred per the prior verified parks (code-i, 0052-C, oc-code-05, 0322-B, oc-code-08, code-f, oc-code-04, 0952-D — newest 2026-11-28T15:59:35Z, state identical since). No lane-executable slice exists in the epic itself — keep open; slices land under their own child issues.
dezren39 commentedon Nov 29, 2026
1907-D verified park — charlie ADVANCE shortlist draw, 2026-11-28 ~19:52 CST. Drawn via
fleet agent next— rung: shortlist rank 3 (push empty, queue rung: no task claimable). No queue task id issued, so this note is the disposition of record.Premise + ownership check firsthand: issue + ALL 40 comments read. No live claim, no held/user labels. Fresh verification this draw: steps #5351–#5356 all CLOSED (each re-checked live via gh api this lane: 5351 closed, 5352 closed, 5353 closed, 5354 closed, 5355 closed, 5356 closed). Epic rollup; Gate C remains deferred per the prior verified parks (newest: lane 1622-L at 2026-11-28T22:41:39Z, ~1h ago, state identical since). No lane-executable slice exists in the epic itself — keep open; slices land under their own child issues.
No claim, no PR, no duplicate work by this lane.
developing-today-fleet commentedon Nov 29, 2026
Verified park (felix lane, 2026-11-29 ~02:20 CST): premise collapse on draw — no lane-executable slice.
Drawn via
fleet agent next(priority rung). Read the issue + latest comments: steps #5351–#5356 all CLOSED; the only remainder is Gate C (index-backend default), deferred on external blocker dezren39/hatch-personal#20, still OPEN. Concurs with the long line of prior verified-parks (newest 2026-11-29T01:28Z). No claim, no code changed. Lane pulls its next item per standing continuous-operation rule.developing-today-fleet commentedon Nov 29, 2026
Verified park — lane oc-code-08 (2026-11-29): no lane-executable slice remains on this epic. Rechecked #5351–#5356: all CLOSED. Gate C remains explicitly deferred pending paired index-backend A/B evidence from dezren39/hatch-personal#20, which is still OPEN (last updated 2026-11-12). The recorded Gate A/B evidence and cutover remain unchanged; the current Scan default should not be flipped without those measurements. No code change or duplicate follow-up filed. Resume when #20 publishes the paired results; then select the winner and verify against the Gate B oracle on #5356.
developing-today-fleet commentedon Nov 29, 2026
Verified park (lane code-i, 2026-11-29 ~05:40 CST): 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 (oc-code-08, 0052-C, oc-code-05, code-f, 0322-B, oc-code-04, 0952-D, 1622-L, 1907-D, felix — newest 2026-11-29T09:32Z). Nothing startable until Gate C external dependency lands or a new child issue is filed. No code changed, no duplicate follow-up filed.
dezren39 commentedon Nov 29, 2026
🤖 Agent note · census 2026-11-29 (lane CEN-C03)
Census verified: programme epic; design of record (PR #5348) merged, Gates A/B/C defined, headline decisions in the body. Blocker: none — steps proceed per the design note. Priority: high (unchanged).
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix):
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found: no lifecycle label (no status//queue//work/) and no app//area/* label on an otherwise well-formed epic (kind/enhancement, priority/high, effort/l, source/human, meta/epic all present).
Strengths:
## Acceptance criteriapresent; epic structure is explicit (Atlas as a Rust binary + multi-client search service, b+c shape), design label attached (design/atlas-rust-binary).Actions: added labels status/triaged and area/infra. Priority unchanged (high — flagship Atlas program epic). No other changes.
developing-today-fleet commentedon Nov 29, 2026
Triage re-verification (Felix lane 0640-BY, 2026-11-29, drawn via
fleet agent next): concur with the standing verdict — epic rollup, no lane-executable slice. Fresh live checks this pass: steps #5351–#5356 all CLOSED (re-read via API); Gates A/B and cutover evidence already recorded. Gate C (index-backend default) remains deferred on dezren39/hatch-personal#20, verified OPEN this pass — its remediation sequence is live production Turso operations (probe write on the production primary, DROP/recreate of the production vector index), which is a genuine stop for a lane, not a code slice. No code changed, no PR, no duplicate follow-up filed. Priority/high left untouched (Drewry-set band).