hermes - 💡(How to fix) Fix [BUG] Cron jobs split across profile directories — created in wrong profile, not visible to gateway [2 comments, 2 participants]

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…
GitHub stats
NousResearch/hermes-agent#25290Fetched 2026-05-14 03:47:29
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Author
Participants
Timeline (top)
labeled ×4commented ×2cross-referenced ×1

Error Message

  1. The cron creation tool doesn't warn about or enforce which profile's storage to use
  2. Warning on creation: When creating a cron, warn if the active profile differs from the one running the gateway

Root Cause

  1. The cron creation tool doesn't warn about or enforce which profile's storage to use
  2. The running gateway uses its profile's cron storage, not the default
  3. hermes cron list uses the default profile's storage
  4. No merge or sync between profile-specific cron stores
RAW_BUFFERClick to expand / collapse

Problem

Hermes has a multi-profile system where each profile (default, kimicoder, coder, etc.) has its own data directory at ~/.hermes/profiles/<profile>/. However, cron jobs are fragmented across profiles:

  • ~/.hermes/cron/jobs.json — 14 jobs (default profile, used by the CLI)
  • ~/.hermes/profiles/kimicoder/cron/jobs.json — 2 jobs (kimicoder profile, used by the running gateway)

The running gateway (as kimicoder profile) only sees its own 2 crons and ignores the other 12.

Post-Mortem: Task t_93298a9e

  1. Task created: "make a cron task in http://127.0.0.1:9000/cron to monitor every 30 mins the h13b"
  2. Agent created cron 84d83e65cf6e — this was saved to ~/.hermes/cron/jobs.json (default profile)
  3. Gateway runs as kimicoder profile — reads from ~/.hermes/profiles/kimicoder/cron/jobs.json (only 2 jobs)
  4. hermes cron list also uses default profile — shows only 2 jobs
  5. Result: cron exists in a file but neither the CLI nor the gateway can see it

The cron was not wiped by the update. It was created in the wrong profile.

Impact

  • Crons created in one profile are invisible to other profiles
  • The hermes cron list command (default profile) and the running gateway (kimicoder profile) see different sets of crons
  • Users lose track of which crons exist and where
  • Task t_93298a9e shows "running" but the cron it was supposed to create is in the wrong profile and not being executed

Root Cause

  1. The cron creation tool doesn't warn about or enforce which profile's storage to use
  2. The running gateway uses its profile's cron storage, not the default
  3. hermes cron list uses the default profile's storage
  4. No merge or sync between profile-specific cron stores

Expected Behavior

  • All profiles should share a single cron store, OR
  • Cron creation should prompt/confirm which profile to use, OR
  • hermes cron list should show crons across all profiles or clearly indicate which profile each belongs to

Suggested Fix

  1. Unified cron storage: Move cron storage out of profile-specific directories into a shared location that all profiles read/write
  2. Profile-aware cron commands: hermes cron list --profile kimicoder to see a specific profile's crons
  3. Warning on creation: When creating a cron, warn if the active profile differs from the one running the gateway
  4. Cross-profile list: hermes cron list --all to show crons from all profiles

Technical Details

  • Default profile crons: ~/.hermes/cron/jobs.json (14 jobs)
  • Kimicoder profile crons: ~/.hermes/profiles/kimicoder/cron/jobs.json (2 jobs)
  • The gateway must be passing --hermes-home pointing to the profile dir, while CLI uses ~/.hermes by default
  • Related: Hermes already has issue #18594 about HERMES_HOME fallback when profile is active

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