Guide fresh repos through first safe task instead of leaving gx setup at a dead end#213
Merged
NagyVikt merged 1 commit intoApr 21, 2026
Conversation
… at a dead end gx setup now prints the unborn branch name, next-step onboarding for empty repos, and a missing-origin hint. Compose repos also get a managed docker loader script plus a package-script entry so container-first projects can use the bootstrap immediately. Constraint: setup output must stay useful for already-initialized repos and low-noise on recursive installs Rejected: show the fresh-repo flow on every setup run | too noisy once the repo is established Rejected: make the docker loader Dockerfile-only | Guardex can infer compose services, not arbitrary image names Confidence: medium Scope-risk: moderate Directive: keep the Docker loader compose-focused unless setup can reliably infer plain docker run image names Tested: node --check bin/multiagent-safety.js; bash -n scripts/guardex-docker-loader.sh templates/scripts/guardex-docker-loader.sh; end-to-end temp repo gx setup repro covering unborn-branch hints and docker loader dispatch; openspec validate agent-codex-improve-setup-new-repo-docker-loader-2026-04-21-11-41 --type change --strict; openspec validate --specs; git diff --check Not-tested: full node --test test/install.test.js suite currently hangs in an unrelated codex-agent fallback child process
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.
Automated cleanup/publish from the existing Guardex agent worktree.\n\nThis publishes the already-committed docker-loader fresh-repo flow changes and keeps the branch/worktree cleanup tied to a merged PR.