Improve initial flow and enabling/disabling#678
Conversation
Entire-Checkpoint: 05683eec3f48
Entire-Checkpoint: 4e46c2515716
Entire-Checkpoint: de7c38ee1d8a
Entire-Checkpoint: 68f77b8a4adb
PR SummaryMedium Risk Overview Refactors setup/enable behavior: Changes setup detection to treat either Written by Cursor Bugbot for commit 354cb84. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
There was a problem hiding this comment.
Pull request overview
This PR refines the CLI’s first-run and enable/disable/configure flows so repositories without an .entire setup are guided into an initial configuration wizard, and subsequent commands behave more predictably once setup exists.
Changes:
- Add a shared “first-time setup flow” and invoke it from
entire,entire enable, andentire configurewhen the repo isn’t set up yet. - Make
entire enablea no-op (with status output) when already enabled; otherwise re-enable by updating settings. - Introduce
settings.IsSetUpAny()to treat either project or local settings as “already set up”.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| cmd/entire/cli/strategy/common_test.go | Minor test formatting alignment. |
| cmd/entire/cli/setup_test.go | Update tests for new runEnable signature and adjusted prompt output. |
| cmd/entire/cli/setup.go | Adds configure/setup flows, changes enable behavior, and adds agent-add flow. |
| cmd/entire/cli/settings/settings.go | Adds IsSetUpAny() helper to detect setup via either settings file. |
| cmd/entire/cli/root.go | Runs setup wizard on bare entire in fresh repos; updates getting-started text; registers configure command. |
Entire-Checkpoint: 948380b80fc1
Co-authored-by: Paulo Gomes <paulo@entire.io>
This changes a few things with entire:
entire,entire enableorentire configurein a repo that has no.entirefolder yet, will bring you to the setup wizardentire enableon a repo that is setup earlier already it only tells you that entire is enabledentire disablethenentire enablewill disable -> enable entire nowentire configurelet's you add more agents later but not remove them, for that you need to useentire configure --remove <agent>to actually remove itHappy to hear thoughts.