This repository now includes a repo-local OpenCode profile plus a portable adapter profile for the ThumbGate.
opencode.jsonfor repo-local OpenCode usage.opencode/instructions/thumbgate-workflow.mdfor worktree-only execution and evidence-first verification.opencode/agents/thumbgate-review.mdfor a read-only review subagent focused on regressions and proof gapsadapters/opencode/opencode.jsonfor a version-pinned portable OpenCode MCP profileplugins/opencode-profile/INSTALL.mdfor installing the portable profile outside this repo
From a linked worktree, OpenCode picks up opencode.json automatically. That profile:
- enables the local
node bin/cli.js serveMCP server - denies edits to
.thumbgate/**,.claude/worktrees/**, and live feedback memory artifacts - denies destructive git commands like
git push*,git reset*, andgit checkout --* - limits the
planagent to read-only repo inspection - allows the
buildagent to delegate only to the read-onlythumbgate-reviewsubagent
That gives OpenCode a repo-native permission surface instead of bolting on a second orchestration layer.
If you want the same MCP server in a different OpenCode project, copy adapters/opencode/opencode.json into your OpenCode config and merge the mcp.thumbgate block.
The portable profile stays version-pinned to thumbgate@1.16.8, and scripts/sync-version.js now checks it for drift.
- OpenCode is another client surface for the same local-first Reliability Gateway.
- The repo-local profile encodes worktree safety and runtime-state boundaries directly in the client config.
- The read-only
thumbgate-reviewagent gives a cheap verification pass without creating another edit-capable worker.
- This does not replace the local memory system, gates, or verification evidence.
- This does not import an external harness wholesale.
- This does not relax the repo rule that implementation and verification happen from linked worktrees, not the primary checkout.