Refactor CheckpointKind API and improve attribution/storage performance#1030
Open
jwiegley wants to merge 2 commits intojohnw/review-harden-daemonfrom
Open
Refactor CheckpointKind API and improve attribution/storage performance#1030jwiegley wants to merge 2 commits intojohnw/review-harden-daemonfrom
jwiegley wants to merge 2 commits intojohnw/review-harden-daemonfrom
Conversation
This was referenced Apr 9, 2026
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Apr 9, 2026
3e74bb3 to
79c693b
Compare
de93054 to
2c481e0
Compare
79c693b to
a0f2607
Compare
2c481e0 to
461e97a
Compare
a0f2607 to
9b1e189
Compare
461e97a to
ea06f26
Compare
9b1e189 to
a301b61
Compare
ea06f26 to
22ea859
Compare
a301b61 to
7a0c335
Compare
22ea859 to
3ba0e3d
Compare
499b585 to
2925d12
Compare
e6fc162 to
e70d3b2
Compare
After the append_checkpoint change to pure O(1) JSONL append, the ongoing pruning of char-level attributions was lost — it only ran during the one-time migration. Add pruning to mutate_all_checkpoints which already does a full read-modify-write cycle via post-commit. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5d6eb94 to
474106c
Compare
e70d3b2 to
0d06c80
Compare
Remove the accidentally committed lock file containing session-specific data (session ID, PID, timestamp) and add .claude/*.lock to .gitignore to prevent future accidental commits. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

API cleanup:
instead of allocating a new String on each call
Performance:
sort + O(n) scan instead of O(n*m) per-character coverage check
detect_moves instead of redundant recomputation
has_ai_checkpoints flag
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com