feat: add checkpoint_remote config for separate checkpoint push#670
Open
mvanhorn wants to merge 1 commit intoentireio:mainfrom
Open
feat: add checkpoint_remote config for separate checkpoint push#670mvanhorn wants to merge 1 commit intoentireio:mainfrom
mvanhorn wants to merge 1 commit intoentireio:mainfrom
Conversation
When working on public repos, checkpoint branches expose session transcripts to origin. This adds a checkpoint_remote setting in strategy_options that redirects checkpoint and trails branch pushes to a separate (private) remote. Falls back to the default push remote with a warning if the configured remote doesn't exist in git config. Closes entireio#666 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 tasks
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.
Summary
Fixes #666
Adds a
checkpoint_remoteconfiguration option that lets users push theentire/checkpoints/v1branch to a separate remote instead of the default push remote. This is useful for:Changes
cmd/entire/cli/settings/settings.go- AddedGetCheckpointRemote()methodcmd/entire/cli/strategy/push_common.go- AddedresolveCheckpointRemote()with remote existence validation and fallbackcmd/entire/cli/strategy/manual_commit_push.go- ModifiedPrePushto use configured checkpoint remotecmd/entire/cli/setup.go- Added--checkpoint-remoteflag toentire enableUsage
Or via CLI:
entire enable --agent claude-code --checkpoint-remote entire-privateThe configured remote must already exist (
git remote add entire-private <url>). If the remote doesn't exist, falls back to the default remote with a warning log.Complements the existing
push_sessions: falseoption mentioned by @Soph in the issue thread.Test plan
gofmtandgo vetcleanThis contribution was developed with AI assistance (Claude Code).