OpenCode-specific bindings for core workflow
- JavaScript 64.9%
- HTML 18.4%
- Shell 8.1%
- PowerShell 5.3%
- TypeScript 3.3%
Each task ran in its own worktree on feat/{feature}/{task-slug}, and the
worker was explicitly told not to push (tdd-runner/SKILL.md:152, "Phase 6
handles push"). Nothing ever merged these back into feat/{feature} before
the worktree was removed, and nothing created feat/{feature} pushed
anywhere either - shipper's Step 4 assumes a single accumulated
{feature-branch} that no step actually built. Per-task branches only exist
because git worktrees require one branch per worktree for parallel
dispatch; sequential/standalone mode already skips them and commits
straight onto the feature branch, confirming the branch-per-task layer is
meant to collapse back, not persist.
orchestrator/AGENT.md Step 6: merge each task's branch into feat/{feature}
immediately after its worker_done, before removing the worktree. On a real
conflict, abort the merge, mark the task BLOCKED, and preserve the
worktree for manual resolution instead of discarding it. Delete the task
branch only after it's merged and the worktree (its only checkout) is
gone. Rewrote the stale "Integration protocol" note that described a
conflicting wave-end conflict check now superseded by this.
verification-gate: "Phase 4 complete" now also requires every task commit
be reachable on feat/{feature} and zero tasks left blocked on an
unresolved merge conflict.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
||
|---|---|---|
| agents | ||
| reference | ||
| scripts | ||
| skills | ||
| templates | ||
| .caveman-active | ||
| .gitignore | ||
| AGENTS.md | ||
| bootstrap.ps1 | ||
| bootstrap.sh | ||
| device-config.json.example | ||
| opencode.jsonc | ||
| README.md | ||
OpenCode Workflow — OpenCode Bindings
OpenCode-specific agent definitions, skills, and config.
Depends on opencode-workflow-core for phase documentation.
Install
# Windows (PowerShell)
iex ((New-Object Net.WebClient).DownloadString('https://{forgejo.url}/{forgejo.user}/opencode-workflow-core/raw/branch/master/bootstrap.ps1'))
# macOS/Linux
curl -fsSL https://{forgejo.url}/{forgejo.user}/opencode-workflow-core/raw/branch/master/bootstrap.sh | bash
The bootstrap script clones both repos, parameterizes model IDs and Forgejo URL
from device-config.json, and installs to ~/.config/opencode/.
Contents
| Dir | Purpose |
|---|---|
| agents/ | 11 subagent definitions (conductor, orchestrator, architect, etc.) |
| skills/ | 10 skills (tdd-runner, interviewer, shipper, etc.) |
| reference/ | Prompt templates and checklists |
| templates/ | Markdown task templates |
| scripts/ | Node.js runtime scripts |
| openspec/ | Spec archive (empty — shipper writes here at runtime) |