Skip to content

Expose agent lane creation to cockpit actions#460

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/cockpit-action-start-agent-lane-2026-04-29-21-24
Apr 29, 2026
Merged

Expose agent lane creation to cockpit actions#460
NagyVikt merged 1 commit into
mainfrom
agent/codex/cockpit-action-start-agent-lane-2026-04-29-21-24

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The cockpit layer needs an action boundary that can start an agent lane without owning the lane bootstrap logic. This adds a thin startAgentLane wrapper that delegates to the same start implementation used by gx agents start and normalizes the result for cockpit callers.

Constraint: Keep cockpit action work scoped to cockpit files and tests.

Rejected: Reimplement branch/worktree creation in cockpit | would duplicate gx agents start behavior and drift from CLI semantics.

Confidence: medium

Scope-risk: narrow

Directive: Keep lane bootstrap behavior in the gx agents start implementation; cockpit actions should only delegate and normalize.

Tested: node --test test/cockpit-actions.test.js test/cockpit-render.test.js

Tested: openspec validate --specs

Not-tested: Real gx agents start lane launch, because this slice mocks the start implementation dependency.
@NagyVikt NagyVikt merged commit f14bdcd into main Apr 29, 2026
@NagyVikt NagyVikt deleted the agent/codex/cockpit-action-start-agent-lane-2026-04-29-21-24 branch April 29, 2026 19:35
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