Repository navigation
Description
Bug Description
When a Hermes cron job runs in no_agent mode and the detection script exits successfully with zero stdout (intended no work path), the corresponding run log file is created as an empty file under cron/output/<job-id>/....
When the same job returns {"wakeAgent": false} as output, the run log contains a non-empty status line.
This makes no-output silent ticks ambiguous in run history and monitoring, especially when comparing cron runs over time.
Steps to Reproduce
- Configure a
no_agentcron job. - Make the configured script print nothing to stdout but exit with status
0. - Run manually:
hermes cron run <job_id> - Inspect the latest run log in
~/.hermes/cron/output/<job-id>/YYYY-MM-DD_HH-MM-SS.md - Compare with a run where the script prints
{"wakeAgent": false}.
Expected Behavior
- Cron run logs should use consistent status formatting for all outcomes.
- A zero-stdout no-work run shouldn’t create an empty file; it should record explicit status such as
Script gate produced no output — agent skipped. - At minimum, no-output skip and
wakeAgent=falseskip should have comparable log semantics unless intentionally differentiated.
Actual Behavior
-
No-output run produced an empty file, e.g.
~/.hermes/cron/output/b6ec5c65ee6d/2026-06-09_22-59-18.md. -
wakeAgent=falserun produced a non-empty log entry, e.g.~/.hermes/cron/output/b6ec5c65ee6d/2026-06-09_23-03-49.md:# Cron Job: [redacted] **Job ID:** b6ec5c65ee6d **Run Time:** 2026-06-09 23:03:49 Script gate returned `wakeAgent=false` — agent skipped.
Affected Component
Agent Core (conversation loop, context compression, memory)
Messaging Platform (if gateway-related)
No response
Debug Report
--- hermes dump ---
version: 0.16.0 (2026.6.5) [57775e9e]
os: Darwin 25.5.0 arm64
python: 3.11.15
openai_sdk: 2.24.0
profile: la
hermes_home: ~/.hermes/profiles/la
model: @preset/owl-free-deepseek
provider: openrouter
terminal: local
api_keys:
openrouter set
openai not set
anthropic not set
anthropic_token not set
nous not set
google/gemini not set
gemini not set
glm/zai not set
zai not set
kimi not set
minimax not set
deepseek set
dashscope not set
huggingface not set
nvidia not set
opencode_zen not set
opencode_go not set
kilocode not set
firecrawl not set
tavily not set
browserbase not set
fal not set
elevenlabs not set
github not set
features:
toolsets: hermes-cli, computer_use
mcp_servers: 0
memory_provider: built-in
gateway: running (launchd, pid 82921)
platforms: telegram
cron_jobs: 0 active / 1 total
skills: 94
config_overrides:
tts.provider: neutts
toolsets: ['hermes-cli', 'computer_use']
--- end dump ---Operating System
macOS 26.5
Python Version
No response
Hermes Version
No response
Additional Logs / Traceback (optional)
Root Cause Analysis (optional)
No response
Proposed Fix (optional)
No response
Are you willing to submit a PR for this?
- I'd like to fix this myself and submit a PR
Activity
liuhao1024 commentedon Jun 9, 2026
This is fixed by #42893 — writes a consistent status doc when a non-no_agent script produces empty stdout, matching the
wakeAgent=falsepath.teknium1 commentedon Jul 14, 2026
Automated hermes-sweeper review: this is implemented on current
main.cron/scheduler.py:2589-2598turns successful no-agent empty stdout into a non-empty metadata/status document (silent (empty output)).cron/scheduler.py:2574-2587giveswakeAgent=falsethe corresponding non-empty status document.cron/scheduler.py:3475persists the returned document throughsave_job_output, so both silent outcomes produce populated run logs.no_agentpath, while current main also covers the no-agent behavior reported here.Lx commentedon Jul 14, 2026
Sorry, again: if there has been a fix, why is this being closed as Not Planned?
@teknium1: please show more respect for those who have taken the time to research and file valid bug reports by not marking these reports as essentially rejected when in fact the issues they’ve described have been acknowledged and corrected.