App execution notes
OpenCode 2.x
Check opencode --version on the executing host (or check your app version). This adapter requires OpenCode major version 2.
Installation & discovery
- Personal paths:
~/.agents/skills/llm-council/(or~/.config/opencode/skills/llm-council/) and~/.config/opencode/agents/. Project paths:.agents/skills/llm-council/(or.opencode/skills/llm-council/) and.opencode/agents/. OpenCode reads these same paths across desktop, TUI, and CLI. - Use
opencode debug paths(documented on the CLI page) to confirm active config paths, andopencode debug agents(observed in 2.4+, undocumented on the CLI page) to inspect registered subagents and merged wildcard-deny permissions. - Verify discovery of
llm-counciland all three roles (council-advisor,council-reviewer,council-chair) in a fresh session (and on the remote server when connected remotely).
Workers & permissions
- The coordinator loads the shared skill; role filenames supply agent IDs and bodies supply role instructions.
- Bundled roles omit a model preference so children inherit the parent model. Record observed settings when available.
- Each role sets a wildcard deny rule in its ordered
permissionslist; check merged permissions when project overrides or plugins are present. - Project instructions and ambient instruction sources can still reach workers; disclose that boundary in the transcript.
Dispatch & completion
- Use the active V2
subagenttool to launch a fresh child for each slot with its registered role (council-advisor,council-reviewer, orcouncil-chair) and complete dispatch packet. - Children run in the background and report back when idle; match each report to its slot and collect the final answer (an idle event or progress message alone is insufficient).
- Enforce round barriers (five advisors -> five fresh reviewers -> one separate chair) using independent batches if capacity is limited.
- Reference docs: OpenCode 2.x agents (opens in a new tab), OpenCode 2.x skills (opens in a new tab), OpenCode 2.x CLI (opens in a new tab), OpenCode 2.x docs (opens in a new tab).