3.1 KiB
Heartbeat State Schema
Epiphany's heartbeat store is the typed initiative and routine-state organ for the swarm.
The executable truth lives in heartbeat_state.rs.
Store Identity
- document type:
epiphany.agent_heartbeat - schema version:
epiphany.agent_heartbeat.v0 - key:
default
Related emitted schemas:
ghostlight.initiative_schedule.v0epiphany.void_routine.v0epiphany.agent_heartbeat_status.v0
Top-Level Fields
The heartbeat store currently carries:
- target heartbeat rate
- scene clock
- selection policy
- pacing policy
- participants
- history
- optional routine/sleep surfaces:
sleep_cyclememory_resonanceincubationthought_lanesbridgecandidate_interventionsappraisalsreactions
The routine surfaces now have a little more anatomy than they used to:
incubation.sourceCoverage- versioned coverage receipt for which role families and memory kinds have been feeding the current routine
incubation.themes[*]- now include
noveltyToSelf,noveltyToRoom,saturationScore,refractoryPenalty,supportCount,evidenceDiversity,explorationBonus,priorityScore,status, and short holding/attraction lines
- now include
bridge.sourceCoverage- mirrored terrain coverage for the bridge decision layer
bridge.topicSaturation- repeated-theme pressure derived from both bridge syntheses and current incubating themes
bridge.refractoryTopics- temporary cooling records for seams the machine has been worrying too hard
Participant Shape
Each participant tracks:
agent_idrole_iddisplay_namearenaparticipant_kindinitiative_speednext_ready_atreaction_biasinterrupt_thresholdcurrent_loadstatusconstraints- last action metadata
- optional
pending_turn
Maintenance participants are the standing Epiphany organs. Scene participants reuse the same timing law for Ghostlight-style character turns.
Key Policy
The important semantics are:
- cooldown starts after turn completion, not launch
- a participant with a pending turn should not be woken again
- calm systems can slow toward sleep
- urgent systems can raise tempo and concurrency
- idle turns are for rumination, not fake work
- sleep/dream passes are the intended distillation window
- a live, unsaturated thought is allowed to sit and deepen without performing a fake novelty errand every pass
- novelty is split in two on purpose:
noveltyToSelfasks whether the swarm is repeating itselfnoveltyToRoomasks whether the swarm-facing surface has already been fed the same seam
- saturation and refractory cooling exist to keep one rewarding theme from annexing the whole machine
Relation To Agent Dossiers
Heartbeat is physiology, not identity.
Role dossiers describe what an organ is. Heartbeat describes how often it gets the floor, how reactive it is, and how current pressure bends that timing.
Birth-time repo personality may seed heartbeat timing once. After that, routine state, appraisal, mood, continuity pressure, and live work should carry the motion.