Repository navigation
feat(atlas): stage the four template conversation adapters (#14162) - #16767
Merged
Merged
Conversation
Ports the remaining atlas-ingest.py adapters, each labelled a template there but fully written except gemini: - claude-code: projects/<proj>/<session>.jsonl; message.content as a string or text blocks only; role falls back to the record type. - codex: sessions/**/rollout-*.jsonl; message payloads only, every content item's text joined regardless of item type. - copilot: **/chatSessions/*.json; each request's stripped question and joined response stage independently; title from customTitle. - gemini: the Python template yields nothing (Google Takeout parser TODO, inventory only); the counterpart records that decision and is an explicit empty input. Golden tests transcribed from the Python behaviour for each adapter, including replay idempotence. No new dependencies.
3 tasks
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fifth adapter slice for #14162: ports the remaining
atlas-ingest.pyadapters — each labelled a template there, but fully written except gemini. With this PR, every adapter named on #14162 has a staging counterpart.What
claude_code.rs—projects/<proj>/<session>.jsonl;message.contentas a string or text blocks only; role = message role, falling back to the record type; malformed lines skipped.codex.rs—sessions/**/rollout-*.jsonl; message payloads only; every content item'stextjoined regardless of item type (per the Python); non-rollout files ignored.copilot.rs—**/chatSessions/*.json; each request's stripped question and joined response stage independently (either may appear without the other — pinned by a test); title fromcustomTitle; malformed files skipped.gemini.rs— the Python template yields nothing (Google Takeout parser TODO, inventory only); the counterpart records that decision explicitly as an empty input, so the adapter surface is complete and the gap is a recorded decision rather than an absence.Same staging contract as the sibling adapters (KEEP_ROLES in the driver before staging). No new dependencies.
Verification (remote, fleet-command)
Run 46261305223 — four filtered
cargo test -p atlas-core --libinvocations, all green: claude_code 2 passed, codex 2 passed, copilot 2 passed, gemini 1 passed (0 failed in each; 334 filtered out per run).Refs #14162. Remaining on the issue: the
atlas-ingest.pyretirement itself, tracked by #14128.{ "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-29T12:44:09Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch/worktrees/felix-14162-templates", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch/worktrees/felix-14162-templates", "repo": "developing-today/code", "branch": "felix/14162-template-adapters", "sha": "1e82f6d0a56c16367f78bc88aaf50bf4ae419f57" }, "auth_subject": "felix", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.