hermes - 💡(How to fix) Fix Cron Jobs Fail Silently Due to Tool Approval Deadlock

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

  1. Better Error Message: Instead of "Timed out", clearly state "Command requires approval but no user is available in this session".

Root Cause

Cron jobs often fail silently because they trigger a "Command Approval" request, but there is no user present to approve it in the background.

RAW_BUFFERClick to expand / collapse

Describe the feature / bug

Cron jobs often fail silently because they trigger a "Command Approval" request, but there is no user present to approve it in the background.

The job waits until timeout and then fails with BLOCKED: Command timed out.

Use Case

I have a Cron job that runs a system check script. It tries to run ls or cat (via terminal tool).

Because of security settings, this requires approval. The Cron job hangs, times out, and reports failure, even though the command is safe.

Proposed Solution

  1. Auto-approval list: Allow users to define a list of tools (e.g., terminal, read_file) that are auto-approved when running in cron mode.

  2. Better Error Message: Instead of "Timed out", clearly state "Command requires approval but no user is available in this session".

Impact

  • Improves reliability of automated background tasks.

  • Reduces false-positive failure alerts.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix Cron Jobs Fail Silently Due to Tool Approval Deadlock