fix: select OpenCode build agent for workers - #1279
Open
osantis wants to merge 4 commits into
Open
Conversation
osantis
force-pushed
the
fm/opencode-worker-agent-upstream-20260729
branch
from
July 30, 2026 02:26
004df71 to
b673002
Compare
4 tasks
Owner
|
Automated reminder: thanks for the PR! This branch currently has a merge conflict with the base branch. When you get a chance, please rebase onto (or merge) the latest base branch, resolve the conflict, and push. After that, checks will re-run and the PR will get looked at again. Noted for firstmate#1279 at |
osantis
force-pushed
the
fm/opencode-worker-agent-upstream-20260729
branch
from
July 31, 2026 16:30
b673002 to
265d6b9
Compare
osantis
force-pushed
the
fm/opencode-worker-agent-upstream-20260729
branch
from
August 1, 2026 02:36
265d6b9 to
701e5a0
Compare
Author
|
Update: the workflows for current head |
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.
What Changed
buildagent for ship and scout workers while preserving default-agent semantics for secondmates.Risk Assessment
✅ Low: Captain, the change is narrowly scoped, preserves secondmate semantics, covers both worker kinds, and aligns documentation with version-scoped evidence.
Testing
The focused spawn suite passed for OpenCode worker, scout, and secondmate launch behavior; live OpenCode 1.18.9 capability output confirmed
build (primary), reviewer-visible transcript evidence was captured, the attempted TUI capture was unreadable due to terminal rendering, and the worktree remained clean.Evidence: OpenCode worker-agent evidence
Rendered launch behavior: ok - opencode workers name the build agent, receive --model, and omit the unsupported effort axis ok - opencode scouts name the build agent and preserve the selected model ok - opencode secondmates preserve officer agent selection while retaining the selected model OpenCode version: 1.18.9 Build agent listing: build (primary)Evidence: Focused test output
Pipeline
Updates from git push no-mistakes
⏭️ **intent** - skipped
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
bash tests/fm-spawn-dispatch-profile.test.shopencode --versiontimeout 10 opencode agent list | grep '^build 'Attempted a 160×50 PTY startup capture withopencode --agent build; the raw TUI stream was not reviewer-readable in this terminal environment.git status --shortconfirmed testing left the worktree clean.✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.