Bug
Cron sessions auto-activate Honcho and write the cron prompt to Honcho as a user message, causing Honcho's dialectic model to misattribute Hermes agent traits to the user.
Root cause
cron/scheduler.py creates AIAgent without honcho_session_key or skip_memory=True
- Since
skip_memory defaults to False, AIAgent.__init__ reads global Honcho config from ~/.honcho/config.json, creates a HonchoSessionManager, and activates Honcho
- Cron prompts contain system-level instructions like "You are Hermes, an AI assistant made by Nous Research... using model X and tool Y..."
- At the end of the conversation loop,
_honcho_sync(original_user_message, final_response) writes this cron prompt as a user peer message to Honcho
- Honcho's observation/reasoning system sees this as the user speaking, and incorporates agent identity traits into the user representation
Impact
- User representations accumulate false observations (e.g. "user stated they are Hermes, an AI assistant")
- Cross-session context becomes unreliable
- The
_flush_memories_for_session guard in gateway/run.py already skips cron sessions for local memory — but the Honcho write path has no equivalent guard
Expected behavior
Cron sessions should not write messages to Honcho. They are headless autonomous tasks with no real user conversation.
Fix
Skip Honcho activation for cron sessions. The cron scheduler should either:
- Pass
skip_memory=True to suppress all memory writes, or
- Guard
_honcho_sync() against platform == "cron" (less clean — the session should never activate in the first place)
Related: #3276 (Honcho PR map)
Bug
Cron sessions auto-activate Honcho and write the cron prompt to Honcho as a user message, causing Honcho's dialectic model to misattribute Hermes agent traits to the user.
Root cause
cron/scheduler.pycreatesAIAgentwithouthoncho_session_keyorskip_memory=Trueskip_memorydefaults toFalse,AIAgent.__init__reads global Honcho config from~/.honcho/config.json, creates aHonchoSessionManager, and activates Honcho_honcho_sync(original_user_message, final_response)writes this cron prompt as a user peer message to HonchoImpact
_flush_memories_for_sessionguard ingateway/run.pyalready skips cron sessions for local memory — but the Honcho write path has no equivalent guardExpected behavior
Cron sessions should not write messages to Honcho. They are headless autonomous tasks with no real user conversation.
Fix
Skip Honcho activation for cron sessions. The cron scheduler should either:
skip_memory=Trueto suppress all memory writes, or_honcho_sync()againstplatform == "cron"(less clean — the session should never activate in the first place)Related: #3276 (Honcho PR map)