Files
hermes-agent/cron
Alexander Whitestone 9c38e28f4d
Some checks failed
Forge CI / smoke-and-build (pull_request) Failing after 20s
fix(cron): deploy sync guard + kwarg filter + script failure marker
Fixes #341, Fixes #348

Three-part cron resilience fix:
1. _validate_agent_interface() — fail-fast if AIAgent.__init__
   is missing expected params (deploy sync guard)
2. _safe_agent_kwargs() — filter unsupported kwargs so jobs
   keep running with degraded functionality
3. [SCRIPT_FAILED] marker — prompt-wrapped script jobs can
   now propagate command failure to cron state

Supersedes PR #358 (branch conflict).
2026-04-13 15:12:12 -04:00
..