You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
atlas(#14128 gap): conversation-export session adapters have no staging counterpart — atlas-ingest.py not yet retired #14162
effort/mMedium: expected under 1 day of workepic/atlas-programReprioritization program epic (2026-11-12)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)status/in-progressQueue worker lifecycle statetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state
Follow-up to #14128 (atlas-ingest.py coverage verification, slice of #5670 §8).
Gap
atlas-ingest.py (hatch-personal @ 9102b05) contains 9 conversation-export session adapters (ingest_conversation_export* family) with no counterpart in pkgs/atlas-search (checked crates/atlas-core/src/aggregate.rs, crates/atlas-embed/src/lib.rs, book/design/automatic-ingest.md:107, book/concepts/ingest.md:93). The unbuilt session-close hook is recorded in the same books.
Why this blocks retirement
Per #14128 acceptance, a script with any unmapped function stays live. embed_pass3.py and embed_onnx.py are fully covered and retired in dezren39/hatch-personal#89; atlas-ingest.py is NOT retired until these 9 adapters land in the Rust aggregator or are explicitly scoped out.
Next step
Port the 9 adapters to the aggregator staging path, or record a design decision scoping them out, then retire atlas-ingest.py.
Refs #14128
Related program: #5670 §8
Lane: oc-code-04 residual (filed from task 21684 verification 2026-11-24)
Acceptance criteria
Conversation-export session adapters in atlas have a staging counterpart, or the gap is closed by an explicit recorded decision that staging is not required for these adapters.
The staging path (or the decision record) is linked from the issue before it closes.
No production export behaviour changes as part of closing the staging gap.
(Acceptance criteria appended by the fleet monitor at intake, 2026-11-27; original body preserved verbatim above.)
Triage verdict (oc-code-04, queue task 22532, 2026-11-24): still open and unresolved. The gap is that conversation-export session adapters have no staging counterpart, so atlas-ingest.py is not yet retired. No code packet routed from this pass; tracked under #14158. Not closed.
Sizing spike (lane code-h, task 22568, 2026-11-24): full 9-adapter Rust port does not fit this claim; parking with a sliced resume plan. Inventory of atlas-ingest.py (hatch-personal workspace/turso-atlas/scripts, 504 lines):
Implemented (5): muse (agent JSONL, both message shapes), chatgpt (export zip/folder + mapping-chain walk), claude (conversations.json), opencode (SQLite v2 + legacy fallback + old JSON layout; covers OpenChamber, same store), antigravity (brain transcript JSONL + protobuf title decode).
Template/stub (4): claude-code, codex, copilot (formats guessed, unvalidated); gemini (yields nothing — Takeout parser TODO).
Shared core every port needs: store_session sid scheme (client:sess_id), message/chunk id hashing, chunk_text splitter, KEEP_ROLES filter.
No counterpart exists in pkgs/atlas-search (grep for conversation_export/session_adapter/ingest_conversation: zero hits); staging tier (atlas_stage v1, stage_artifact, registry) exists and is the sink. Constraint: #9097 (thinking-trace ingest undecided) bounds what may be staged.
Proposed slices: (1) shared session-staging core in atlas-core with tests; (2-6) one port slice per implemented adapter with golden fixtures; (7) validate-then-port the 4 templates against real exports; (8) cutover: retire atlas-ingest.py + update #5670 §8 row. Task 22568 parked with this resume condition.
Status: blocked on source access, no PR. Branch pushed for resume: xaltha/14162-session-staging-core (empty, at origin/main 0a13639); worktree code-14162 on this seat.
Blocker: slice 1 must faithfully reproduce atlas-ingest.py's shared core semantics — store_session sid scheme (client:sess_id), message/chunk id hashing, chunk_text splitter, and the KEEP_ROLES filter (per lane code-h's sizing spike, task 22568). The script lives in dezren39/hatch-personal (workspace/turso-atlas/scripts, 504 lines @ 9102b05), which is not cloned on this seat, and the pooled fleet gh contents API for that path/ref returns 404. Porting invented hash/chunk semantics would bake a wrong contract into atlas-core that adapter slices 2–6 would then have to break, so this lane did not guess.
Resume condition (any one):
Vendor atlas-ingest.py (or its core functions) into this repo, e.g. under pkgs/atlas-search/book/ or as a fixture source, or
Post the core excerpts on this issue: store_session, the id-hash function, chunk_text, and KEEP_ROLES.
With the source in hand, slice 1 is: a session_stage module in atlas-core implementing that core against the existing atlas_stage v1 sink (stage.rs), with unit tests mirroring the Python behaviour.
Re-check — lane xaltha, hourly work-loop 2026-11-24 ~22:05 CST: handed again via fleet agent next; status unchanged from my 17:55 CST note above — still blocked on source access to atlas-ingest.py's shared core (resume conditions 1–2 in that note still stand). No PR; branch xaltha/14162-session-staging-core remains pushed for resume.
Resumed slice 1 for task 22568 on lane agent-next-25-local. I recovered the source atlas-ingest.py from the connected GitHub repository and verified the shared contract (client:sess_id, SHA-256 message/chunk hashes, 3,500-character chunking, and user/assistant/human role filter). I am implementing the shared Rust staging core against the existing atlas_stage v1 sink; adapter ports remain later slices.
Session / ID: repo-fleet-monitor run 2026-11-25 08:14 CST
Found via: monitor reconciliation
Task: Label/state reconciliation: task 22568 is claimed with a live lease in repo-health-code-pilot, but the issue labels did not mirror the claim. Labels synced to the truth: queue/claimed + work/assigned + status/in-progress (as applicable).
The verification run named in this PR's body — run 45615967593 on developing-today-forks/fleet (cargo test -p atlas-core --lib session_stage::tests, branch xaltha/14162-session-staging-core, head bcaa7a252) — completed with conclusion failure (2026-11-25T12:40:09Z–12:43:43Z). Conclusion/metadata only were read; no CI logs were read.
A fresh verification has been dispatched via the fleet-command.yml fallback on developing-today/fleet against the same branch/head, using the corrected fleet-build runner form (CARGO_HOME=/tmp/vscode-cargo override): run 45638021492, status in_progress at dispatch — https://github.com/developing-today/fleet/actions/runs/45638021492
Command: cargo test -p atlas-core --lib session_stage (in pkgs/atlas-search nix dev shell). PR feat(atlas): add shared conversation session staging core #15093 is not verified-green yet; the next lane should read run 45638021492's conclusion when it completes.
The re-dispatched verification run announced in the previous note — run 45638021492 on developing-today/fleet (fleet-command.yml fallback, cargo test -p atlas-core --lib session_stage in pkgs/atlas-search nix dev shell, branch xaltha/14162-session-staging-core) — has completed with conclusion failure (created 2026-11-25T14:48:06Z, completed/updated 2026-11-25T14:52:49Z): https://github.com/developing-today/fleet/actions/runs/45638021492
Conclusion/metadata only were read; no CI logs were read.
PR feat(atlas): add shared conversation session staging core #15093 is not verified-green. Identifying the failing step requires reading that run's CI logs, which is a distinct execution-risk class outside the blanket routine fetch/checkout approval — that step needs a specific log-read go-ahead before any lane diagnoses or fixes from the log content.
Correction to the note above: the Claude-export slice PR is #16688 (#16688), not #16684 — the number in the previous comment was written before the create returned. Everything else in that note stands.
🤖 Agent note · third slice landed — Felix lane (worker felix), 2026-11-29
PR #16701 (#16701, branch felix/14162-antigravity-adapter, head 9bc60af, unmerged for review): Antigravity (agy CLI) adapter ported to atlas-core (crates/atlas-core/src/antigravity.rs), including the schema-less protobuf title walk. Verification: fleet-command run 46248662402 at exact head — cargo test -p atlas-core --lib antigravity: 4 passed / 0 failed.
🤖 Agent note · fourth slice claimed — Felix lane (worker felix), 2026-11-29
Taking the opencode adapter — the last Python-implemented adapter without a staging counterpart. Scope per adapt_opencode in atlas-ingest.py: all three layouts (SQLite v2 session_v2/session_message with legacy fallback for unmigrated session ids; SQLite legacy session/message/part; JSON storage/session + storage/message tree), epoch-ms → ISO-8601 UTC timestamps, text-parts-only staging. No new dependencies (rusqlite is already an atlas-core dependency; the ISO conversion is hand-rolled to match Python datetime.isoformat() exactly).
🤖 Agent note · fourth slice open for review — Felix lane (worker felix), 2026-11-29
PR #16758 — #16758 — ports adapt_opencode, the last Python-implemented adapter: all three layouts (SQLite v2 authoritative + legacy fallback for unmigrated ids, SQLite legacy, JSON storage tree), epoch-ms → ISO-8601 UTC matching Python isoformat() exactly, no new dependencies (rusqlite was already present).
Verification (remote, fleet-command run 46258543676): cargo test -p atlas-core --lib opencode — 5 passed / 0 failed, 320 filtered out. Two earlier runs on the branch caught compile errors in the new code, both fixed in-branch (46251956033, 46253773584).
Implemented adapters now covered: muse, chatgpt (PR #16682), claude export (PR #16688), antigravity (PR #16701), opencode (PR #16758). Remaining: the template adapters (claude-code, codex, copilot — defined shapes in the Python; gemini is a stub that yields nothing) and the atlas-ingest.py retirement under #14128.
🤖 Agent note · fifth slice claimed — Felix lane (worker felix), 2026-11-29
Taking the four template adapters in one slice: claude-code, codex, copilot (all fully written in the Python despite the TEMPLATE label — glob + record shapes defined) and gemini (a stub that yields nothing; its counterpart records that behaviour explicitly). After this slice every adapter named on this issue has a staging counterpart.
🤖 Agent note · fifth slice open for review — Felix lane (worker felix), 2026-11-29
PR #16767 — #16767 — ports the four template adapters: claude-code, codex, copilot (all fully written in the Python despite the TEMPLATE label), and gemini (a stub yielding nothing; its counterpart records that as an explicit empty input). Every adapter named on this issue now has a staging counterpart across PRs #16682, #16688, #16701, #16758, #16767.
Verification (remote, fleet-command run 46261305223, completed success): four filtered cargo test -p atlas-core --lib invocations, all green — claude_code 2 passed, codex 2 passed, copilot 2 passed, gemini suite ok; 0 failed in each.
Remaining on #14162: nothing adapter-side. The atlas-ingest.py retirement itself is tracked by #14128.
Acceptance check: (1) staging counterparts exist for all 9 adapters ✅; (2) the staging PRs are linked from this issue (Felix lane notes above) ✅; (3) the ports are staging-path additions only — no production export behaviour change ✅.
Closing as complete. The atlas-ingest.py retirement itself remains tracked by #14128, per the Felix note above — nothing adapter-side remains here.
effort/mMedium: expected under 1 day of workepic/atlas-programReprioritization program epic (2026-11-12)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)status/in-progressQueue worker lifecycle statetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state
Activity
developing-today commentedon Nov 24, 2026
CODE-5207
dezren39 commentedon Nov 24, 2026
Triage verdict (oc-code-04, queue task 22532, 2026-11-24): still open and unresolved. The gap is that conversation-export session adapters have no staging counterpart, so atlas-ingest.py is not yet retired. No code packet routed from this pass; tracked under #14158. Not closed.
dezren39 commentedon Nov 24, 2026
Sizing spike (lane code-h, task 22568, 2026-11-24): full 9-adapter Rust port does not fit this claim; parking with a sliced resume plan. Inventory of atlas-ingest.py (hatch-personal workspace/turso-atlas/scripts, 504 lines):
Implemented (5): muse (agent JSONL, both message shapes), chatgpt (export zip/folder + mapping-chain walk), claude (conversations.json), opencode (SQLite v2 + legacy fallback + old JSON layout; covers OpenChamber, same store), antigravity (brain transcript JSONL + protobuf title decode).
Template/stub (4): claude-code, codex, copilot (formats guessed, unvalidated); gemini (yields nothing — Takeout parser TODO).
Shared core every port needs: store_session sid scheme (client:sess_id), message/chunk id hashing, chunk_text splitter, KEEP_ROLES filter.
No counterpart exists in pkgs/atlas-search (grep for conversation_export/session_adapter/ingest_conversation: zero hits); staging tier (atlas_stage v1, stage_artifact, registry) exists and is the sink. Constraint: #9097 (thinking-trace ingest undecided) bounds what may be staged.
Proposed slices: (1) shared session-staging core in atlas-core with tests; (2-6) one port slice per implemented adapter with golden fixtures; (7) validate-then-port the 4 templates against real exports; (8) cutover: retire atlas-ingest.py + update #5670 §8 row. Task 22568 parked with this resume condition.
dezren39 commentedon Nov 24, 2026
Progress note — lane xaltha, hourly work-loop 2026-11-24 ~17:55 CST (slice 1 attempt: shared session-staging core).
Status: blocked on source access, no PR. Branch pushed for resume:
xaltha/14162-session-staging-core(empty, at origin/main 0a13639); worktreecode-14162on this seat.Blocker: slice 1 must faithfully reproduce
atlas-ingest.py's shared core semantics —store_sessionsid scheme (client:sess_id), message/chunk id hashing,chunk_textsplitter, and theKEEP_ROLESfilter (per lane code-h's sizing spike, task 22568). The script lives in dezren39/hatch-personal (workspace/turso-atlas/scripts, 504 lines @ 9102b05), which is not cloned on this seat, and the pooledfleet ghcontents API for that path/ref returns 404. Porting invented hash/chunk semantics would bake a wrong contract into atlas-core that adapter slices 2–6 would then have to break, so this lane did not guess.Resume condition (any one):
atlas-ingest.py(or its core functions) into this repo, e.g. underpkgs/atlas-search/book/or as a fixture source, orstore_session, the id-hash function,chunk_text, andKEEP_ROLES.With the source in hand, slice 1 is: a
session_stagemodule in atlas-core implementing that core against the existingatlas_stagev1 sink (stage.rs), with unit tests mirroring the Python behaviour.dezren39 commentedon Nov 25, 2026
Re-check — lane xaltha, hourly work-loop 2026-11-24 ~22:05 CST: handed again via
fleet agent next; status unchanged from my 17:55 CST note above — still blocked on source access toatlas-ingest.py's shared core (resume conditions 1–2 in that note still stand). No PR; branchxaltha/14162-session-staging-coreremains pushed for resume.dezren39 commentedon Nov 25, 2026
Resumed slice 1 for task 22568 on lane agent-next-25-local. I recovered the source
atlas-ingest.pyfrom the connected GitHub repository and verified the shared contract (client:sess_id, SHA-256 message/chunk hashes, 3,500-character chunking, and user/assistant/human role filter). I am implementing the shared Rust staging core against the existing atlas_stage v1 sink; adapter ports remain later slices.developing-today-fleet commentedon Nov 25, 2026
🤖 Agent note · <state: picked up>
dezren39 commentedon Nov 25, 2026
Verification follow-up (xaltha lane, 2026-11-25 ~08:41 CST hourly loop):
cargo test -p atlas-core --lib session_stage::tests, branchxaltha/14162-session-staging-core, headbcaa7a252) — completed with conclusion failure (2026-11-25T12:40:09Z–12:43:43Z). Conclusion/metadata only were read; no CI logs were read.cargo test -p atlas-core --lib session_stage(in pkgs/atlas-search nix dev shell). PR feat(atlas): add shared conversation session staging core #15093 is not verified-green yet; the next lane should read run 45638021492's conclusion when it completes.dezren39 commentedon Nov 25, 2026
Verification follow-up (xaltha lane, 2026-11-25 ~09:44 CST hourly loop):
cargo test -p atlas-core --lib session_stagein pkgs/atlas-search nix dev shell, branchxaltha/14162-session-staging-core) — has completed with conclusion failure (created 2026-11-25T14:48:06Z, completed/updated 2026-11-25T14:52:49Z): https://github.com/developing-today/fleet/actions/runs/4563802149223 remaining items
developing-today-fleet commentedon Nov 29, 2026
Correction to the note above: the Claude-export slice PR is #16688 (#16688), not #16684 — the number in the previous comment was written before the create returned. Everything else in that note stands.
Merge pull request #16688 from developing-today/felix/14162-claude-ex…
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · third slice landed — Felix lane (worker felix), 2026-11-29
PR #16701 (#16701, branch
felix/14162-antigravity-adapter, head 9bc60af, unmerged for review): Antigravity (agy CLI) adapter ported to atlas-core (crates/atlas-core/src/antigravity.rs), including the schema-less protobuf title walk. Verification: fleet-command run 46248662402 at exact head —cargo test -p atlas-core --lib antigravity: 4 passed / 0 failed.Adapters status: muse ✅ (#15659), chatgpt ✅ (#16682 pending), claude ✅ (#16688 pending), antigravity ✅ (this PR, pending). Remaining: opencode (implemented in Python — JSON + SQLite layouts); claude-code, codex, copilot, gemini (Python templates).
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · fourth slice claimed — Felix lane (worker felix), 2026-11-29
Taking the opencode adapter — the last Python-implemented adapter without a staging counterpart. Scope per
adapt_opencodein atlas-ingest.py: all three layouts (SQLite v2session_v2/session_messagewith legacy fallback for unmigrated session ids; SQLite legacysession/message/part; JSONstorage/session+storage/messagetree), epoch-ms → ISO-8601 UTC timestamps, text-parts-only staging. No new dependencies (rusqlite is already an atlas-core dependency; the ISO conversion is hand-rolled to match Pythondatetime.isoformat()exactly).Merge pull request #16682 from developing-today/felix/14162-chatgpt-a…
Merge pull request #16701 from developing-today/felix/14162-antigravi…
fix(atlas): table-name membership checks compare as str (#14162)
fix(atlas): i64 suffixes on epoch-ms literals in opencode JSON test (#…
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · fourth slice open for review — Felix lane (worker felix), 2026-11-29
PR #16758 — #16758 — ports
adapt_opencode, the last Python-implemented adapter: all three layouts (SQLite v2 authoritative + legacy fallback for unmigrated ids, SQLite legacy, JSON storage tree), epoch-ms → ISO-8601 UTC matching Pythonisoformat()exactly, no new dependencies (rusqlite was already present).Verification (remote, fleet-command run 46258543676):
cargo test -p atlas-core --lib opencode— 5 passed / 0 failed, 320 filtered out. Two earlier runs on the branch caught compile errors in the new code, both fixed in-branch (46251956033, 46253773584).Implemented adapters now covered: muse, chatgpt (PR #16682), claude export (PR #16688), antigravity (PR #16701), opencode (PR #16758). Remaining: the template adapters (claude-code, codex, copilot — defined shapes in the Python; gemini is a stub that yields nothing) and the atlas-ingest.py retirement under #14128.
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · fifth slice claimed — Felix lane (worker felix), 2026-11-29
Taking the four template adapters in one slice: claude-code, codex, copilot (all fully written in the Python despite the TEMPLATE label — glob + record shapes defined) and gemini (a stub that yields nothing; its counterpart records that behaviour explicitly). After this slice every adapter named on this issue has a staging counterpart.
Merge pull request #16758 from developing-today/felix/14162-opencode-…
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · fifth slice open for review — Felix lane (worker felix), 2026-11-29
PR #16767 — #16767 — ports the four template adapters: claude-code, codex, copilot (all fully written in the Python despite the TEMPLATE label), and gemini (a stub yielding nothing; its counterpart records that as an explicit empty input). Every adapter named on this issue now has a staging counterpart across PRs #16682, #16688, #16701, #16758, #16767.
Verification (remote, fleet-command run 46261305223, completed success): four filtered
cargo test -p atlas-core --libinvocations, all green — claude_code 2 passed, codex 2 passed, copilot 2 passed, gemini suite ok; 0 failed in each.Remaining on #14162: nothing adapter-side. The atlas-ingest.py retirement itself is tracked by #14128.
Merge pull request #16767 from developing-today/felix/14162-template-…
dezren39 commentedon Nov 29, 2026
🤖 Agent note · triage verdict — Xaltha lane 0647-L17 (queue task 25493), 2026-11-29
Validated live: every conversation-export session adapter named on this issue now has a merged staging counterpart in atlas-core —
Acceptance check: (1) staging counterparts exist for all 9 adapters ✅; (2) the staging PRs are linked from this issue (Felix lane notes above) ✅; (3) the ports are staging-path additions only — no production export behaviour change ✅.
Closing as complete. The
atlas-ingest.pyretirement itself remains tracked by #14128, per the Felix note above — nothing adapter-side remains here.