Checkpoints V2: Support compact format for Copilot CLI#862
Merged
computermode merged 3 commits intomainfrom Apr 7, 2026
Merged
Checkpoints V2: Support compact format for Copilot CLI#862computermode merged 3 commits intomainfrom
computermode merged 3 commits intomainfrom
Conversation
Entire-Checkpoint: d55bdfeec2aa
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Copilot CLI support to the transcript “compact” transformer so Copilot’s events.jsonl can be normalized into the repo’s transcript.jsonl format (Checkpoints V2).
Changes:
- Add Copilot-format detection and a Copilot-specific compaction pipeline (user/assistant messages + inlined tool results).
- Add fixture-based regression test coverage for Copilot compaction.
- Add Copilot testdata fixtures (full input + expected compact output).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| cmd/entire/cli/transcript/compact/compact.go | Routes Copilot transcripts through the new Copilot compactor. |
| cmd/entire/cli/transcript/compact/copilot.go | Implements Copilot JSONL detection and compaction logic (incl. inlining tool.execution_complete results). |
| cmd/entire/cli/transcript/compact/copilot_test.go | Adds a fixture-based test for Copilot compaction. |
| cmd/entire/cli/transcript/compact/testdata/copilot_full.jsonl | Copilot raw input fixture used by tests. |
| cmd/entire/cli/transcript/compact/testdata/copilot_expected.jsonl | Expected compact output fixture used by tests. |
Entire-Checkpoint: 6c0391841a6f
Contributor
Author
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 56c7ca0. Configure here.
pfleidi
approved these changes
Apr 7, 2026
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.
Adds support for checkpoint V2's compact transcript.jsonl file format for Copilot CLI - the same process as for other agents (ie. #819, #852)
Converts full.jsonl files to the compact, unified transcript.jsonl format to save on space + parsing logic for downstream clients. This is to support future checkpoints V2 work.
Note
Medium Risk
Adds a new transcript format detector and converter that changes how
Compactroutes inputs, so mis-detection or edge-case parsing could alter output for some JSONL transcripts. Scope is limited to transcript normalization logic with fixture coverage.Overview
Adds Copilot CLI
events.jsonlsupport to the transcript compactor, detecting Copilot entries (e.g.user.message,assistant.message,tool.execution_complete) and converting them into the normalizedtranscript.jsonloutput with assistanttool_useblocks and inlined tool results.Updates
Compactto route truncated input through the new Copilot path before the existing Droid/JSONL handling, and includes a fixture-based test plus expected compact output for Copilot transcripts.Reviewed by Cursor Bugbot for commit 56c7ca0. Configure here.