pub fn write_pulse(
action: &str,
memories_consolidated: u64,
files_processed: u64,
)Expand description
Write a pulse update to the state directory.
Called after consolidation, ingestion, or other agent activities. The hook shim reads this file to decide whether to show a visual indicator.