Unify project setup flow and simplify dev init routing#36
Merged
jonathonbyrdziak merged 1 commit intomasterfrom Mar 20, 2026
Merged
Unify project setup flow and simplify dev init routing#36jonathonbyrdziak merged 1 commit intomasterfrom
jonathonbyrdziak merged 1 commit intomasterfrom
Conversation
Replaces separate flowNewProject and flowExistingProject with a single flowSetupProject. The development init path now: - No .git: asks for repository URL, inits git, runs setup - Has .git, no protocol.json: confirms install, runs setup - Has protocol.json, old schema: offers migration - Has protocol.json, current, no config repo: offers config setup - Has protocol.json, current, has config: "All set!" The unified setup flow checks for docker-compose.yml and only asks about Docker containers when one is missing. Removes deployment strategy, secrets, and config repo questions from the dev setup since those are production concerns. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Replaces the separate
flowNewProjectandflowExistingProjectwith a singleflowSetupProject. The full development init path is now deterministic based on project state:Removes deployment strategy, secrets, and config repo questions from dev setup — those are production/staging concerns handled by the slave node flow.
Test plan
protocol init→ dev → in dir without .git → prompts for repo URLprotocol init→ dev → in git repo, no protocol.json → confirms install, checks Dockerprotocol init→ dev → has protocol.json v0 → migration promptprotocol init→ dev → has current protocol.json, no config → offers config setupprotocol init→ dev → fully configured → shows "All set!"🤖 Generated with Claude Code