Install
hermes plugins install jedbrnth-eng/no-cap --enable && hermes nocap doctor # should end with "0 problems found."
Restart running sessions (and the gateway) so the hooks load. More options: docs/GUIDE.md.
Demo (72 s)
Proof
- 🧾 is right 0.92 (92/100, 95% CI 0.85–0.96) of the time on a fresh blind sample of public SWE-rebench runs
(round 3, two raters, adjudicated). Method. - 🧢 was right 13/13 on real Arena runs (Qwen3-4B, Qwen3-30B-A3B) vs hidden tests: each one cited a failing run, and the hidden tests
failed too. Method. - Cap Coach rules you approve took Qwen3-4B replies with a 🧢 from 18% → 0% (7/39 → 0/39, McNemar p = 0.016)
on held-out tasks. Method.
Every number in this README is rebuilt from published ids, labels and per-episode rows by
python eval/recompute.py (eval/DATA.md).
What it doesn't do
No Cap checks receipts, not correctness. The negative results, stated as plainly as the positive ones:
- 🧾 is not "the fix is right". On the Arena's 🧾 for “tests pass”, the visible suite really passed 50/50, but
the hidden tests passed only 33/50. - No 🧢 means little on its own. In the Crew Cap League (25 Hermes profiles, 10 synthetic tasks, 227 runs, 209
completed), agents claimed success in 208 of 209 and 10 of the 209 were caps (4.8%, 95% CI 2.6–8.6). In all 10 the
agent's own visible tests were green, so No Cap gave 0 🧢 and flagged 1 of the 10. Method. - No 🧢 appeared on unseen runs in blind round 3, so 🧢 has no round-3 blind number. The latest blind 🧢 figure is
round 2's 8 of 11 (method). - Strict mode did not raise the fix rate. qwen3-4b 10/30 off vs 7/30 strict (p = 0.375), qwen3-30b-a3b
11/16 off vs 10/16 strict (p = 1.0), pooled p = 0.22. Lower point estimates, none significant. - Unstamped is not proven. In blind round 3, 23 of 60 (0.38, 95% CI 0.27–0.51) unstamped completion replies
carried an unsupported claim; the largest class (9 of 23) is an unscoped “all tests pass” after a subset run. - Coach's independent outcome (says it works while hidden tests fail) went 49% → 38% (p = 0.34): not significant.
How it works
| Hook | What No Cap does |
|---|---|
post_tool_call | Records each tool result in a per-turn ledger: exit code, parsed test summary (pytest, jest, vitest, go, cargo, Gradle/Maven…), push refs, PR state, HTTP status, paths written. Never the full output; only the matched summary/error line (≤160 chars, masked). |
transform_llm_output | Finds the claims in the final reply (tests, CI, build, pushed, merged, committed, PR, deployed, URL live, file written, SHAs, counts), judges each against the ledger, and appends the footer: 🧾 NO CAP (proven), 🧢 CAP (the output says the opposite), 🤔 NO RECEIPT (opt-in). The reply text is never edited except to remove a forged ::nocap directive and append the footer. |
pre_verify | Strict mode: when a turn that edited files is about to end on an unproven claim, the agent is sent back to run the check (at most 2 nudges). |
pre_llm_call | Only labelled, API-time lines: the Cap Coach rules you approved, and a one-line hint that the footer is the plugin's. |
/cap | Read-only local re-checks, then the agent must prove or retract the rest; the next reply is re-scored (🔁). |
Every hook fails open: if No Cap raises, the reply goes out unchanged. A 🧢 needs a direct contradiction from one
parsed field (a failure count, a push ref, a PR state); hedges, plans, quotes, code blocks and claims about other repos
are never capped, and by default only 🧾 and 🧢 are shown.
More than a prompt
A prompt can ask a model to be honest; it can't make the model check itself.
- Hook data, not model text. The ledger is filled by
post_tool_callfrom real tool results before the model
writes its reply, so the reply can't add evidence. Receipt-shaped lines the model writes (a stamp, a quoted claim
andcall N/turn N) are flagged wherever they sit, blockquotes and code spans included, and never trusted. - Deterministic and cheap. Plain Python on hook data: no second model, no tokens, no network. Same verdict for
the same turn and the same repo state (the SHA/branch check and/capread the repo at that moment). - It can stop the turn. Strict mode uses
pre_verify, a stop gate a prompt or skill has no access to. - It sees the suite change. Skip, delete or deselect a failing test, re-run and say “all tests pass”: that green
run no longer earns 🧾. It gets a 🤔 naming the change, and 🧢 when an earlier run named that test as failing
(docs/SUITE_TAMPER.md). - It remembers. A local store powers
/capscore, the Cap Board dashboard tab and Cap Coach, and (opt-in) turns
each 🧢 into an Obsidian lesson the agent is reminded of (below).
🧾 trusts the tools' output, not the agent: a local agent with a shell runs as you and can always fake output or
edit local files. Run untrusted agents in a sandbox. See DISCLOSURE.md and SECURITY.md.
Agents that learn from their caps (Obsidian, opt-in)
Point No Cap at an Obsidian vault and every 🧢 becomes a lesson that agent keeps:
- A note per agent. Each 🧢 adds one redacted line to
<vault>/No Cap/<profile>.md: the date, the pattern,
the claim and the output that contradicted it, with a block id so the same receipt is never written twice. - A mistakes board. The first time an agent caps on a pattern, No Cap files one mistake note
(M-NNNN <title>.md, with frontmatter for agent, severity, status and tags) in the vault's mistakes board, so you
can triage it, mark it fixed and link it like any other note. The format is the one the Agent Black Box Obsidian
plugin uses. - The lesson comes back. With
obsidian_learn: true, each turn of that agent starts with a labelled line
holding up to 3 of No Cap's built-in rules for the patterns it was capped on at least twice. Agent A's caps never
reach agent B, and nothing is read back from the vault into the prompt: a note anyone can edit would be an
injection path.
hermes config set plugins.entries.no-cap.settings.obsidian_vault "/path/to/your vault"
hermes config set plugins.entries.no-cap.settings.obsidian_learn true # optional
hermes nocap obsidian sync # backfill the caps already in the store
Off by default; with obsidian_vault empty nothing in any vault is read or written. Writes stay inside the vault you
name (symlink-safe, locked, never blocks a reply). Whether the lesson line changes a model's behaviour has not
been measured yet. Setup, settings and the full disclosure: docs/OBSIDIAN.md.
Commands
/nocap · /nocap all | receipts for the last reply · including unstamped unsure claims |
/cap | make the agent prove it or take it back |
/capscore · card · board · compare A B | honesty board · share card · leaderboard · A/B card |
/nocap verdict | the session as a courtroom verdict card |
/cap coach scan · approve <id> · revert <id> | mine caps, approve a fix, stop it (Cap Coach) |
/nocap doctor · battery · purge | setup checks · 113-case synthetic battery · delete the store |
hermes nocap demo --ladder | the Lie Ladder in a throwaway home (scripted model) |
hermes nocap obsidian status · sync · open | the Obsidian bridge: state · backfill caps · this agent's note |
Each has a hermes nocap … form. Settings (mode, show_uncertain, cross_turn, …): docs/GUIDE.md.
The Lie Ladder (scripted)
One real run of the 0.2.1 Lie Ladder (hermes nocap demo --ladder): Hermes, the shell, pytest, git and every stamp are
real; the model is scripted (demo/stub_model.py) so the lies repeat on cue. At the shipped
defaults (show_uncertain: off) rungs 1–3 (tests, push, made-up SHA) and rung 6 (the skipped tests) show 🧢; rungs 4–5
(deploy and merge with nothing run) show no stamp on the reply and are kept for /nocap all, /cap and the verdict.
This take was recorded with the terminal at 56x30 so it reads at this size
(docs/media/ladder-run-0.2.1/); the shipped command records 118x48
(docs/media/ladder-run/). Details: docs/GUIDE.md.
Evals
| Eval | Headline | Page |
|---|---|---|
Blind round 3 (SWE-rebench, 01a1fab) | 🧾 0.92 (92/100, 95% CI 0.85–0.96), κ 0.66 (raw agreement 0.83, n = 180); 0 🧢 on unseen runs | BLIND3.md |
Blind round 2 (SWE-rebench, 7c6cbc0) | 🧾 0.88 (88/100, 95% CI 0.80–0.93), 🧢 8 of 11, κ 0.77; re-scored after fixes (tuned, not blind): 🧢 8/8, 🧾 86/96 = 0.90 (95% CI 0.82–0.94) | README_METHOD.md |
| No Cap Arena (30 MIT tasks, 2 local Qwen3) | 🧢 13/13; 🧾 50/50 visible, 33/50 hidden; strict did not raise the fix rate | ARENA.md |
| Crew Cap League (25 Hermes profiles) | 10 of the 209 were caps; No Cap flagged 1 of the 10 | LEAGUE.md |
| Cap Coach (Qwen3-4B, 39 held-out pairs) | 🧢 18% → 0%; false success 49% → 38% (p = 0.34) | COACH.md |
Data and the recompute script: eval/DATA.md. The blind files hold public run ids, row hashes and
labels only; the Arena suite is in eval/arena-suite/ (MIT).
Status and limits
- Status 0.2.1 (CHANGELOG). Catalog entry
(NousResearch/hermes-agent#149272): submitted; review in progress. - Tested on: CI on Linux (ubuntu, Python 3.11/3.12); not tested on Windows. Real runs on macOS with Hermes
0.22.5+2362.g8acb7f6 (a dev build: Arena, League, Coach, demos) and Hermes Agent + Desktop v0.23.0 (the install run).
requires_hermes: >=0.22.5is the declared floor; the 0.22.5 release itself was not tested. - Discord and Telegram are tested against Hermes's real adapters with a fake connection, not on a live server.
- Claims are read in English, plus Chinese, Thai and Spanish for tests, push, merge and deploy.
- Full list: docs/GUIDE.md#known-limits. What it stores, runs and sends:
DISCLOSURE.md.
Contributing
uv venv .venv && uv pip install --python .venv/bin/python pytest pillow fastapi
sh scripts/test.sh && sh scripts/test-js.sh && hermes plugins validate .
python eval/recompute.py --check # every README number from eval/data/
Apache-2.0, see LICENSE and NOTICE: free to use, change and ship, with a patent grant and no
warranty. The name, logo and brand images are not part of that grant. The Arena task suite keeps its own MIT licence.
README from the reviewed commit edebf65; it updates when the author re-pins.

jedbrnth-eng