GeezerVison is showing github.com — migrate all Atlas/search/embedder scripts into developing-today/code + fleet binary; retire outside copies · Issue #5670 · developing-today/code
migrate all Atlas/search/embedder scripts into developing-today/code + fleet binary; retire outside copies #5670DescriptionImplementation of §8 of the Scaler-era data architecture revision (design doc PR #5667, doc/2026-11-04T21-27-34Z_design_atlas_scaler_revision/). Drew's order: everything Atlas/search/embedder migrates into this repo and the fleet binary; nothing canonical lives outside.
Live items → destinations (per §8 table):
hatch-personal/workspace/turso-atlas/scripts/atlas_search.py → pkgs/atlas-search/ as the permanently-kept Python eval/reference implementation.
eval3.py + golden-311 corpus → eval tooling beside pkgs/atlas-search.
embed_pass3.py, embed_onnx.py, atlas-ingest.py → absorbed by the aggregator's embedding/promotion stages (tracking issue for the staging tier).
~/tools/bin/atlas-search wrapper → retired once the fleet search domain entry + serve role are the production path.
atlas-backup (laptop systemd unit; nix-declared) → fleet search backup verb / fleet serve maintenance role; first verify the flake copy matches the surviving ~/tmp/atlas-backup.sh shell original.
- Snowflake model provisioning artifacts → the Atlas step 5: nix packaging (pkgs/atlas-search) + amd deploy #5355 nix provisioning path.
Historical → retire/archive after migration verifies:
- Laptop
~/atlas/v3/swap-2026-11-03/ one-off swap/gate/remediation scripts + staging.db — archive as the hatch-personal#20 evidence record after the in-flight index rewrite completes and verifies (do not touch while the rewrite runs).
- Sandbox transfer artifacts (
atlas-model-rev.tar 1.2 GB, atlas-step6-closure.nar 300 MB, ~/tmp/atlas-migrate/, ~/tmp/atlas-parts/, proof logs) — delete once model + closure are confirmed reproducible from this repo (~1.5 GB reclaimed).
hatch-personal/workspace/turso-atlas/docs/ design history — archive in place (hatch-personal is the record).
Acceptance: every §8 row has a landed destination or a recorded archive/delete commit; grep over hatch-personal + ~/tools + ~/atlas finds no remaining live Atlas script outside this repo; the eval harness runs from its new home with golden-311 parity.
Design: #5667 §8. Parent context: hatch-personal#20/#21. Activitydezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 17, 2026 🤖 Agent note · triage (already triaged) + stranded follow-on flag
- Agent: repo-worker-code (Muse queue worker, lane any-a)
- Session / ID: queue task 18329 · lane
any-a
- Found via: repo-health-code-pilot atomic claim (unfiltered one-queue claim; bulk-intake packet)
Triage verdict: already triaged — task 10104 (2026-11-05) is the triage of record, and its phase-1 follow-on already exists. No duplicate packet is filed.
Re-verified fresh this shift:
Task 18329 completes as already_done against the 10104 verdict, with the 10606 cap flag carried into this shift's report.
dezren39 commented on Nov 17, 2026 🤖 Agent note · done (triaged — triage of record stands; stranded follow-on re-flagged)
- Agent: repo queue worker, lane any-p (task 19858)
- Task: task 19858 (bulk-intake triage follow-on, routed by task 18329) for issue migrate all Atlas/search/embedder scripts into developing-today/code + fleet binary; retire outside copies #5670.
- Verdict: already triaged — task 10104 (2026-11-05) is the triage of record and task 18329 (lane any-a, 2026-11-17T02:55Z) re-verified it this shift; named here per runbook §1c. Re-verified fresh this pass: issue migrate all Atlas/search/embedder scripts into developing-today/code + fleet binary; retire outside copies #5670 OPEN, labels task/small-fix + epic/atlas-program, no held labels, no new comments since task 18329's note.
- The actual blocker (unchanged, re-flagged): the phase-1 follow-on, task 10606 (migrate the Atlas Python reference + golden eval corpus into
pkgs/atlas-search/ per design docs: Scaler-era Atlas/Turso data architecture revision #5667 §8), is stranded at its attempt cap (16/16) with assigned_lane: opencode and no executed session — flagged on this issue 2026-11-08 and again by task 18329 today. It needs a cap repair / claimant-path review by the queue operator; lanes have no verb for that, and filing a duplicate packet would fork the migration. The remaining §8 rows stay scoped on this issue behind phase 1.
- Routing: no new packet. This flag is carried into lane any-p's shift report for Drew/conductor attention.
developing-today-fleet commented on Nov 24, 2026 🤖 Agent note · picked up
Done-check (fresh, this lane): Phase 1 already landed on main 2026-11-07 (commits c6e5aad / 77a3aae, branch disposition) — pkgs/atlas-search/atlas_search.py, pkgs/atlas-search/eval/eval3.py, pkgs/atlas-search/eval/fixtures/golden-311.json are all present. It was never recorded on this issue (the 2026-11-17 notes still describe phase 1 as unexecuted; queue task 10606 is stranded at its attempt cap and is superseded by this pickup).
Parity verified by this lane (2026-11-24):
- Outside sources (hatch-personal
workspace/turso-atlas/scripts/) SHA-256 match the provenance hashes recorded in pkgs/atlas-search/eval/README.md exactly: atlas_search.py 1b805be8…, eval3.py d121c442…, golden-queries-v3.json b64bc190….
- In-repo
atlas_search.py is AST-identical to the outside source (treefmt formatting only).
- In-repo
eval3.py is AST-identical modulo docstring path text (fixtures/golden-311.json).
- In-repo
golden-311.json is JSON-identical to golden-queries-v3.json (canonicalized diff: 0 lines).
This slice (phase-1 close-out): migration record PR in this repo (per-row §8 inventory with verified status), retirement marks on the three outside copies (hatch-personal branch), seat wrapper atlas-search-py repointed at the in-repo copy, and linked slice issues for the remaining §8 rows. The golden-311 run from the new home (acceptance criterion 3) is filed as its own slice — it needs the laptop corpus and a healthy amd-6.
developing-today-fleet commented on Nov 24, 2026 🤖 Agent note · phase-1 close-out landed (PR open for review)
- Agent: Felix (muse lane, worker felix)
- Found via: fleet agent next — local shortlist draw (2026-11-24); pickup note: comment 7123849214
Landed this slice:
- PR record(atlas): #5670 phase-1 migration verification + close-out #14133 (this repo, unmerged for Felix's review): the phase-1 migration record —
doc/2026-11-24T06-23-32Z_report_id5670_phase1_atlas_python_migration/ — with the parity proof (outside SHA-256s match the recorded provenance hashes; in-repo atlas_search.py AST-identical; eval3.py AST-identical modulo docstring; golden-311.json JSON-identical), the full §8 inventory at 2026-11-24, and an eval README note that the in-repo copies are canonical.
- hatch-personal PR chore(deps): bump prettier-plugin-toml from 1.0.0 to 2.0.1 #84 (unmerged): retirement marks on the three outside copies (headers on
atlas_search.py / eval3.py, migration-status section in the turso-atlas README). Note: the seat's hatch-personal clone has a diverged local-only history (~13.9k unpushed snapshot commits incl. >50 MB blobs), so a git push was declined by GitHub's pre-receive hook; the branch was created via the Git API from current remote main after verifying the remote files' SHA-256s match the migration sources.
- Seat wrapper:
~/tools/bin/atlas-search-py now execs the in-repo pkgs/atlas-search/atlas_search.py (was: the hatch-personal copy, which it called canonical). No behaviour change: the script is AST-identical, and the wrapper's failure mode on this seat (the turso-atlas .venv is a restore stub) is unchanged — the Python reference runs from the laptop venv, as the eval README documents.
Remainder, filed + enqueued in the same pass (repo-health-code-pilot):
Disposition of old task 10606: its phase-1 scope is what landed on 2026-11-07 and is closed out here; the task is stranded at its attempt cap in the broker and needs no further action — this note is its terminal record on the issue.
#5670 stays open: criteria 2 (final outside-copy grep) and 3 (golden-311 run) close with #14128–#14132.
dezren39 commented on Nov 24, 2026
#14128 slice update (lane oc-code-04, task 21684): aggregator-absorption verification is recorded on #14128 (comment with the per-script table).
dezren39 commented on Nov 24, 2026 🤖 Agent note · second-pass verify-and-route (task 21827, lane oc-code-04)
Fresh verification (2026-11-24 ~08:05Z): #5670 OPEN, labels task/small-fix + epic/atlas-program. Phase-1 landed: PR #14133 MERGED 2026-11-24 (migration record + parity proof) on top of #7775 (pkgs/atlas-search vendoring). Remainder slices all OPEN with queue coverage: #14128 (task 21684 done — embed_pass3/embed_onnx COVERED, atlas-ingest PARTIAL), #14129 (task 21685 parked), #14130 (task 21687 parked), #14131 (task 21688 claimed), #14132 (task 21689 parked).
Gap found with no queue task: #14162 (9 conversation-export session adapters, no staging counterpart — blocks atlas-ingest.py retirement). Routed as fix task 22568 in repo-health-code-pilot.
Verdict: no further packets from this pass. #5670 stays open pending #14128–#14132 + #14162.
dezren39 commented on Nov 24, 2026 Parity-run status for §8 / #14131 (lane oc-code-07, 2026-11-24): the eval was attempted from the in-repo copy and the corpus guard aborted — corpus.db holds 101,276 of the frozen 101,471 chunks (195 absent, incl. golds 99555 and 101436), so no Gate B comparison is valid and no numbers are posted. Full evidence on #14131. The §8 remainder is: restore the frozen corpus (mismatch dates to a 2026-11-22 rebuild) and rerun. Task 21688 parked on that condition. dezren39 commented on Nov 24, 2026 xaltha lane note (2026-11-24 ~17:50 CST, hourly work-loop): drew #5670 from the shortlist and claim-checked before starting. Standing down this run — no new slice started: Felix's phase-1 migration record PR #14133 is open for Felix's review, oc-code-04's aggregator-absorption verification is recorded on #14128, and the remaining rows are gated on those unmerged PRs and the in-flight index rewrite (marked do-not-touch in the issue). A parallel xaltha slice would collide; will re-draw once #14133/#14128 land. dezren39 commented on Nov 25, 2026 §8 ~/tools/bin/atlas-search wrapper row verified complete via task 21687 (2026-11-25): laptop serve role is live (fleet serve search, health ready); wrapper path is absent on the laptop; Appendix A query fleet binary consolidation status returned identical ordered top-10 IDs through fleet search and its standalone atlas-search fallback target. No profile binary or service files were removed. Details/evidence: #14130. developing-today-fleet commented on Nov 26, 2026 code-h triage update — 2026-11-26 (Fleet task 24865)
Fresh recheck: #5670 remains open and is already being worked through its §8 child slices; no duplicate migration work was started.
Verdict: #5670 stays open. Existing child issues provide the work breakdown; the currently uncovered execution recovery is already routed through queued task 25082. No code changed in this triage pass. developing-today-fleet commented on Nov 27, 2026 🤖 Agent note · triage verified — parent stays open, children tracked (1837-I)
- Agent: Archer lane 1837-I · queue task 25401
- Fresh verification (2026-11-26): migrate all Atlas/search/embedder scripts into developing-today/code + fleet binary; retire outside copies #5670 OPEN, labels task/small-fix + epic/atlas-program, no held/user gate on this issue itself. Read all 73 comments; latest triage of record is task 24865 (2026-11-26T23:47Z), re-verified here.
- Phase 1 complete: PR record(atlas): #5670 phase-1 migration verification + close-out #14133 merged 2026-11-24 (migration/parity record, pkgs/atlas-search vendoring).
- §8 remainder, verified live this run: atlas(#5670 §8): retire the atlas-search wrapper once the fleet serve search role is the production path #14130 CLOSED (wrapper retired); atlas(#5670 §8): verify aggregator absorption of embed_pass3.py / embed_onnx.py / atlas-ingest.py; retire outside copies #14128 OPEN (atlas-ingest gap); atlas(#5670 §8): atlas-backup → fleet search backup verb (verify nix copy vs surviving shell original first) #14129 OPEN status:in-review (atlas-backup); atlas(#5670 §8): run the eval harness from its new home — golden-311 parity run (acceptance criterion 3) #14131 OPEN parked + user/review (golden-311 parity, corpus-gated); atlas(#5670 §8): historical archive/delete — swap-2026-11-03 evidence archive + transfer artifacts (laptop, gated) #14132 OPEN queued/needs-triage (historical archive/delete, gated); atlas(#14128 gap): conversation-export session adapters have no staging counterpart — atlas-ingest.py not yet retired #14162 OPEN claimed/in-progress (conversation-export adapters; PR feat(atlas): add Muse conversation staging adapter #15659 open, owned by that claimed lane — not merged from here to avoid collision).
- Verdict: migrate all Atlas/search/embedder scripts into developing-today/code + fleet binary; retire outside copies #5670 is a parent tracker and cannot close yet; no duplicate migration work started, no new packet needed — every remainder row already has a child issue with queue coverage. This triage task (25401) completes as triaged/tracked; the parent closes only when atlas(#5670 §8): verify aggregator absorption of embed_pass3.py / embed_onnx.py / atlas-ingest.py; retire outside copies #14128, atlas(#5670 §8): atlas-backup → fleet search backup verb (verify nix copy vs surviving shell original first) #14129, atlas(#5670 §8): run the eval harness from its new home — golden-311 parity run (acceptance criterion 3) #14131, atlas(#5670 §8): historical archive/delete — swap-2026-11-03 evidence archive + transfer artifacts (laptop, gated) #14132 and atlas(#14128 gap): conversation-export session adapters have no staging counterpart — atlas-ingest.py not yet retired #14162 close.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|