Files
hermes-agent/website/docs/developer-guide
Sahil Saghir 8bc0880615 feat(curator): add post_curator_run plugin hook event
Fires once per curator pass, after the per-run report directory
(run.json + REPORT.md) is fully written, with the report paths in the
payload. Goes through the standard lifecycle hook surface
(hermes_cli.lifecycle.invoke_hook), so Python plugins and shell-script hooks both
receive it with no extra wiring, and per-callback error isolation comes
for free.

Lets multi-profile governance layers (profile routing, archival
overrides, audit logging) react to curator output without polling
logs/curator/. Observer-only: return values are ignored, and a raising
callback never breaks the curator pass.

Kwargs: run_dir, run_json_path, report_md_path.

Follow-up to the discussion on #43113, scoped down to the hook event
suggested there.

Rebased onto main by the maintainers: fired through hermes_cli.lifecycle
(first-party observers, then plugins) without an extra wrapper, documented
in the hooks reference, tests trimmed to the two behaviour contracts.
2026-11-08 11:55:30 -08:00
..