You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(consult): update stale model names in consult skill (#232)
- Claude: haiku/sonnet/opus -> claude-haiku-4-5/claude-sonnet-4-6/claude-opus-4-6
- Gemini: gemini-3-flash/gemini-3-pro -> gemini-3-flash-preview/gemini-3-pro-preview/gemini-3.1-pro-preview
- Codex: gpt-5.x-codex-* -> o4-mini/o3
- Copilot: claude-sonnet-4-5 -> claude-sonnet-4-6, remove stale claude-sonnet-4
- OpenCode: update top picks to match current model names
* fix(debate): add External Tool Quick Reference to all debate skill copies (#232)
Replace the brief "Consult Skill Integration" section with a comprehensive
"External Tool Quick Reference" that documents safe command patterns,
effort-to-model mappings, and output parsing for all five providers.
Applied to:
- plugins/debate/skills/debate/SKILL.md (canonical)
- adapters/opencode/skills/debate/SKILL.md
- adapters/codex/skills/debate/SKILL.md
* fix(debate): add quick reference pointers in debate orchestrator agents (#232)
Add pointer lines after each Skill:consult invocation block directing
the reader to the debate skill's External Tool Quick Reference section
for command patterns, model mappings, and output parsing per provider.
Applied to both canonical and opencode adapter orchestrator agents.
* test(debate): add tests for External Tool Quick Reference section (#232)
New describe block verifying all three debate skill copies contain:
- External Tool Quick Reference section header
- All five providers (claude, gemini, codex, opencode, copilot)
- Effort-to-Model Mapping table
- Output Parsing table
- Canonical source note referencing the consult skill
* fix(consult): sync model name updates to opencode adapter consult skill (#232)
Apply the same model name updates from the canonical consult skill
to the opencode adapter copy:
- Claude: haiku/sonnet/opus -> claude-haiku-4-5/claude-sonnet-4-6/claude-opus-4-6
- Gemini: gemini-3-flash/gemini-3-pro -> gemini-3-flash-preview/gemini-3-pro-preview/gemini-3.1-pro-preview
- Codex: gpt-5.x-codex-* -> o4-mini/o3
- Copilot: claude-sonnet-4-5 -> claude-sonnet-4-6
- OpenCode: update top picks to current model names
* fix(debate): add External Tool Quick Reference to debate command (#232)
Add the quick reference section to the canonical debate command file
so that the Codex adapter (generated from command) and OpenCode
command adapter both get the section via gen-adapters.
* fix(#232): clarify quick reference note, add model-name and consult-adapter tests
* docs: sync README and CHANGELOG for issue #232 model updates and quick reference
* fix(#232): update command source for clarified planning-reference note, regenerate adapters
* fix(#232): strengthen quick reference pointer to reinforce Skill:consult delegation
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
17
18
18
-**`/debate` command inline orchestration** — The `/debate` command now manages the full debate workflow directly (parse → resolve → execute → verdict), following the `/consult` pattern. The `debate-orchestrator` agent is now the programmatic entry point for other agents/workflows that need to spawn a debate via `Task()`. Fixes issue #231.
19
19
20
+
-**`/debate` External Tool Quick Reference** — Added a "External Tool Quick Reference" section to all copies of the debate skill (`plugins/debate/skills/debate/SKILL.md`, OpenCode and Codex adapters) with safe command patterns, effort-to-model mapping tables, and output parsing expressions. The section includes a canonical-source pointer to `plugins/consult/skills/consult/SKILL.md` so the debate orchestrator doesn't duplicate provider logic. Added pointer notes in `debate-orchestrator` agents. Fixes issue #232.
21
+
22
+
-**`/consult` model name updates** — Updated stale model names in the consult skill: Codex models are now `o4-mini` (low/medium) and `o3` (high/max); Gemini models include `gemini-3-flash-preview`, `gemini-3-pro-preview`, and `gemini-3.1-pro-preview`. Synced to OpenCode adapter consult skill. Fixes issue #232.
23
+
20
24
-**`/next-task` Phase 12 ship invocation** — Phase 12 now invokes `ship:ship` via `await Skill({ name: "ship:ship", args: ... })` instead of `Task({ subagent_type: "ship:ship", ... })`. `ship:ship` is a skill, not an agent; the previous `Task()` call silently failed, leaving the workflow stuck after delivery validation with no PR created. The Codex adapter is updated in parity and regression tests are added. Fixes issue #230.
Read the consult skill file to get the exact patterns and replacements.
273
273
274
+
## External Tool Quick Reference
275
+
276
+
> Canonical source: `plugins/consult/skills/consult/SKILL.md`. This table is for **planning reference only** -- always invoke via `Skill: consult`, which handles safe question passing, temp file creation, and cleanup. Do NOT execute these commands directly.
Track invocation start time. If the invocation takes longer than 240 seconds to complete, treat it as a tool failure for this round (external tools can hang indefinitely).
82
82
83
+
> For planning reference on command patterns, model mappings, and output parsing per provider, see the debate skill's **External Tool Quick Reference** section. Always invoke via `Skill: consult` — never construct commands directly.
84
+
83
85
Parse the JSON result. Extract the response text. Record: round, role="proposer", tool, response, duration_ms.
Track invocation start time. If the invocation takes longer than 240 seconds to complete, treat it as a tool failure for this round (external tools can hang indefinitely).
111
113
114
+
> For planning reference on command patterns, model mappings, and output parsing per provider, see the debate skill's **External Tool Quick Reference** section. Always invoke via `Skill: consult` — never construct commands directly.
115
+
112
116
Parse the JSON result. Record: round, role="challenger", tool, response, duration_ms.
Read the consult skill file to get the exact patterns and replacements.
277
277
278
+
## External Tool Quick Reference
279
+
280
+
> Canonical source: `plugins/consult/skills/consult/SKILL.md`. This table is for **planning reference only** -- always invoke via `Skill: consult`, which handles safe question passing, temp file creation, and cleanup. Do NOT execute these commands directly.
**Parse output**: `JSON.parse(stdout).message` or raw text
102
102
**Session ID**: Codex prints a resume hint at session end (e.g., `codex resume SESSION_ID`). Extract the session ID from stdout or from `JSON.parse(stdout).session_id` if available.
Copy file name to clipboardExpand all lines: adapters/opencode/skills/debate/SKILL.md
+32-10Lines changed: 32 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,13 +259,35 @@ Platform state directory:
259
259
| Tool invocation timeout (>240s) | Round 1 proposer: abort. Round 1 challenger: proceed with uncontested. Round 2+: synthesize from completed rounds with timeout note. |
260
260
| All rounds timeout | "[ERROR] Debate failed: all tool invocations timed out." |
261
261
262
-
## Consult Skill Integration
263
-
264
-
Each tool invocation uses the existing `consult` skill from the consult plugin. The orchestrator invokes it as:
265
-
266
-
```
267
-
Skill: consult
268
-
Args: "{debate prompt with context}" --tool={tool} --effort={effort} --model={model}
269
-
```
270
-
271
-
The consult skill handles: provider command building, safe question passing (temp file), output parsing, and secret redaction. The debate skill does NOT duplicate this logic.
262
+
## External Tool Quick Reference
263
+
264
+
> Canonical source: consult skill (`consult/SKILL.md`). This table is for **planning reference only** -- always invoke via `Skill: consult`, which handles safe question passing, temp file creation, and cleanup. Do NOT execute these commands directly.
0 commit comments