Files
hermes-agent/website/docs/developer-guide/plugins
unsupportedpastels a5a7a0784d fix(cron): use firing job settings in delivery_platforms and expose ctx.cron_delivery_platforms
Capture a delivery-relevant snapshot of the firing job inside
cron.execution_identity.enter_cron_execution so delivery_platforms() with
job_id=None answers from the run that is actually firing even when the
saved job is edited or deleted mid-run, while explicit job_id lookups
remain previews of the stored job.

Add PluginContext.cron_delivery_platforms(job_id=None) (and tuple
preservation in RemotePluginContext) so hooks running under
plugins.isolation: host read the firing run's delivery platforms in the
gateway in the calling hook's context. Re-export
CronSchedulerRegistrationError from cron.plugin_api so plugins can catch
it without a private core import, and update the plugin guide example
and tests accordingly.

Addresses Greptile review feedback on PR #159657.
2026-11-24 11:17:04 -05:00
..