myxce/.kiro/specs/controller-status
Rongsong Shen 30adc52ea3
feat(controller-status): carry election time on the heartbeat (task 7.3)
The primary echoes its own last_known_elected_at_ms on every outgoing
heartbeat (threaded through xce_ha_heartbeat_req's existing scalar-arg
plumbing, alongside term/committed_lsn/committed_config_tag); a standby
processing a received heartbeat (ha_consume_heartbeat_committed, the sole
production call site) stores it unconditionally into its own
last_known_elected_at_ms, reconcile-free -- no other HA field moves.
ha_observe_heartbeat_committed itself is untouched; the new store sits
next to its call site, not inside it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RLSNJhNoULvVcUhXEFafQC
2026-09-16 06:03:03 +00:00
..
design.md docs(controller-status): add Requirement 12 delta (primary election term/time) 2026-09-16 03:47:45 +00:00
requirements.md docs(controller-status): add Requirement 12 delta (primary election term/time) 2026-09-16 03:47:45 +00:00
research.md docs(controller-status): add Requirement 12 delta (primary election term/time) 2026-09-16 03:47:45 +00:00
spec.json docs(controller-status): add Requirement 12 delta (primary election term/time) 2026-09-16 03:47:45 +00:00
tasks.md feat(controller-status): carry election time on the heartbeat (task 7.3) 2026-09-16 06:03:03 +00:00