myxce/.kiro
Rongsong Shen d982d34eb5
feat(controller-status): render election term/time in ctrlstatus CLI (task 7.5)
cmd_ctrlstatus (src/harness/test.c) now prints electedTerm/electedAt
right after the Primary: line, gated on the same NULLSTR(primaryName)
"unknown" check that line already uses. electedTerm prints the existing
term field verbatim (no new wire field, per design's Locked Decision 1);
electedAt reuses the existing ctrlstatus_format_time_ms formatter
already used for responderTime, falling back to "unknown" on a NULL
format result. No leakage of a stale term/elected_at_ms when no primary
is known.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RLSNJhNoULvVcUhXEFafQC
2026-09-16 07:54:04 +00:00
..
settings finalize configuration replication 2026-06-09 16:40:13 +08:00
specs feat(controller-status): render election term/time in ctrlstatus CLI (task 7.5) 2026-09-16 07:54:04 +00:00
steering test(xce-harness-component): verify build isolation; narrow requirement 2.2 2026-09-14 09:59:15 +00:00