myxce/.kiro/specs/controller-status
Rongsong Shen 93f32b5d84
feat(controller-status): source election time in ctrlstatus_fill (task 7.4)
ctrlstatus_fill now unconditionally reads ha->last_known_elected_at_ms
into the reply's elected_at_ms field -- one atomic-acquire load, no
role-branch, mirroring how the handler already reports raw term
unconditionally. Serves both a self-stamped primary and a
heartbeat-learned standby from the same field. "Unknown" display
gating is deliberately left to the client command (task 7.5), not
this handler.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RLSNJhNoULvVcUhXEFafQC
2026-09-16 07:21:36 +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): source election time in ctrlstatus_fill (task 7.4) 2026-09-16 07:21:36 +00:00