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 |
||
|---|---|---|
| .. | ||
| design.md | ||
| requirements.md | ||
| research.md | ||
| spec.json | ||
| tasks.md | ||