All plugins

invinoveritas-receipts

Signed, independently checkable receipts for Hermes approval verdicts and, since 0.2.0, for turns that stop on iteration exhaustion. Observe-only: a post_approval_response hook requests an invinoveritas decision receipt for each Guardian LLM verdict (or every approve/deny with scope=all); post_llm_call + on_session_end record, when a turn ends with max_iterations_reached, whether the turn's todo ledger (the last todo result or the list re-injected after compaction) was complete (turn_scope: exhausted by default, all, or off). Each receipt is a signed set of salted commitments that anyone can check for free at /verify-proof and that the holder can later open with the salt kept locally. Never approves, denies, delays, continues or blocks anything. Disclosure — one HTTPS POST per recorded approval decision or recorded turn to api.babyblueviper.com/decision-receipt (or the configured api_url) under INVINOVERITAS_API_KEY, paid automatically at 100 sats per receipt from your invinoveritas balance with no per-call confirmation (defaults: Guardian LLM verdicts, and only turns that stop on max_iterations_reached; scope: all adds every human approve/deny, turn_scope: all pays on every turn); sends a fixed question, the options, the choice, a nonce-salted SHA-256 of the context and the tool_call_id/turn_id, never the command text, todo contents or reply text; stores receipts, salts and the full contexts (including the command as Hermes passed it, and the todo ledger) in plugin-data/invinoveritas-receipts/receipts.jsonl.

babyblueviper1Generalv0.2.1Updated 1 month ago

About

Signed, independently checkable receipts for Hermes approval verdicts and, since 0.2.0, for turns that stop on iteration exhaustion. Observe-only: a post_approval_response hook requests an invinoveritas decision receipt for each Guardian LLM verdict (or every approve/deny with scope=all); post_llm_call + on_session_end record, when a turn ends with max_iterations_reached, whether the turn's todo ledger (the last todo result or the list re-injected after compaction) was complete (turn_scope: exhausted by default, all, or off). Each receipt is a signed set of salted commitments that anyone can check for free at /verify-proof and that the holder can later open with the salt kept locally. Never approves, denies, delays, continues or blocks anything. Disclosure — one HTTPS POST per recorded approval decision or recorded turn to api.babyblueviper.com/decision-receipt (or the configured api_url) under INVINOVERITAS_API_KEY, paid automatically at 100 sats per receipt from your invinoveritas balance with no per-call confirmation (defaults: Guardian LLM verdicts, and only turns that stop on max_iterations_reached; scope: all adds every human approve/deny, turn_scope: all pays on every turn); sends a fixed question, the options, the choice, a nonce-salted SHA-256 of the context and the tool_call_id/turn_id, never the command text, todo contents or reply text; stores receipts, salts and the full contexts (including the command as Hermes passed it, and the todo ledger) in plugin-data/invinoveritas-receipts/receipts.jsonl.

invinoveritas-receipts for Hermes Agent

A signed, independently checkable receipt for each Hermes approval verdict.

When Hermes runs with approvals.mode: smart, its Guardian LLM approves or denies dangerous commands on its own,
including in cron, webhook and other unattended sessions. That verdict is real, but it is self-graded and leaves
no record anyone outside the machine can check: later you cannot show what the Guardian decided, or when.

This plugin listens on Hermes's documented post_approval_response hook. For each Guardian verdict, it asks
invinoveritas for a decision receipt: a signed record that commits to the
decision without revealing it. The signed receipt holds salted hashes of the question, the options, the decision
context and the choice, plus the issue time. It does not hold the command or the choice in plain text.

Anyone can check the signature for free, without an account:
POST https://api.babyblueviper.com/verify-proof with the receipt's event.
You alone hold the salt. You can later hand over the salt and the context, and anyone can recompute that this
exact decision was recorded at that time.

Turn-end receipts (0.2.0)

