Files
hermes-agent/tests
Teknium b09ddf7746 refactor(cron): decompose run_job and _run_one_job_body into phase helpers
run_job 307 -> ~75: _prepare_job_prompt (pre-agent gates, wake gate, injection block),
_CronRunScope (ContextVar/tool-cwd scope with paired enter/exit), _reload_dotenv_and_publish_
delivery_target, _resolve_cron_agent_setup -> _CronAgentSetup (same gate order), _construct_cron_
agent, _FireAudit. _run_one_job_body 338 -> 170: _FireOwnership (fence + ownership check),
_RunDelivery + _save_compose_deliver, _finish_interrupted_run, _finish_completed_run,
_deliver_crash_failure. Source-inspection test repointed to _finish_interrupted_run.
2026-09-02 19:08:28 -07:00
..