Files
openclaw/src
Adam HoltandClaude Opus 4.5 c91ec2aab7 fix: only inject heartbeat prompt for default agent
The heartbeat prompt from agents.defaults.heartbeat.prompt was being
injected into the system prompt for ALL agents, causing non-default
agents to read the default agent's identity files and adopt its persona.

Now the heartbeat prompt is only included when the session's agent ID
matches the configured default agent. Other agents receive no heartbeat
section in their system prompt.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-10 01:32:30 +01:00
..
2026-01-09 23:29:05 +00:00
2026-01-09 23:29:05 +00:00