When a turn stops on iteration exhaustion (max_iterations_reached), the reply that follows is written by a model
that just ran out of budget, and it can read as finished while the task's own todo list is not
(hermes-agent#16004). From 0.2.0 the plugin also records
that moment: it reads the turn's newest todo state (post_llm_call): the last todo tool result, or, since 0.2.1, the task list Hermes re-injects after context compression, whichever is newer (ledger_source says which; the re-injected list holds only open items, so the total is recorded as unknown). Then, when on_session_end reports the
exhaustion, asks for a receipt whose choice is complete, incomplete or no_ledger. The salted context is the
exit reason, the todo ledger, the open/total obligation counts and the SHA-256 of the final reply. A finished-sounding
reply over open obligations is then provable later from the receipt, without trusting that reply. Locally, an
incomplete turn also logs one warning with the open count, even without a key.

turn_scope: exhausted (default) issues a turn receipt only on max_iterations_reached; all on every turn;
off never. Like approval receipts, it only observes: it does not continue, retry or block a turn.

What it does and does not do

  • Observe-only. It never approves, denies, delays or changes an approval. The hook returns nothing, never
    raises into Hermes, and makes its network call on a background thread.
  • Scope. By default (scope: guardian) it records only Guardian LLM verdicts (decided_by: aux_llm).
    With scope: all it also records human approve/deny decisions. Timeouts, cancellations, escalations and
    notification failures are not decisions, so they get no receipt.
  • It does not judge the command. A receipt attests that this decision was committed at that time. It does
    not say the decision was right.

Disclosure

  • Network calls. One HTTPS POST to https://api.babyblueviper.com/decision-receipt per recorded decision or
    exhausted turn (configurable with api_url). Nothing else is called.
  • What is sent. A fixed question, the options ["approve", "deny"], the choice, and the SHA-256 of the
    decision context, plus decider: {provider: "hermes-agent", model: "guardian-llm" | "human", request_id: <tool_call_id>}. The command, description and session key are not sent. The context hash includes a
    32-byte random nonce generated on your machine, so the hash cannot be reversed by guessing the command.
  • What is stored locally. <HERMES_HOME>/plugin-data/invinoveritas-receipts/receipts.jsonl: the signed
    receipt, the salt, the nonce and the decision context (with the command as Hermes passed it to the hook;
    Hermes redacts secrets in Guardian commands). This file is what lets you open a receipt later, so keep it.
  • Credential. Reads INVINOVERITAS_API_KEY only. Without it, Hermes does not load the plugin.
  • Cost. Receipts are paid per call: 100 sats each, from your invinoveritas balance (Lightning, USDC via
    x402, or card). Registration is free. Turn receipts (default: exhausted turns only) cost the same. No telemetry, no background process beyond the per-receipt thread.

Install

hermes plugins install https://github.com/babyblueviper1/hermes-invinoveritas
# prompted for INVINOVERITAS_API_KEY (free key: POST https://api.babyblueviper.com/register)

Settings live under plugins.entries.invinoveritas-receipts.settings:

KeyDefaultMeaning
scopeguardianguardian = Guardian LLM verdicts only; all = every approve/deny decision
api_urlhttps://api.babyblueviper.cominvinoveritas API base
timeout_s10.0HTTP timeout for one receipt request

Checking and opening a receipt

Each line of receipts.jsonl holds event, receipt, salt, choice, context and context_sha256.

  • Signature: POST /verify-proof with {"event": <event>}. Expect valid: true.
  • Context: sha256(canonical_json(context)) == context_sha256, where canonical JSON is sorted keys with no
    spaces.
  • Commitments: sha256(salt + "|" + choice) == receipt.choice_commitment and
    sha256(salt + "|" + context_sha256) == receipt.context_commitment.

Development

python -m pytest            # 8 tests, no network
hermes plugins validate .   # Hermes's own catalog check

MIT license. Built by invinoveritas, a verification layer for autonomous agents.

README from the reviewed commit 6a4f9c7; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section