docs(ha-single-leader-role): sync steering + contributor docs to three-state model + own-term gate (task 6.1)

This commit is contained in:
Rongsong Shen 2026-06-13 14:58:55 +00:00
parent 93dfc02717
commit dbc631664d
6 changed files with 9 additions and 11 deletions

View file

@ -66,7 +66,7 @@
- _Requirements: 1.2_
- [ ] 6. Documentation sync and grep verification
- [ ] 6.1 Synchronize steering and contributor docs to the three-state model
- [x] 6.1 Synchronize steering and contributor docs to the three-state model
- `.kiro/steering/ha-async-io.md`: heartbeat re-arm sentence (:51 — "PRIMARY only"); Replication Consistency section (:57 — replace the COMMITTING→PRIMARY convergence-promotion sentence with the own-term no-op gate: promotion appends WAL_NOOP, confirmation waits behind `committed_lsn >= writable_lsn`); dispatch-gate table (:68 — remove the CTRL_PRIMARY_COMMITTING row; note the PRIMARY no-quorum fact allowlist); Raft-to-code mapping (:79 — role set without PRIMARY_COMMITTING)
- `src/controller/CLAUDE.md:40` role-mapping table; `.claude/skills/xce-deploy-ha/SKILL.md:98` expected log line (now a single `→ CTRL_PRIMARY`); `src/docs/cluster-config-split-analysis.md:34` config listing (drop the deleted knob)
- Observable completion: `grep -rn "COMMITTING" .kiro/steering/ src/controller/CLAUDE.md .claude/skills/xce-deploy-ha/ src/docs/` returns zero matches