hermes-agent/tests/cron
Teknium 5dc0fa3889 fix: post-merge audit follow-ups for #81138/#81139/#81141/#81148
Four fix-forwards from the adversarial post-merge audit of the Aug 7
unreviewed merge batch:

- estop (#81148): is_engaged() now fails SAFE (engaged) on stat errors;
  the gateway estop gate lets recognized slash commands and replies owned
  by in-flight work (update prompts, clarify, slash-confirm, tool
  approvals, running sessions) through instead of consuming them; new
  gateway /pause [reason|off] command gives messaging-only operators an
  in-band engage/resume path (busy_policy=dispatch so it works mid-run).
- cron monitor mode (#81138): execution-mode invariants (monitor x
  no_agent, monitor_script x monitor_url, no_agent-requires-script) now
  have ONE owner (_validate_job_mode_invariants) called from BOTH
  create_job and update_job, so the create-time invariant can no longer
  be silently violated through the update door.
- cron notepad (#81139): remove_job now clears the job's notepad rows
  (clear_notepad was dead code -> orphaned KV state forever); clear is
  best-effort and no-ops without creating notepad.db.
- delegation batch gate (#81141): template-marker regex narrowed to
  multi-word placeholder shapes only (<feature name>, {file_path}) so
  generics (Vec<T>), HTML tags, JSON snippets, glob braces and f-string
  style no longer reject legitimate batches; duplicate-goal rejection
  removed (best-of-N fan-outs are legitimate).
2026-08-08 05:21:09 -07:00
..
__init__.py
…
conftest.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_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_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
…