diff options
| author | Jesse Vincent <jesse@primeradiant.com> | 2026-07-23 16:05:54 -0700 |
|---|---|---|
| committer | Jesse Vincent <jesse@primeradiant.com> | 2026-07-23 16:05:54 -0700 |
| commit | b6613057ae5cb1ecb634f12e52cc47a260caf0e4 (patch) | |
| tree | b45d469f63deaa2fe111d188572e2fad60f55219 /docs | |
| parent | 178528c03e7f0cc051bccf5b1249c480cb972105 (diff) | |
test(hermes): realign suite with the pre_llm_call mechanism; slim docs to the README section
The 20-test suite still exercised the dead on_session_start/inject_message
mechanism (17 failures against the rewritten plugin). Rewritten for the
real contract: pre_llm_call registration + first-turn-only context return,
register_skill receiving pathlib.Path (the conftest mock now raises on str,
mirroring hermes' AttributeError that silently disables a plugin), both
install layouts resolving skills, loud failure when skills are missing,
tool mapping sourced verbatim from hermes-tools.md, and a bootstrap-size
guard against hermes' 10k-char context spill threshold. 19 tests, passing.
Install docs collapse into the README section per maintainer direction:
docs/README.hermes.md and .hermes-plugin/INSTALL.md are gone; the README
carries the two-line install plus the compaction caveat. plugin.yaml
version aligned to 6.1.1.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/README.hermes.md | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/docs/README.hermes.md b/docs/README.hermes.md deleted file mode 100644 index 0ad692c..0000000 --- a/docs/README.hermes.md +++ /dev/null @@ -1,29 +0,0 @@ -# Hermes Agent - -Superpowers supports Hermes Agent via an in-process Python plugin (Shape B). - -## Install - -```bash -hermes plugins install obra/superpowers --enable -``` - -## What you get - -All Superpowers skills auto-trigger in Hermes sessions: -brainstorming before feature work, systematic-debugging on bugs, -test-driven-development for implementation, writing-plans before -touching code, and all other skills in `skills/`. - -## How it works - -The plugin registers an `on_session_start` hook with the Hermes plugin API. -At the start of each session, the hook injects the `using-superpowers` bootstrap -as a user-role message via `ctx.inject_message(role="user")`. A session-id guard -prevents double-injection if the hook fires more than once per session. - -Skills are loaded on demand during the session using `skill_view("skill-name")`. - -## Verifying - -See `.hermes-plugin/INSTALL.md` for the smoke check and acceptance test. |
