Skip to content

Preview agent starts without side effects#461

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/agents-start-dry-run-2026-04-29-21-23
Apr 29, 2026
Merged

Preview agent starts without side effects#461
NagyVikt merged 1 commit into
mainfrom
agent/codex/agents-start-dry-run-2026-04-29-21-23

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The agents start command needed a no-mutation planning path before full launch support. This adds a dry-run-only task path that validates the agent id, derives the task slug, branch, worktree path, and launch command, and leaves the existing no-task review/cleanup bot start behavior untouched.

Constraint: Only dry-run behavior is implemented in this slice

Rejected: Reusing the bot-start state path for task previews | it would read and write unrelated repo agent metadata

Confidence: high

Scope-risk: narrow

Directive: Do not enable non-dry-run task launching until branch/worktree/session metadata writes are implemented and tested as a separate path

Tested: node --test test/agents-start-dry-run.test.js test/cli-args-dispatch.test.js

Tested: node --test test/agents.test.js

Tested: openspec validate agent-codex-agents-start-dry-run-2026-04-29-21-23 --type change --strict

Tested: openspec validate --specs

Not-tested: real agent launch, intentionally out of scope for dry-run
@NagyVikt NagyVikt merged commit 3719cd8 into main Apr 29, 2026
@NagyVikt NagyVikt deleted the agent/codex/agents-start-dry-run-2026-04-29-21-23 branch April 29, 2026 19:40
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