You can keep a project in Bolt and make a reviewed change with a local coding agent. Bolt's GitHub integration links one repository to both and fetches outside commits. But Bolt doesn't merge branches, and near-simultaneous edits can overwrite GitHub. Use a small feature branch, a clear pause between editors, and separate checks for local preview, Bolt Preview and the live site.

Keep Bolt's strengths in the picture
Bolt is an AI builder with a browser dev environment, preview, Code view, model choice, Cloud services and hosting. It can create or import a GitHub repository and switch or create branches. Canopy wraps an installed CLI agent, the repo's runtime, saved commands, Preview and Git review. It doesn't replace Bolt's environment, Cloud backend or publishing. Use this to work on a branch outside Bolt, then return.
| Place | What it owns | Evidence to collect |
|---|---|---|
| Bolt | Browser build session, selected branch, hosted Preview | Current branch and visible behavior |
| GitHub | Shared commits, feature branch, PR and merge | Reviewed head commit and checks |
| Canopy | Local CLI session, run commands, local Preview and diff | Correct checkout and reproducible result |
| Bolt hosting or other deployment | Public version and backend services | Live URL, deploy state and data target |
Connect GitHub and freeze a starting commit
In Bolt, open the GitHub icon and connect the project; a new repo starts private on `main`. Check an imported repo is the right project. Confirm the branch and latest commit, and let active Bolt changes land before cloning.
Bolt commits nonbreaking changes and checks GitHub about every 30 seconds. That's sync, not safe merging of simultaneous edits. Agree a handoff window so nobody prompts Bolt on the same feature.
- Clone, then record `git status --short --branch` and the starting commit.
- Don't disconnect the project to try local work; Bolt can't reconnect it to the same repository.
- If a collaborator edited in Bolt, confirm those changes reached GitHub first.
Get the app running without assuming the backend moved
Open the clone in Canopy and read the README, scripts, lockfile and env docs. Install the runtime and dependencies, save the dev command in Servers and open Preview. Bolt runs on browser WebContainers; locally you need a compatible Node setup and the app's services.
Check whether the app calls Bolt Cloud, Supabase, Stripe or others. GitHub holds code, not data, secrets or hosted settings. Use test accounts and keep credentials out of Git and prompts. If login or save fails, check the request target and env first.
- Write down the start command, URL, and one passing and one failing action.
- Check which backend the app writes to before testing create, update or delete.
- Treat local Preview and Bolt Preview as separate observations.
Ask the agent for one reviewable change
Branch from the starting commit and give a CLI a bounded request: show an inline error for an empty checkout email, keep the cart, and show valid and invalid cases without touching payments or the database. Check its branch, run the app and tests, and read the diff. Give each code-changing agent its own worktree. Open a PR and let checks run. Merges happen in GitHub, so the PR is the integration point.
- Ask for changed files, exact test commands and results, and what couldn't be checked locally.
- Have owners review payment, auth, data and deployment changes.
- Keep a short handoff so a new session resumes from the branch.
Merge, fetch and check what's visible
Merge the PR to the branch Bolt should show, select it in Bolt and confirm the change in Preview. If it's missing after Bolt's 30-second fetch, check branch, commit and integration state instead of re-prompting.
Rarely, near-simultaneous edits let Bolt overwrite GitHub, so read the history if both sides changed. Check any Bolt-hosted or other deployment at its live URL. A merge doesn't prove the public version changed.
| Boundary | Check | If it fails |
|---|---|---|
| Local | Canopy Preview and relevant tests pass | Check runtime, env and backend call |
| GitHub | Reviewed PR merged to intended branch | Check branch, checks and diff |
| Bolt | Selected branch shows the merge in Preview | Check fetch, integration and competing edits |
| Public app | Live URL shows accepted behavior | Check publish or deployment status |
Decide whether to stay, move or use both
A full move off Bolt also covers deployment, database, auth, secrets, domains, background jobs and support; a clone only proves you have the code. If Bolt works well, use Canopy for bounded PRs or a CLI you already pay for. A local CLI shifts AI spend to its provider but doesn't guarantee a lower bill. Track Bolt usage, CLI usage and review time separately.
- Compare workflows on the same feature, checks and commit.
- A repo backup, a runnable local app and an independent deployment are three milestones.
Copyable resources
Record identifiers and test results, not credentials or customer records.
Bolt project and GitHub repository: [ ]
Bolt branch, starting commit, last sync check: [ ]
Local branch and Canopy checkout: [ ]
Runtime, dependency install and run command: [ ]
Backend/API target and safe test account: [ ]
Task with valid and failure checks: [ ]
Agent CLI, changed files, tests and PR URL: [ ]
Merge commit and target branch: [ ]
Bolt branch, fetched commit, Preview check: [ ]
Publish owner, live URL and behavior check: [ ]
Conflicting Bolt/GitHub edits and recovery decision: [ ]Frequently asked questions
Can I work locally and return to the same Bolt project?
Yes, with Bolt's GitHub integration. Work on a reviewed branch, merge in GitHub, select the branch in Bolt and confirm it fetched the change.
Does Bolt merge my agent branch automatically?
No. Bolt creates and selects branches; its docs say merges happen in GitHub.
Will a local clone include Bolt Cloud data and secrets?
No. A clone gives you repository files, not a separate database or secret store. Identify the app's services and use safe test data before writing through the local app.
Does merging the PR update the live Bolt site?
Don't assume so. Check the Bolt branch and Preview, then the publish or deployment state, and test the public URL.
Does moving an edit to a local agent always save tokens?
No. It moves agent work to the CLI's provider account, while Bolt Cloud and hosting may stay in use. Compare accepted results, retries, review effort and each provider's records.