<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git/docs/README.opencode.md, branch fix/wave1-harness-adapters</title>
<subtitle>Agentic skills framework and development workflow
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/'/>
<entry>
<title>docs(opencode): state only the checked 2.0.7 and 2.3.2 facts in the V2 notes</title>
<updated>2026-11-26T08:32:12+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-26T08:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=58af57f67fb3887b1055b73dcb2700a289bf4bc4'/>
<id>58af57f67fb3887b1055b73dcb2700a289bf4bc4</id>
<content type='text'>
The V2 built-ins comment said subagents are "always background since
2.3.0", and the README said the subagent `background` parameter "was
removed in 2.3.0". No review checked 2.3.0 as the boundary: the reviews
read the 2.0.7 and 2.3.2 host contracts only. Both passages also
presented `todowrite` behind `experimental.todo` as true of all of V2,
which these files define as 2.0.4 and later, while 2.0.7 has no todo
tool.

Both passages now state only the checked facts: the subagent
`background` parameter is present in 2.0.7 and absent in 2.3.2, and
2.0.7 has no todo tool while 2.3.2 has `todowrite` behind
`experimental.todo`. The mapping lines that say `todowrite` "when
available" state no version, hold on both versions, and are unchanged.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The V2 built-ins comment said subagents are "always background since
2.3.0", and the README said the subagent `background` parameter "was
removed in 2.3.0". No review checked 2.3.0 as the boundary: the reviews
read the 2.0.7 and 2.3.2 host contracts only. Both passages also
presented `todowrite` behind `experimental.todo` as true of all of V2,
which these files define as 2.0.4 and later, while 2.0.7 has no todo
tool.

Both passages now state only the checked facts: the subagent
`background` parameter is present in 2.0.7 and absent in 2.3.2, and
2.0.7 has no todo tool while 2.3.2 has `todowrite` behind
`experimental.todo`. The mapping lines that say `todowrite` "when
available" state no version, hold on both versions, and are unchanged.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(opencode): keep V2's 2.0.4 floor and 2.0.7 check in the version notes</title>
<updated>2026-11-25T09:20:16+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T09:20:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=6741c48e77235ccfca80150ee25ab2cdef304fd1'/>
<id>6741c48e77235ccfca80150ee25ab2cdef304fd1</id>
<content type='text'>
Retargeting the mapping to 2.3.x changed the plugin comment to
"V2 (OpenCode 2.3.x)" and both verified-against notes to 2.3.x only.
The plugin and both docs treat V2 as 2.0.4 and later, and the reviewers
checked the new V2 mapping against 2.0.7 and 2.3.2. Read as written,
the comment says 2.0.x is not V2, and the notes drop dev's 2.0.7 check.

Use the review's text (bootstrap F5): V2 is "OpenCode 2.0.4 and later",
and the V2 list was checked against the 2.0.7 and 2.3.2 host contracts.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Retargeting the mapping to 2.3.x changed the plugin comment to
"V2 (OpenCode 2.3.x)" and both verified-against notes to 2.3.x only.
The plugin and both docs treat V2 as 2.0.4 and later, and the reviewers
checked the new V2 mapping against 2.0.7 and 2.3.2. Read as written,
the comment says 2.0.x is not V2, and the notes drop dev's 2.0.7 check.

Use the review's text (bootstrap F5): V2 is "OpenCode 2.0.4 and later",
and the V2 list was checked against the 2.0.7 and 2.3.2 host contracts.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(opencode): offer V1 apply_patch when available, not on every gpt- model</title>
<updated>2026-11-25T09:19:47+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T09:19:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=cf0bbc5dc2cc91f1ef3e0d0996f0a2be9718a459'/>
<id>cf0bbc5dc2cc91f1ef3e0d0996f0a2be9718a459</id>
<content type='text'>
The V1 file-mutation line said to use `apply_patch` "on `gpt-` models".
OpenCode 1.19.6's tool registry offers `apply_patch` only when the model
ID contains `gpt-` and contains neither `gpt-4` nor `oss`, so a gpt-4.1
or gpt-oss session is told to call a tool it does not have. The line
also asked the agent to know its own model ID.

Use the review's replacement (bootstrap F1) in the plugin's V1 mapping,
INSTALL.md and the README: `apply_patch` when available, otherwise
`write`, `edit` and `bash`, each with its role. The existing OpenCode
needles still match; no test pins this wording.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The V1 file-mutation line said to use `apply_patch` "on `gpt-` models".
OpenCode 1.19.6's tool registry offers `apply_patch` only when the model
ID contains `gpt-` and contains neither `gpt-4` nor `oss`, so a gpt-4.1
or gpt-oss session is told to call a tool it does not have. The line
also asked the agent to know its own model ID.

Use the review's replacement (bootstrap F1) in the plugin's V1 mapping,
INSTALL.md and the README: `apply_patch` when available, otherwise
`write`, `edit` and `bash`, each with its role. The existing OpenCode
needles still match; no test pins this wording.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(opencode): return V2 mapping wording to dev's text where no issue requires a change</title>
<updated>2026-11-25T09:17:31+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-25T09:17:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=0e08a8545a7b55e5d6130f0e7cfe0aa4aae0aa5a'/>
<id>0e08a8545a7b55e5d6130f0e7cfe0aa4aae0aa5a</id>
<content type='text'>
#2659 and #2701 need the V2 todo line to name `todowrite` behind
`experimental.todo`. They do not need the rest of what changed around
it, so these return to dev's wording:

- the V2 file-mutation line in the plugin, INSTALL.md and the README,
  which keeps each tool's role;
- the fallback after the `todowrite` clause, which again says to track
  the plan in a markdown file, as dev's mapping did;
- the README's sentence on which mutation tools each model gets;
- the V1 failure message in test-bootstrap-caching.mjs.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
#2659 and #2701 need the V2 todo line to name `todowrite` behind
`experimental.todo`. They do not need the rest of what changed around
it, so these return to dev's wording:

- the V2 file-mutation line in the plugin, INSTALL.md and the README,
  which keeps each tool's role;
- the fallback after the `todowrite` clause, which again says to track
  the plan in a markdown file, as dev's mapping did;
- the README's sentence on which mutation tools each model gets;
- the V1 failure message in test-bootstrap-caching.mjs.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(opencode): update V1/V2 tool mappings (#2659, #2701) and silence test ESM warnings (#2711)</title>
<updated>2026-11-24T23:58:41+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-24T06:23:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=1e7a14fe76377370adf54ab427ed0269decaa347'/>
<id>1e7a14fe76377370adf54ab427ed0269decaa347</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: bump version to 7.0.2</title>
<updated>2026-11-03T02:39:43+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@fsck.com</email>
</author>
<published>2026-11-03T02:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=e82bda463976eb96fe5e442b656199e6ce0f5c3e'/>
<id>e82bda463976eb96fe5e442b656199e6ce0f5c3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge dev into the OpenCode compaction bootstrap fix</title>
<updated>2026-11-02T21:31:53+00:00</updated>
<author>
<name>Drew Ritter</name>
<email>drew@primeradiant.com</email>
</author>
<published>2026-11-02T21:31:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=38fd8323e43f4b13e8bdc9d62b85ca1ed524a3f8'/>
<id>38fd8323e43f4b13e8bdc9d62b85ca1ed524a3f8</id>
<content type='text'>
Drew requested resolution of the merge conflict in obra/superpowers PR
#2601. Merge current dev into the existing PR branch without rewriting its
history.

Resolve the V2 bootstrap hunk by keeping #2601's shared handler registered
on context, compaction, and generate, and incorporating #2600's exact
BOOTSTRAP_MARKER prefix guard. This preserves injection for prompts that
merely mention EXTREMELY_IMPORTANT while preventing duplicate bootstrap
parts. All other dev changes merge without manual edits.

Validation: bash tests/opencode/run-tests.sh passed all five suites,
including hook registration, tag-mention regression coverage, child-session
suppression, caching, and skill registration. git diff --cached --check
passed and the index contains no unresolved paths. Live OpenCode
integration sessions were not rerun for this conflict-only repair.

Tracking: PRI-3674
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drew requested resolution of the merge conflict in obra/superpowers PR
#2601. Merge current dev into the existing PR branch without rewriting its
history.

Resolve the V2 bootstrap hunk by keeping #2601's shared handler registered
on context, compaction, and generate, and incorporating #2600's exact
BOOTSTRAP_MARKER prefix guard. This preserves injection for prompts that
merely mention EXTREMELY_IMPORTANT while preventing duplicate bootstrap
parts. All other dev changes merge without manual edits.

Validation: bash tests/opencode/run-tests.sh passed all five suites,
including hook registration, tag-mention regression coverage, child-session
suppression, caching, and skill registration. git diff --cached --check
passed and the index contains no unresolved paths. Live OpenCode
integration sessions were not rerun for this conflict-only repair.

Tracking: PRI-3674
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(opencode): inject the V2 bootstrap on compaction and generate requests</title>
<updated>2026-10-22T22:55:41+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@fsck.com</email>
</author>
<published>2026-10-22T22:21:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=80b085cfb36c0dfe5f6740a3a4764d16429a8228'/>
<id>80b085cfb36c0dfe5f6740a3a4764d16429a8228</id>
<content type='text'>
The V2 plugin registered its bootstrap injector only on
ctx.session.hook('context'). OpenCode 2 prepares each model request kind
through its own hook: normal agent turns through `context`, the
compaction (summary) request through `compaction`, and session-scoped
one-shot generation through `generate`
(packages/core/src/session/model-request.ts). Every built-in V2 plugin
registers its handler on all three, and the upstream V1 migration guide
says to do the same when a transform must apply to every request kind.

So the compaction request's first user message lacked the bootstrap
that every prior turn carried, and the prompt diverged right after
system + tools. On a provider with prefix caching that is a cold
re-prefill of the whole session on its largest request (#2391).

Reproduced on real OpenCode 2.1.2 and 2.1.3 with a scripted stub model
that pushes the session over the compaction ceiling: before, the
compaction request shares 26.5k of 30.8k serialized chars with the
previous agent request and differs at the first user message; after,
the previous request is a full prefix of the compaction request.

The handler body is unchanged (child-session skip, idempotence guard,
checkpoint-only append), lifted into a named function and registered on
all three hooks, each in its own try/catch. Based on PR #2409.

Fixes #2391

Co-authored-by: Aashish &lt;145881415+aashish254@users.noreply.github.com&gt;
Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The V2 plugin registered its bootstrap injector only on
ctx.session.hook('context'). OpenCode 2 prepares each model request kind
through its own hook: normal agent turns through `context`, the
compaction (summary) request through `compaction`, and session-scoped
one-shot generation through `generate`
(packages/core/src/session/model-request.ts). Every built-in V2 plugin
registers its handler on all three, and the upstream V1 migration guide
says to do the same when a transform must apply to every request kind.

So the compaction request's first user message lacked the bootstrap
that every prior turn carried, and the prompt diverged right after
system + tools. On a provider with prefix caching that is a cold
re-prefill of the whole session on its largest request (#2391).

Reproduced on real OpenCode 2.1.2 and 2.1.3 with a scripted stub model
that pushes the session over the compaction ceiling: before, the
compaction request shares 26.5k of 30.8k serialized chars with the
previous agent request and differs at the first user message; after,
the previous request is a full prefix of the compaction request.

The handler body is unchanged (child-session skip, idempotence guard,
checkpoint-only append), lifted into a named function and registered on
all three hooks, each in its own try/catch. Based on PR #2409.

Fixes #2391

Co-authored-by: Aashish &lt;145881415+aashish254@users.noreply.github.com&gt;
Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(opencode): tell the model skill ids are bare names (#2583)</title>
<updated>2026-10-22T21:04:25+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@fsck.com</email>
</author>
<published>2026-10-22T21:04:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=8f4b3dbd2f5ef8163e4daed5ca43a4cf08eb5d8c'/>
<id>8f4b3dbd2f5ef8163e4daed5ca43a4cf08eb5d8c</id>
<content type='text'>
Skills name each other with the Claude Code plugin namespace
(`superpowers:brainstorming`), and the using-superpowers bootstrap that
the OpenCode plugin injects says "Let's build X -&gt; superpowers:brainstorming
first". OpenCode registers superpowers skills under bare ids
(`brainstorming`) on both flavors and its `skill` tool does an exact
lookup, so a model that copies the namespaced form gets
"Unable to load skill superpowers:brainstorming" (V2) or
`Skill "superpowers:brainstorming" not found` (V1) and carries on
without the skill. The OpenCode tool mapping said only "Invoke a skill
-&gt; OpenCode's native skill tool" and never stated the id convention.

Reproduced on real hosts (OpenCode 2.1.2 and opencode-ai 1.19.4) with a
scripted stub provider: the namespaced call fails, the bare id loads.

Add the convention to the "Invoke a skill" line of both mappings, with
each flavor's real skill parameter (V1 `name`, V2 `id`), and mirror it
in docs/README.opencode.md. Skill prose keeps the prefix, which is
correct on Claude Code; the translation belongs in the harness mapping,
the same way the Hermes reference shows bare `skill_view("brainstorming")`.

Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Skills name each other with the Claude Code plugin namespace
(`superpowers:brainstorming`), and the using-superpowers bootstrap that
the OpenCode plugin injects says "Let's build X -&gt; superpowers:brainstorming
first". OpenCode registers superpowers skills under bare ids
(`brainstorming`) on both flavors and its `skill` tool does an exact
lookup, so a model that copies the namespaced form gets
"Unable to load skill superpowers:brainstorming" (V2) or
`Skill "superpowers:brainstorming" not found` (V1) and carries on
without the skill. The OpenCode tool mapping said only "Invoke a skill
-&gt; OpenCode's native skill tool" and never stated the id convention.

Reproduced on real hosts (OpenCode 2.1.2 and opencode-ai 1.19.4) with a
scripted stub provider: the namespaced call fails, the bare id loads.

Add the convention to the "Invoke a skill" line of both mappings, with
each flavor's real skill parameter (V1 `name`, V2 `id`), and mirror it
in docs/README.opencode.md. Skill prose keeps the prefix, which is
correct on Claude Code; the translation belongs in the harness mapping,
the same way the Hermes reference shows bare `skill_view("brainstorming")`.

Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: bump version to 7.0.1</title>
<updated>2026-10-21T20:03:27+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@fsck.com</email>
</author>
<published>2026-10-21T20:03:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=c4c226fe39558c2056b08a134cbf5d103bee215d'/>
<id>c4c226fe39558c2056b08a134cbf5d103bee215d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
