delegation-handoff-watch 0.1.0
A dependency-free, passive native Python Hermes plugin. No patching, network access, provider requests, private Hermes database access, automatic resumption or recovery. It observes available hook events and offers a standalone report; it is not a Desktop renderer extension.
Status and publication
- Version 0.1.0, authored and maintained under the public handle ErtzFiend.
- Distributed from this public repository. Inclusion in the Hermes plugin catalog is a separate, maintainer-reviewed process.
- Validated against Hermes 0.23.5 (commit
a428f5344f777ccafe389c79d5b09384abef1437).plugin.yamldeclaresrequires_hermes: ">=0.23.5"— the floor this tree was actually exercised with; older releases are not claimed as compatible.
What is observed
pre_tool_callandpost_tool_callfordelegate_task: tool dispatch boundaries, including control calls such as list/stop, not necessarily a successful spawn. Post status is Hermes' tool status, not a child or delivery verdict.subagent_startandsubagent_stop: child construction and host finalization, when emitted; child session and parent session are hashed for correlation. A start can precede actual execution and a stop can precede result delivery. Start and stop hooks can be missed independently.pre_api_request: first subsequent request for the same observed parent after a child stop. This is only an API attempt, possibly an unrelated turn, retry or another concurrent interaction. It does not prove that the specific result was delivered, read, acknowledged, or answered. One subsequent request can follow multiple stops; multiple children may complete between observations. No event does not establish a hang or failure.
At the validated Hermes checkout a428f5344f777ccafe389c79d5b09384abef1437 (release 0.23.5), the native delegate_task construction path emits subagent_start in tools/delegate_tool.py, and both joined and detached batch execution use _finalize_child_results, which emits subagent_stop in tools/delegate_tool_results.py. Hook emission depends on the actual execution path, backend and process. The observer has not been exercised with a live native Desktop session, and Desktop registration/visibility and complete handoff are not verified. No claim is made for different delegation implementations or forked processes. Hook payloads lack a reliable stop-to-tool-call identifier; time order and shared hashed parent are not proof of causality. An interrupted process, ignored/missing identifiers, plugin load failures, SQLite contention/errors or expiry may lose observations. Hooks are best effort and instrumentation always fails open. Enabling the API hook makes Hermes construct its normal observer payload, even though this plugin ignores its contents.
Privacy and retention
The observer reads only identity fields and status from hook keyword arguments; it never records goals, prompt, transcript, request, response, summary, tool arguments, result, model, URLs, errors or credentials. It hashes supplied session, turn, and call IDs using unsalted truncated SHA-256 (24 hex characters): these are pseudonyms, not anonymity; predictable identifiers can be guessed and hashes are linkable within and across installations. Status is allowlisted; unknown values are discarded. It stores timestamps, event names and those pseudonyms only. File: <active HERMES_HOME>/plugin-data/delegation-handoff-watch/events.sqlite3, chmod 0600, SQLite rollback journal. A maximum of 500 rows and a seven-day horizon are enforced on successful event writes, not by a background timer; idle old records remain until a later write or manual deletion. SQLite page allocation, journal and filesystem overhead are not an exact byte limit; disk-full, process crashes, backups, filesystem permission semantics and lock contention can affect integrity/privacy. Data belongs to the profile, survives plugin removal, and can be manually deleted when all writers have stopped. Report reads only this plugin-owned database.
Report
From the installed plugin's own directory, with the relevant profile selected:
python3 watch.py
# Or point explicitly at the relevant profile's plugin-owned store:
python3 watch.py --db /path/to/profile-home/plugin-data/delegation-handoff-watch/events.sqlite3
No database means no observation, not proof of inactivity. Each event lists UTC time and hashes, newest first. Join child start/stop by parent and child hash; look for a later parent_request for the parent as weak evidence of subsequent activity only. Missing IDs are shown as - for optional fields; events with missing parent are dropped.
Validation and tests
# Pure-stdlib unit tests (any recent Python 3, no Hermes installation needed):
python3 -m unittest -v test_watch
# Official catalog-admission gate — the same checks plugin-catalog CI runs:
hermes plugins validate .
# Official isolated doctor — real discovery/registration runtime with a temporary HERMES_HOME:
hermes plugins doctor .
test_host_integration.py is an optional deeper smoke test: it loads this plugin through Hermes' isolated doctor runtime (hermes_cli.plugin_dev._doctor_runtime, private test machinery), dispatches synthetic pre_tool_call / subagent_start / subagent_stop / pre_api_request payloads through the real hook manager, and asserts that only pseudonymized rows were persisted. Run it from this directory with Hermes' own runtime Python, Hermes' source tree on PYTHONPATH, and TMPDIR outside this checkout (the doctor stages a copy of the plugin tree and refuses a temporary directory inside it):
TMPDIR=/some/empty/scratch PYTHONPATH=/path/to/hermes-agent-source \
/path/to/hermes-runtime-python test_host_integration.py
Doctor and validate build their own temporary, network-blocked runtime and write nothing outside it; neither installs the plugin or changes configuration. They validate discovery/registration, not live behavior. Passing unit tests plus doctor/validate is not proof of Desktop activation or a real delegation end-to-end. No production installation or configuration change has been made by this candidate. Reassess compatibility and filesystem locking on the intended host before any separately authorized deployment.
Disclosure (rule-13 summary)
Passive and read-side only from the hook stream; writes a SQLite database and transient journal in its own profile-scoped plugin-data directory; no network calls, no subprocesses, no credential reads, no background processes, no telemetry, no automatic action on observed events, no self-updating code.
Install
Review the source before enabling the plugin:
hermes plugins install ErtzFiend/hermes-delegation-handoff-watch --enable
License
MIT © 2026 ErtzFiend (see LICENSE). Hermes Agent itself is MIT-licensed by Nous Research; this is independent, original standalone plugin code that extends Hermes only through its documented public hook surface.
References: https://hermes-agent.nousresearch.com/docs/developer-guide/observer-hooks and https://hermes-agent.nousresearch.com/docs/developer-guide/plugins
README from the reviewed commit 8f43075; it updates when the author re-pins.

ErtzFiend