heartbeat
Sends a periodic mini-anchor every 10 messages to prevent context drift and maintain conversational continuity.
Instructions
Periodic re-anchoring to prevent context drift - returns mini-anchor every 10 messages
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force anchor return regardless of message count | |
| persona_id | No | The persona ID | ambassador |
| message_count | No | Current message count in the session |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Mini-anchor text, or the heartbeat acknowledgement | |
| persona | No | Human-readable persona name; present only when anchored | |
| anchored | Yes | True when a mini-anchor was returned rather than a plain acknowledgement | |
| personaId | Yes | The persona used for re-anchoring | |
| messageCount | Yes | Message count supplied by the caller |