chore(ha-prevote): resolve log-reason nit; track elect_ctx leak as follow-up spec
- Mark the PreVote denial log-reason nit RESOLVED in ha-prevote tasks notes (47f7338).
- File ha-elect-ctx-lifecycle spec scaffold (spec.json + brief.md) capturing the
pre-existing, bounded, UAF-sensitive election-carrier leak and the refcount/
teardown-ordered-free approach across both election and PreVote paths. Deferred
by decision — not folded into ha-prevote to avoid a risky lifetime refactor.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
47f733891b
commit
5503c7a176
5 changed files with 100 additions and 2 deletions
|
|
@ -1762,3 +1762,16 @@ Implemented sub-spec 3/4 of ha-consistency-invariants autonomously (per-task imp
|
|||
| 02:30 | kiro-impl ha-prevote: ALL 11 tasks done (2.1-6.1) | raft+ha+cluster+tests | every task review-APPROVED + committed; raft suite 123/0, controller 563/0 | ~60k |
|
||||
| 02:50 | kiro-validate-impl ha-prevote: GO | full suites | raft 123/0, controller 564/0 (direct binary, no real fail), smoke OK, 27/27 reqs, boundary clean | ~5k |
|
||||
| 00:38 | Session end: 9 writes across 4 files (tasks.md, test_ha_prevote.c, test_raft.c, research.md) | 14 reads | ~53449 tok |
|
||||
| 00:46 | Edited src/controller/ha.c | inline fix | ~30 |
|
||||
| 00:47 | Edited src/controller/ha.c | modified ha_heartbeat_is_fresh() | ~12 |
|
||||
| 00:47 | Edited src/controller/ha.h | 2→7 lines | ~80 |
|
||||
| 00:47 | Edited src/controller/cluster.c | heartbeat() → ha_heartbeat_is_fresh() | ~419 |
|
||||
| 00:49 | Session end: 13 writes across 7 files (tasks.md, test_ha_prevote.c, test_raft.c, research.md, ha.c) | 16 reads | ~54029 tok |
|
||||
| 00:54 | Edited .claude/settings.json | removed 13 lines | ~11 |
|
||||
| 00:55 | Created .kiro/specs/ha-elect-ctx-lifecycle/spec.json | — | ~130 |
|
||||
| 00:55 | Edited .claude/settings.json | removed 13 lines | ~10 |
|
||||
| 00:55 | Edited .claude/settings.local.json | 5→3 lines | ~20 |
|
||||
| 00:55 | Created .kiro/specs/ha-elect-ctx-lifecycle/brief.md | — | ~826 |
|
||||
| 00:55 | Edited .kiro/specs/ha-prevote/tasks.md | inline fix | ~60 |
|
||||
| 00:55 | Edited .kiro/specs/ha-prevote/tasks.md | inline fix | ~68 |
|
||||
| 03:12 | ha-prevote cleanup: issue-1 log-reason fixed (47f7338); issue-2 leak deferred | .kiro/specs/ha-elect-ctx-lifecycle/, tasks.md, cerebrum.md | follow-up spec scaffolded + tracked | ~3k |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue