Skip to content

Guide fresh repos through first safe task instead of leaving gx setup at a dead end#213

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/improve-setup-new-repo-docker-loader-2026-04-21-11-41
Apr 21, 2026
Merged

Guide fresh repos through first safe task instead of leaving gx setup at a dead end#213
NagyVikt merged 1 commit into
mainfrom
agent/codex/improve-setup-new-repo-docker-loader-2026-04-21-11-41

Conversation

@NagyVikt

Copy link
Copy Markdown
Collaborator

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.

… 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
@NagyVikt NagyVikt merged commit 5c6c0a1 into main Apr 21, 2026
1 check passed
@NagyVikt NagyVikt deleted the agent/codex/improve-setup-new-repo-docker-loader-2026-04-21-11-41 branch April 21, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant