Skip to content

fix: inject HEARTBEAT.md content into heartbeat prompt#25

Open
deathbyknowledge wants to merge 1 commit intomainfrom
fix/heartbeat-inject-content
Open

fix: inject HEARTBEAT.md content into heartbeat prompt#25
deathbyknowledge wants to merge 1 commit intomainfrom
fix/heartbeat-inject-content

Conversation

@deathbyknowledge
Copy link
Owner

The heartbeat session is persistent, so the agent only read HEARTBEAT.md on the first run via tool call. Subsequent runs saw the stale context from the session history and never re-read the file.

Now the gateway loads HEARTBEAT.md content and injects it directly into the heartbeat prompt message, ensuring the agent always sees the latest version regardless of session state.

The heartbeat session is persistent, so the agent only read HEARTBEAT.md
on the first run via tool call. Subsequent runs saw the stale context
from the session history and never re-read the file.

Now the gateway loads HEARTBEAT.md content and injects it directly into
the heartbeat prompt message, ensuring the agent always sees the latest
version regardless of session state.
@deathbyknowledge deathbyknowledge force-pushed the fix/heartbeat-inject-content branch from 4d1ccca to 736318b Compare February 18, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant