hermes-agent/tests/cron
Victor Kyriazakos 8d4b1e4b0e fix(cron): apply create-time origin resolution to the update path too
Review caught a real gap: action='update' also accepts deliver, and the
tool description explicitly steers agents toward update-over-create — so
a cron-context agent updating a job to deliver='origin' would recreate
exactly the dangling literal-origin shape the create-path resolution
prevents (stored 'origin' on an origin-less job → fire-time home-channel
guessing or silent drop).

Wrap the update site in the same resolver. Semantics follow the create
precedent: in cron context, 'origin' means 'my run's target', resolved
concretely at mutation time; outside cron context updates are
byte-identical to before.
2026-08-13 09:42:39 -07:00
..
__init__.py
conftest.py
test_agent_scheduling_gate.py
test_blueprint_catalog.py
test_claim_job_for_fire.py
test_codex_execution_paths.py
test_compute_next_run_last_run_at.py
test_cron_context_from.py
test_cron_created_delivery.py fix(cron): apply create-time origin resolution to the update path too 2026-08-13 09:42:39 -07:00
test_cron_direct_api_call_62151.py
test_cron_direct_api_call_watchdog.py
test_cron_inactivity_timeout.py
test_cron_kanban_env_isolation.py
test_cron_no_agent.py
test_cron_profile_isolation.py
test_cron_prompt_injection_skill.py
test_cron_provider_pin.py
test_cron_script.py
test_cron_workdir.py
test_cronjob_schema.py
test_execution_ledger.py
test_file_permissions.py
test_idle_tick_config_skip.py
test_jobs.py
test_jobs_changed_notify.py
test_jobs_crossprocess_lock.py
test_jobs_file_ownership.py
test_jobs_shrink_merge_80624.py
test_monitor_kind.py
test_notepad.py
test_parallel_pool.py
test_preflight_config.py
test_reasoning_config_per_model.py
test_relay_fronted_delivery.py
test_rewrite_skill_refs.py
test_run_one_job.py
test_scheduler.py
test_scheduler_cron_session_isolation.py
test_scheduler_mcp_init.py
test_scheduler_provider.py
test_scheduler_shutdown_guard.py
test_script_claim_heartbeat.py
test_sessiondb_init_hang.py
test_shutdown_interrupt.py
test_suggestions.py
test_terminal_cwd_lock.py
test_ticker_stall_60703.py
test_usage_audit_logger.py