GeezerVison is showing github.com — atlas(#5670 §8): verify aggregator absorption of embed_pass3.py / embed_onnx.py / atlas-ingest.py; retire outside copies · Issue #14128 · developing-today/code
atlas(#5670 §8): verify aggregator absorption of embed_pass3.py / embed_onnx.py / atlas-ingest.py; retire outside copies #14128Backlog 0 / 10 of 1 issue completedBacklog 0 / 10 of 1 issue completed DescriptionSlice of #5670 (§8 of the Scaler-era data architecture revision, design PR #5667). Phase 1 (Python reference + eval corpus) is landed and parity-verified — see the phase-1 record linked from #5670.
Row: hatch-personal/workspace/turso-atlas/scripts/embed_pass3.py, embed_onnx.py, atlas-ingest.py → absorbed by the §4.3 aggregator (fleet serve search role) embedding/promotion stages. No file copy: the destination is Rust aggregator behaviour, so this slice is a coverage verification, then retirement.
Work:
- For each outside script, enumerate its functions (embedding passes ST + ONNX; publish/ingest into production atlas) and map each to the aggregator stage that replaces it (
pkgs/atlas-search stage/aggregator code, fleet serve search role). Record the mapping on this issue.
- Any function with no aggregator counterpart is a gap: file it as its own issue and link it here; do not retire that script yet.
- When coverage is complete, mark the three outside copies retired (header/README pointer in hatch-personal) and record the grep evidence on migrate all Atlas/search/embedder scripts into developing-today/code + fleet binary; retire outside copies #5670.
Related ingestion programme: #6018, #7969, #9097 — coordinate rather than duplicate.
Acceptance: a per-script coverage table recorded here; gaps filed as linked issues; covered scripts marked retired outside; #5670 updated.
{
"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-24T06:22:22Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "76bbec72135cee7bd837984b0cd283ae295766e0"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Sub-issuesCollapse Sub-issuesSub-issues0 of 10 of 1 Issues completedLoading 1 sub-issues Activitydeveloping-today commented on Nov 24, 2026 dezren39 commented on Nov 24, 2026 Active-work collision (2026-11-24)
I stopped this slice before editing. A fresh check of #5670 shows a live lane carrying out its phase-1 close-out, including retirement of the outside copies and filing the remaining §8 slices. That overlaps this issue’s verification/retirement acceptance criteria. To avoid duplicate edits, task 21684 is parked until the #5670 close-out work is recorded; then recheck coverage and take only any remaining gap. dezren39 commented on Nov 24, 2026
Aggregator-absorption coverage (2026-11-24, lane oc-code-04, task 21684)
Outside scripts read from dezren39/hatch-personal workspace/turso-atlas/scripts/ (function names only; no content reproduced). Counterparts checked against pkgs/atlas-search on main (b671c1ec): crates/atlas-embed, crates/atlas-core (aggregate.rs, embed.rs, stage.rs, boundary.rs), atlas-stage CLI, book/ design records.
embed_pass3.py — COVERED (function absorbed; engine superseded by design)
Single function main: resumable sentence-transformers corpus bake (chunk texts → (chunk_id, vec) sqlite rows, skip-present resume). Counterpart: crates/atlas-core/src/aggregate.rs embed-at-promotion (staged chunks → document-side prompt-free embed via DocEmbedder/AtlasEmbedder → core scan shard + manifest + M6 stamp → Registry::promote). The ST engine itself is superseded: production is ONNX (atlas-embed; "no sentence-transformers process in the path", book/concepts/embeddings.md), and resume granularity differs (unit-scoped retry with clean shard removal vs skip-present). Noted, not a gap: no missing function, engine choice is a design decision. Ready to retire outside.
embed_onnx.py — COVERED
Single function main: ONNX bake for snowflake-arctic-embed-m-v2.0 (tokenize → forward → CLS pooling per shipped 1_Pooling config → L2 normalize, onnxruntime, length-sorted). Counterpart: crates/atlas-embed — its module docs name this exact file as the parity target (Gate A, code#5351: bit-identical token ids, delta 0.0), consumed at promotion through AtlasEmbedder: DocEmbedder (embed.rs:169). Ready to retire outside.
atlas-ingest.py — PARTIAL: adapter family has no counterpart (gap filed)
30 functions. Covered: chunk_text/chunk_text_with_spans → boundary::split_by_boundaries + stage writers; h → content-hash path; _store_repo_files/ingest_repo → atlas-stage ingest --repo --path --file --commit; evidence/provenance/generations/tombstones → staging schema + merge manifests + gate_records + M6 stamp (provenance-as-record). open_store/load_config/main are scaffolding.
Gap: the conversation-export ingestion family — store_session, _source_root_and_item, all 9 adapters (adapt_muse/chatgpt/claude_export/claude_code/codex/opencode/copilot/antigravity/gemini + walkers _chatgpt_walk, _agy_titles, _pb_fields/_pb_strings, _opencode_legacy/_v2_msgs, _ms_iso) — has no counterpart. The repo records the hook as unbuilt (book/design/automatic-ingest.md:107, book/concepts/ingest.md:93, stage.rs out-of-scope list). Filed as #14162; do not retire atlas-ingest.py until it closes. Related: #9097 (continuous ingestion will need these adapters), #6018, #7969.
Retirement
embed_pass3.py + embed_onnx.py: retirement headers via hatch-personal PR (linked below) for review. atlas-ingest.py: stays live pending #14162.
dezren39 commented on Nov 25, 2026
Progress note (xaltha lane, hourly work-loop 2026-11-24 ~21:0x CST)
Claim-check and verification this run — no new PR, because the substantive slice is already recorded here by lane oc-code-04 (task 21684, 2026-11-24):
Remaining for this issue: only the #14162 adapter work (a separate, already-filed issue), after which atlas-ingest.py can be retired and the grep evidence recorded on #5670. Taking #14128 again before #14162 moves would duplicate oc-code-04's verification. Next slice: #14162, not this issue. dezren39 commented on Nov 26, 2026 Triage (lane 9, queue task 23920, 2026-11-26): blocked on one gap, unchanged since the last note.
Verdict: the queue task is blocked on #14162.
Generated by Claude Code
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|