Skip to content

Add checkpoint sync destination picker to entire enable#1172

Open
evisdren wants to merge 5 commits into
mainfrom
evis/public-repo-warning
Open

Add checkpoint sync destination picker to entire enable#1172
evisdren wants to merge 5 commits into
mainfrom
evis/public-repo-warning

Conversation

@evisdren
Copy link
Copy Markdown
Contributor

@evisdren evisdren commented May 9, 2026

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

Summary

CleanShot.2026-05-09.at.13.46.41-converted.mp4
  • Adds an interactive picker during entire enable asking where checkpoints should sync: this repo's remote, a separate private checkpoint repo, or local-only
  • Non-interactive mode (--yes/CI) prints an informational notice with the entire configure --checkpoint-remote command
  • Selecting "A separate private checkpoint repo" prompts for the repo in github:owner/repo format and validates the input
  • Selecting "Keep checkpoints local only" sets --skip-push-sessions
  • Includes footer: "Transcripts may contain sensitive data. Redaction is best-effort."

Test plan

  • Unit tests for all three picker branches (this-remote, local, separate-repo)
  • Unit tests for invalid input (bad format, unsupported provider)
  • Unit test for non-interactive --yes mode output
  • All existing CLI tests pass
  • mise run fmt && mise run lint clean
  • Manual test: run entire enable interactively and verify picker renders correctly
  • Manual test: run entire enable --yes and verify notice prints

🤖 Generated with Claude Code


Note

Medium Risk
Changes the entire enable interactive flow to set checkpoint-sync related strategy options, which could affect where session transcripts get pushed and introduce new prompt/CI behavior.

Overview
Adds an interactive checkpoint-sync destination picker to entire enable, letting users choose syncing to the current repo remote, a separate private checkpoint repo (validated github:owner/repo), or local-only (sets --skip-push-sessions).

In --yes/non-interactive mode, it skips prompting and prints a notice with guidance for entire configure --checkpoint-remote, plus a sensitivity/redaction footer. Includes unit tests covering all branches, skip conditions, and invalid/unsupported repo inputs.

Reviewed by Cursor Bugbot for commit 5741a6c. Configure here.

evisdren and others added 2 commits May 9, 2026 13:21
During `entire enable`, users are now prompted to choose where checkpoint
data should sync: this repo's remote (default), a separate private
checkpoint repo, or local-only. This makes the checkpoint destination an
explicit choice rather than a hidden default, helping users avoid
accidentally pushing sensitive transcript data to public repos.

Interactive mode shows a huh Select picker with three options. Selecting
"A separate private checkpoint repo" prompts for the repo in
github:owner/repo format. Non-interactive mode (--yes/CI) prints an
informational notice with the configure command.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: b3257fa78e5b
Adds a blank line between "Selected agents:" and the checkpoint sync
footer text so they don't run together visually.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 78193a12b231
Copilot AI review requested due to automatic review settings May 9, 2026 19:32
@evisdren evisdren requested a review from a team as a code owner May 9, 2026 19:32
Comment thread cmd/entire/cli/setup.go
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a checkpoint sync destination selection step to the interactive entire enable flow, aiming to guide users toward syncing checkpoints to the current repo remote, a separate private checkpoint repo, or keeping checkpoints local-only.

Changes:

  • Introduces an interactive picker (and follow-up input for separate repo) to set checkpoint sync behavior during entire enable.
  • Adds non-interactive/--yes output that explains how to configure a private checkpoint repo.
  • Adds unit tests covering non-interactive output and option application/validation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
cmd/entire/cli/setup.go Adds the checkpoint sync picker/notice and applies the choice into EnableOptions during runEnableInteractive.
cmd/entire/cli/setup_test.go Adds unit tests for non-interactive notice output and applyCheckpointSyncChoice behavior/validation.

Comment thread cmd/entire/cli/setup.go
Comment thread cmd/entire/cli/setup.go
Comment thread cmd/entire/cli/setup.go
Comment thread cmd/entire/cli/setup.go
Comment thread cmd/entire/cli/setup.go
Comment thread cmd/entire/cli/setup.go
evisdren and others added 2 commits May 9, 2026 13:42
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 0e5c17c5d9e7
…g opts

- Skip checkpoint sync prompt/notice when --checkpoint-remote or
  --skip-push-sessions is already provided via CLI flags
- Each branch in applyCheckpointSyncChoice now explicitly clears the
  conflicting field to prevent stale values from leaking through

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 7a0415782479
@evisdren
Copy link
Copy Markdown
Contributor Author

evisdren commented May 9, 2026

bugbot run

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

1 issue from previous review remains unresolved.

Fix All in Cursor

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 5741a6c. Configure here.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 1421fb74752d
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