feat(ha-commit-barrier-rollout): wal_classify + classified hook dispatch (task 1.2)

Verified table implemented (STOP/RESUME/UPDATE/FAIL RETAIN per
supersession; WORKER detail switch; CHECKPOINT LOCAL); unknown type =
ERROR + XCE_TESTING abort + production RETAIN fallback. All three
hooks route through wal_hook_append_classified (zero bare async
appends); RETAIN registers with the engine lock-free; facts propagate
local append rc only. 8/8 group tests green; full suite 465/465.
This commit is contained in:
Rongsong Shen 2026-06-12 04:43:50 +00:00
parent fec9519960
commit e8ecc87551
4 changed files with 138 additions and 20 deletions

View file

@ -975,3 +975,13 @@
| 21:05 | Task 1.1 ha-commit-barrier-rollout RED complete: build green, 8/8 new cases FAIL on assertions, 0 pre-existing failures (901 PASS) | test_commit_barrier_rollout.c, persist.h, persist.c, meson.build, controller_test.c | RED verified | ~60k |
| 21:12 | Edited .kiro/specs/ha-commit-barrier-rollout/tasks.md | inline fix | ~21 |
| 21:13 | Edited .kiro/specs/ha-commit-barrier-rollout/tasks.md | added error handling | ~350 |
| 21:17 | Edited src/controller/persist.c | 2→3 lines | ~33 |
| 21:18 | Edited src/controller/persist.c | added 4 condition(s) | ~1200 |
| 21:18 | Edited src/controller/persist.c | modified if() | ~120 |
| 21:18 | Edited src/controller/persist.c | modified persist_queue_hook_fun() | ~147 |
| 21:19 | Edited src/controller/persist.c | modified persist_worker_hook_fun() | ~188 |
| 21:19 | Edited src/controller/persist.c | 4→6 lines | ~69 |
| 04:30 | Task 1.2 ha-commit-barrier-rollout: wal_classify table + wal_hook_append_classified dispatch in 3 hooks | src/controller/persist.c | 8/8 PASS, full controller suite 0 FAIL | ~30k |
| 04:42 | Adversarial review of ha-commit-barrier-rollout task 1.2 (wal_classify + hook dispatch): APPROVED — full suite census 465 Unity PASS / 0 FAIL (implementer's 9/109 was a Unity-summary-block misread, not a partial run) | src/controller/persist.c | APPROVED | ~30k |
| 21:43 | Edited .kiro/specs/ha-commit-barrier-rollout/tasks.md | inline fix | ~19 |
| 21:43 | Edited .kiro/specs/ha-commit-barrier-rollout/tasks.md | 1→2 lines | ~168 |