Skip to content

feat(atlas): stage the four template conversation adapters (#14162) - #16767

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
felix/14162-template-adapters
Nov 29, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
felix/14162-template-adapters

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Fifth adapter slice for #14162: ports the remaining atlas-ingest.py adapters — 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.content as 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's text joined 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 from customTitle; 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 --lib invocations, 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.py retirement 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-bot with what you need.

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.
@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d21e2685-3f8d-44b2-94dd-998b9cd49b85

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants