<feed xmlns='http://www.w3.org/2005/Atom'>
<title>superpowers.git/.hermes-plugin/__init__.py, branch dev</title>
<subtitle>Agentic skills framework and development workflow
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/'/>
<entry>
<title>fix(hermes): skip the controller bootstrap for delegate_task children (#2536)</title>
<updated>2026-10-22T20:52:29+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@fsck.com</email>
</author>
<published>2026-10-22T20:52:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=76b0f89deca5187475e66ad5f63054c22da41bec'/>
<id>76b0f89deca5187475e66ad5f63054c22da41bec</id>
<content type='text'>
pre_llm_call returned the using-superpowers bootstrap whenever
is_first_turn was true. Hermes computes is_first_turn from an empty
conversation history, and a delegate_task child always starts empty, so
every child's first turn got the same 5.7k-char controller bootstrap as
the parent and had to rely on &lt;SUBAGENT-STOP&gt; to ignore it. Live Hermes
delegations on #2536 show children opening with skill_view / read_file on
Superpowers skills instead of their assigned work.

Hermes builds delegate_task children with platform="subagent"
(tools/delegate_tool.py) and forwards that as the hook's platform
argument, so gate injection on it. parent_session_id is not a safe
signal: Hermes also sets it on the continuation session it creates on
context compression.

Verified against a real Hermes install (hermes-agent 484de065) by running
its plugin discovery and agent.turn_context._collect_pre_llm_call_context
for a parent and a subagent first turn: 5757/5757 chars before, 5757/0
after.

Co-authored-by: Twot &lt;twotnguyen@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>
pre_llm_call returned the using-superpowers bootstrap whenever
is_first_turn was true. Hermes computes is_first_turn from an empty
conversation history, and a delegate_task child always starts empty, so
every child's first turn got the same 5.7k-char controller bootstrap as
the parent and had to rely on &lt;SUBAGENT-STOP&gt; to ignore it. Live Hermes
delegations on #2536 show children opening with skill_view / read_file on
Superpowers skills instead of their assigned work.

Hermes builds delegate_task children with platform="subagent"
(tools/delegate_tool.py) and forwards that as the hook's platform
argument, so gate injection on it. parent_session_id is not a safe
signal: Hermes also sets it on the continuation session it creates on
context compression.

Verified against a real Hermes install (hermes-agent 484de065) by running
its plugin discovery and agent.turn_context._collect_pre_llm_call_context
for a parent and a subagent first turn: 5757/5757 chars before, 5757/0
after.

Co-authored-by: Twot &lt;twotnguyen@users.noreply.github.com&gt;
Claude-Session: https://claude.ai/code/session_01SHANcr4A71nzuU9et4Fnba
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(hermes): pass each skill's frontmatter description to register_skill</title>
<updated>2026-09-27T02:37:44+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-09-27T02:37:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=923b30043562d0767bf06006f15224d1861adb63'/>
<id>923b30043562d0767bf06006f15224d1861adb63</id>
<content type='text'>
Hermes lists plugin skills (skills_list) with the description given to
register_skill, which defaults to "". The plugin registered only a
name and path, so all fourteen superpowers skills appeared with blank
descriptions and the model had nothing to choose on. Read each
SKILL.md's description and pass it through.

From #2284 by @pepijn-blom.

Co-authored-by: pepijn-blom &lt;322216308+pepijn-blom@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hermes lists plugin skills (skills_list) with the description given to
register_skill, which defaults to "". The plugin registered only a
name and path, so all fourteen superpowers skills appeared with blank
descriptions and the model had nothing to choose on. Read each
SKILL.md's description and pass it through.

From #2284 by @pepijn-blom.

Co-authored-by: pepijn-blom &lt;322216308+pepijn-blom@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(hermes): working bootstrap injection via pre_llm_call + native skill registration</title>
<updated>2026-07-23T22:17:55+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-07-23T22:17:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=178528c03e7f0cc051bccf5b1249c480cb972105'/>
<id>178528c03e7f0cc051bccf5b1249c480cb972105</id>
<content type='text'>
Empirical findings from the quorum eval bring-up (superpowers-evals
docs/experiments/2026-07-23-hermes-target-bringup.md):

- ctx.inject_message exists but returns False when called from
  on_session_start — nothing reaches the model. The documented path,
  a pre_llm_call hook returning {"context": ...} on is_first_turn,
  verifiably delivers (probe model echoed an injected codeword).
- ctx.register_skill requires a pathlib.Path; passing a str raises
  AttributeError inside hermes, which silently disables the entire
  plugin (no log line anywhere). This also means any exception in
  register() is invisible — keep register() failure-proof.
- Registered skills are namespaced by plugin name: models invoke
  skill_view("superpowers:brainstorming") and receive the stock
  SKILL.md — verified live on GLM 5.2, both install layouts.

The plugin now: resolves skills/ for both the git-clone layout
(.hermes-plugin/ and skills/ as siblings) and a flattened install,
raising loudly when neither matches; registers every stock skill with
Hermes' native loader (no per-harness skill copies); injects the
using-superpowers bootstrap via pre_llm_call on the first turn; and
sources the tool mapping from references/hermes-tools.md instead of
duplicating it. Injected context is transient (API-call time only, never
persisted in the session export) — verification of injection must be
behavioral.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Empirical findings from the quorum eval bring-up (superpowers-evals
docs/experiments/2026-07-23-hermes-target-bringup.md):

- ctx.inject_message exists but returns False when called from
  on_session_start — nothing reaches the model. The documented path,
  a pre_llm_call hook returning {"context": ...} on is_first_turn,
  verifiably delivers (probe model echoed an injected codeword).
- ctx.register_skill requires a pathlib.Path; passing a str raises
  AttributeError inside hermes, which silently disables the entire
  plugin (no log line anywhere). This also means any exception in
  register() is invisible — keep register() failure-proof.
- Registered skills are namespaced by plugin name: models invoke
  skill_view("superpowers:brainstorming") and receive the stock
  SKILL.md — verified live on GLM 5.2, both install layouts.

The plugin now: resolves skills/ for both the git-clone layout
(.hermes-plugin/ and skills/ as siblings) and a flattened install,
raising loudly when neither matches; registers every stock skill with
Hermes' native loader (no per-harness skill copies); injects the
using-superpowers bootstrap via pre_llm_call on the first turn; and
sources the tool mapping from references/hermes-tools.md instead of
duplicating it. Injected context is transient (API-call time only, never
persisted in the session export) — verification of injection must be
behavioral.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(hermes): Hermes Agent harness support, rebased to a Hermes-only diff</title>
<updated>2026-07-23T19:18:13+00:00</updated>
<author>
<name>Jesse Vincent</name>
<email>jesse@primeradiant.com</email>
</author>
<published>2026-07-23T19:18:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/superpowers.git/commit/?id=7b177613c03a00042e67422dce8fc7814ae248c3'/>
<id>7b177613c03a00042e67422dce8fc7814ae248c3</id>
<content type='text'>
Rebase of PR #1922 onto current dev: the ~14 files of v6.1.0-era
codex/release drift are dropped, the porting-guide edits (stale against
the post-prune rewrite, no Hermes content) are dropped, and the Hermes
surface is kept intact: .hermes-plugin/ (on_session_start bootstrap
injection), tests/hermes/ (20 tests, passing), docs/README.hermes.md,
references/hermes-tools.md, the Platform Adaptation row, README section,
and Python ignores.

Known open items from review, unchanged by this rebase: the injection
mechanism uses ctx.inject_message from on_session_start, which the
official plugin guide does not document (pre_llm_call returning
{"context": ...} is the sanctioned path), skills are not registered via
ctx.register_skill, and the acceptance transcript predates the fix.

Co-authored-by: kumarabd &lt;kumarabd@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rebase of PR #1922 onto current dev: the ~14 files of v6.1.0-era
codex/release drift are dropped, the porting-guide edits (stale against
the post-prune rewrite, no Hermes content) are dropped, and the Hermes
surface is kept intact: .hermes-plugin/ (on_session_start bootstrap
injection), tests/hermes/ (20 tests, passing), docs/README.hermes.md,
references/hermes-tools.md, the Platform Adaptation row, README section,
and Python ignores.

Known open items from review, unchanged by this rebase: the injection
mechanism uses ctx.inject_message from on_session_start, which the
official plugin guide does not document (pre_llm_call returning
{"context": ...} is the sanctioned path), skills are not registered via
ctx.register_skill, and the acceptance transcript predates the fix.

Co-authored-by: kumarabd &lt;kumarabd@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
