Skip to content

Switching writes to new ref store#1648

Merged
Soph merged 1 commit into
mainfrom
soph/enable-remote-refs
Jul 6, 2026
Merged

Switching writes to new ref store#1648
Soph merged 1 commit into
mainfrom
soph/enable-remote-refs

Conversation

@Soph

@Soph Soph commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

https://entire.io/gh/entireio/cli/trails/767

Let's enable the new ref backend. All new writes will go there, all reads go to where the checkpoint is (easy check by different checkpoint format)


Note

Medium Risk
Changes where and how new checkpoints are persisted for anyone using this settings file; existing hex/git-branch checkpoints should still read via ID routing, but mixed backends increase operational surface during the migration.

Overview
Turns on the git-refs primary checkpoint backend for this repo’s checked-in Entire local settings by adding checkpoints.primary.type: "git-refs". With that primary, new checkpoint writes go to the per-checkpoint git-ref store (ULID IDs) instead of the default git-branch / v1 layout; reads continue to resolve the correct backend from each checkpoint’s ID shape.

Also fixes JSON formatting (trailing comma after strategy) in the same file.

Reviewed by Cursor Bugbot for commit 74b8eea. Configure here.

@Soph Soph requested a review from a team as a code owner July 6, 2026 13:16
Copilot AI review requested due to automatic review settings July 6, 2026 13:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR flips the repository’s default checkpoint backend configuration so new checkpoint writes use the git-refs store, aligning local/dev behavior with the newer per-checkpoint ref backend while keeping read behavior format-routed by checkpoint ID kind.

Changes:

  • Update .entire/settings.json to set checkpoints.primary.type to git-refs.
  • Adjust JSON formatting to accommodate the new checkpoints block.

@Soph Soph merged commit 84d5a0a into main Jul 6, 2026
12 checks passed
@Soph Soph deleted the soph/enable-remote-refs branch July 6, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants