Merged
Conversation
Entire-Checkpoint: d60178295287
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed:
updateStrategyOptionsignores--localflag, always writes project settings- Updated
updateStrategyOptionsto usedetermineSettingsTarget(matchingrunEnableInteractive) to choose betweenSaveEntireSettingsandSaveEntireSettingsLocalbased on the--local/--projectflags, and display the correct config path.
- Updated
Or push these changes by commenting:
@cursor push aedbdfc310
Preview (aedbdfc310)
diff --git a/cmd/entire/cli/setup.go b/cmd/entire/cli/setup.go
--- a/cmd/entire/cli/setup.go
+++ b/cmd/entire/cli/setup.go
@@ -81,11 +81,32 @@
opts.applyStrategyOptions(s)
- if err := SaveEntireSettings(ctx, s); err != nil {
- return fmt.Errorf("failed to save settings: %w", err)
+ entireDirAbs, err := paths.AbsPath(ctx, paths.EntireDir)
+ if err != nil {
+ entireDirAbs = paths.EntireDir
}
+ shouldUseLocal, showNotification := determineSettingsTarget(entireDirAbs, opts.UseLocalSettings, opts.UseProjectSettings)
- fmt.Fprintf(w, "✓ Settings updated (%s)\n", configDisplayProject)
+ if showNotification {
+ fmt.Fprintln(w, "Info: Project settings exist. Saving to settings.local.json instead.")
+ fmt.Fprintln(w, " Use --project to update the project settings file.")
+ }
+
+ if shouldUseLocal {
+ if err := SaveEntireSettingsLocal(ctx, s); err != nil {
+ return fmt.Errorf("failed to save settings: %w", err)
+ }
+ } else {
+ if err := SaveEntireSettings(ctx, s); err != nil {
+ return fmt.Errorf("failed to save settings: %w", err)
+ }
+ }
+
+ configDisplay := configDisplayProject
+ if shouldUseLocal {
+ configDisplay = configDisplayLocal
+ }
+ fmt.Fprintf(w, "✓ Settings updated (%s)\n", configDisplay)
return nil
}This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the entire configure flow to support configuring checkpoint strategy behavior via CLI flags, so enabling a checkpoint remote can be done by passing a flag rather than going through agent selection.
Changes:
- Adds
--checkpoint-remoteflag toentire configure. - Introduces a “settings-only” path in
configureto update strategy options without prompting for agents when already set up. - Updates
entire enableto apply any provided strategy flags before enabling (and suppresses the “already enabled” message when only strategy flags were applied).
Entire-Checkpoint: 7ce14d3b608f
Entire-Checkpoint: 06d287b66259
Entire-Checkpoint: 92d45450b784
pjbgf
approved these changes
Mar 29, 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.


Enabling a checkpoint-remote should be just passing the flag with a remote to "entire configure"
Note
Medium Risk
Modifies
entire configure/entire enablecontrol flow to sometimes skip interactive agent setup and write settings directly, which could change behavior in already-configured repos if flag detection is incorrect.Overview
Adds
--checkpoint-remote(and a shared strategy flags detection helper) toentire configure/entire enable, allowing strategy settings to be updated directly in an already-configured repo.Introduces a settings-only path (
updateStrategyOptions) that updatesstrategy_optionswithout touching agent hooks, and updatesentire enableto apply these flags before checking/printing the "already enabled" status.Written by Cursor Bugbot for commit 83ad1be. Configure here.