Skip to content

Build agent launch commands safely#455

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/agent-launch-command-construction-2026-04-29-21-23
Apr 29, 2026
Merged

Build agent launch commands safely#455
NagyVikt merged 1 commit into
mainfrom
agent/codex/agent-launch-command-construction-2026-04-29-21-23

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Agent orchestration needs a command-construction layer that can prepare supported CLI invocations without executing them. This adds a shell-quoted launch/resume builder with registry-compatible definitions and focused coverage for supported prompt modes.

Constraint: src/agents/registry.js is a dependency lane and is not present in this checkout yet, so the builder supports registry definitions while keeping fallback definitions testable.

Rejected: execute commands directly from the builder | launch orchestration needs an inspectable string and must not spawn agents yet

Confidence: high

Scope-risk: narrow

Directive: Keep this module construction-only; command execution belongs in a separate launcher path.

Tested: node --test test/agents-launch.test.js; node --check src/agents/launch.js

Not-tested: full npm test suite
@NagyVikt NagyVikt merged commit 9a92deb into main Apr 29, 2026
@NagyVikt NagyVikt deleted the agent/codex/agent-launch-command-construction-2026-04-29-21-23 branch April 29, 2026 19:28
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