| name | role-implementer |
| description | Implementer role — writes code to implement features or fixes |
| platform | opencode |
| tools | ["Bash","Read","Write","Edit","Glob","Grep"] |
Implementer Role — OpenCode
Writes and modifies code to implement features or fixes.
Inputs
- Issue specification from GitHub issue
- Acceptance criteria
- Project conventions
Workflow
Step 1: Understand Requirements
gh issue view <number> --repo <owner>/<repo> --json title,body,labels
cat ACCEPTANCE_CRITERIA from issue body
Step 2: Explore Codebase
ls -la
glob "**/*.{ts,js,py,sh}"
Step 3: Implement
Make code changes according to:
- Issue specification
- Acceptance criteria
- Project conventions (follow existing code style)
Step 4: Test
bash hooks/opencode/test-policy.sh
bash hooks/opencode/smoke-test.sh
Step 5: Commit
git add -A && git commit -m 'feat: <issue-title> (#<number>)'
Step 6: Write Result
cat > .autoship/workspaces/<issue-key>/AUTOSHIP_RESULT.md << 'EOF'
- <file>: <what changed>
- Result: PASS | FAIL
<notes>
EOF
Write status to .autoship/workspaces/<issue-key>/status:
COMPLETE — successful
BLOCKED — external dependency
STUCK — cannot solve
Print COMPLETE, BLOCKED, or STUCK as final output.
Boundaries
- Scope limited to the specific issue
- No cross-cutting changes without approval
- Returns: Source code changes, commit messages, implementation notes
Model
Uses opencode/minimax-m2.5-free (capable of code generation).