finalize configuration replication

This commit is contained in:
Rongsong Shen 2026-06-09 16:40:13 +08:00
parent e1517bbf28
commit fa66d1ba9c
30 changed files with 8867 additions and 1560 deletions

View file

@ -1,7 +1,7 @@
# anatomy.md
> Auto-maintained by OpenWolf. Last scanned: 2026-06-04T12:21:31.476Z
> Files: 589 tracked | Anatomy hits: 0 | Misses: 0
> Auto-maintained by OpenWolf. Last scanned: 2026-06-09T08:36:14.668Z
> Files: 590 tracked | Anatomy hits: 0 | Misses: 0
## ../../../../../claude/.claude/plans/
@ -233,7 +233,7 @@
- `design.md` — Design Document: election-iomgr-refactor (~6671 tok)
- `requirements.md` — Requirements Document (~2695 tok)
- `research.md` — Research & Design Decisions (~5073 tok)
- `research.md` — Research & Design Decisions (~5189 tok)
- `spec.json` (~129 tok)
- `tasks.md` — Implementation Plan (~3693 tok)
@ -244,7 +244,7 @@
- `election-trace.md` — Election Trace: 3-Node Cold Start (2026-06-04 00:15:58) (~2907 tok)
- `manual-tests.md` — Manual Integration Tests: ha-config-bootstrap (~3677 tok)
- `requirements.md` — Requirements: HA Config Bootstrap & Raft-Style Quorum Election (~3890 tok)
- `research.md` — Cross-Spec Gap Audit (2026-06-03) (~8150 tok)
- `research.md` — Cross-Spec Gap Audit (2026-06-03) (~8392 tok)
- `spec.json` (~198 tok)
- `tasks.md` — Implementation Plan: HA Config Bootstrap & Raft-Style Quorum Election (~5619 tok)
@ -253,7 +253,7 @@
- `design.md` — Design Document: ha-heartbeat-liveness (~5409 tok)
- `manual-tests.md` — Manual Integration Tests: ha-heartbeat-liveness — Task 4.5 (~1726 tok)
- `requirements.md` — Requirements Document (~2054 tok)
- `research.md` — Gap Analysis: ha-heartbeat-liveness (~2001 tok)
- `research.md` — Gap Analysis: ha-heartbeat-liveness (~2290 tok)
- `spec.json` (~129 tok)
- `tasks.md` — Implementation Plan (~2227 tok)
@ -261,7 +261,7 @@
- `design.md` — Design Document: ha-peer-connection-reuse (~5369 tok)
- `requirements.md` — Requirements Document (~1605 tok)
- `research.md` — Research & Design Decisions: ha-peer-connection-reuse (~3517 tok)
- `research.md` — Research & Design Decisions: ha-peer-connection-reuse (~3801 tok)
- `spec.json` (~130 tok)
- `tasks.md` — Implementation Plan: ha-peer-connection-reuse (~2022 tok)
@ -270,15 +270,15 @@
- `design.md` — Design: HA Replication Hardening (~5514 tok)
- `raft-tla-audit.md` — Raft TLA+ Specification Audit (~1591 tok)
- `requirements.md` — Requirements Document (~2817 tok)
- `research.md` — Gap Analysis: HA Replication Hardening (~2381 tok)
- `research.md` — Gap Analysis: HA Replication Hardening (~2756 tok)
- `spec.json` (~128 tok)
- `tasks.md` — Implementation Plan: HA Replication Hardening (~3502 tok)
- `tasks.md` — Implementation Plan: HA Replication Hardening (~3816 tok)
## .kiro/specs/raft-library/
- `design.md` — Design Document: raft-library (~7756 tok)
- `requirements.md` — Requirements Document (~2115 tok)
- `research.md` — Research & Design Decisions: raft-library (~579 tok)
- `research.md` — Research & Design Decisions: raft-library (~949 tok)
- `spec.json` (~127 tok)
- `tasks.md` — Implementation Plan (~4312 tok)
@ -286,7 +286,7 @@
- `design.md` — Design: resval-id-decoupling (~3914 tok)
- `requirements.md` — Requirements: resval-id-decoupling (~2360 tok)
- `research.md` — Gap Analysis: resval-id-decoupling (~3180 tok)
- `research.md` — Gap Analysis: resval-id-decoupling (~3505 tok)
- `spec.json` — Declares is (~229 tok)
- `tasks.md` — Implementation Tasks: resval-id-decoupling (~2424 tok)
@ -294,7 +294,7 @@
- `design.md` — Design: scheduler-controller-msg-gap (~4756 tok)
- `requirements.md` — Requirements: scheduler-controller-msg-gap (~2712 tok)
- `research.md` — Research Log: scheduler-controller-msg-gap (~1540 tok)
- `research.md` — Research Log: scheduler-controller-msg-gap (~1854 tok)
- `spec.json` (~184 tok)
- `tasks.md` — Tasks: scheduler-controller-msg-gap (~2324 tok)
@ -302,7 +302,7 @@
- `design.md` — Design Document: worker-join-refactor (~4709 tok)
- `requirements.md` — Requirements Document (~1401 tok)
- `research.md` — Research Log: worker-join-refactor (~3079 tok)
- `research.md` — Research Log: worker-join-refactor (~3357 tok)
- `spec.json` (~129 tok)
- `tasks.md` — Implementation Plan (~1658 tok)
@ -455,13 +455,13 @@
- `apiserver.c` — include <errno.h> (~5303 tok)
- `CLAUDE.md` — XCE Controller (~2625 tok)
- `cluster.c` — include "config.h" (~11414 tok)
- `config_repl.c` — define _GNU_SOURCE (~13868 tok)
- `config_repl.h` — pragma once (~2069 tok)
- `cluster.c` — include "config.h" (~12219 tok)
- `config_repl.c` — define _GNU_SOURCE (~14728 tok)
- `config_repl.h` — pragma once (~2481 tok)
- `ctrl_metrics.c` — include "ctrl_metrics.h" (~767 tok)
- `dataex.c` — include <errno.h> (~2466 tok)
- `ha.c` — define _GNU_SOURCE (~30494 tok)
- `ha.h` — ifndef HA_H (~6474 tok)
- `ha.c` — define _GNU_SOURCE (~39651 tok)
- `ha.h` — ifndef HA_H (~9764 tok)
- `job.c` — include <errno.h> (~8259 tok)
- `join.c` — include "config.h" (~2347 tok)
- `main.c` — include <argp.h> (~1996 tok)
@ -471,7 +471,7 @@
- `myconf.c` — define _GNU_SOURCE (~1100 tok)
- `opget.c` — include "config.h" (~1725 tok)
- `opupd.c` — include "config.h" (~714 tok)
- `persist.c` — define _GNU_SOURCE (~13035 tok)
- `persist.c` — define _GNU_SOURCE (~13088 tok)
- `queue.c` — include <errno.h> (~1260 tok)
- `repl.c` — include <assert.h> (~3964 tok)
- `reply.c` — include "config.h" (~590 tok)
@ -490,7 +490,7 @@
- `controller_test.c` — include <argp.h> (~1305 tok)
- `test_cluster_persist.c` — define _GNU_SOURCE (~1062 tok)
- `test_config_repl.c` — define _GNU_SOURCE (~8338 tok)
- `test_config_repl.c` — define _GNU_SOURCE (~22128 tok)
- `test_ctrl_metrics.c` — define _GNU_SOURCE (~940 tok)
- `test_e2e_capnp.c` — include <stdint.h> (~1690 tok)
- `test_e2e_checkpoint.c` — define _GNU_SOURCE (~1793 tok)
@ -506,7 +506,7 @@
- `test_ha_ctrlhello.c` (~1322 tok)
- `test_ha_durability.c` — Declares char (~4075 tok)
- `test_ha_election.c` — Declares char (~11144 tok)
- `test_ha_evaluate_committing.c` — Declares checks (~4401 tok)
- `test_ha_evaluate_committing.c` — Declares checks (~7656 tok)
- `test_ha_failover.c` — define _GNU_SOURCE (~3781 tok)
- `test_ha_liveness_sigstop.sh` — test_ha_liveness_sigstop.sh — Task 4.5 integration test: missed-heartbeat (~2606 tok)
- `test_ha_liveness.c` — Declares directly (~6006 tok)
@ -514,7 +514,7 @@
- `test_ha_redirect.c` — include <stdatomic.h> (~905 tok)
- `test_ha_repl_ack.c` (~3093 tok)
- `test_ha_repl_push.c` — Declares is (~2818 tok)
- `test_ha_role.c` — include <signal.h> (~1962 tok)
- `test_ha_role.c` — include <signal.h> (~9651 tok)
- `test_ha_start_election_async.c` — Declares returns (~1957 tok)
- `test_ha_startup.c` — Declares char (~8594 tok)
- `test_ha_vote_gate.c` — define _GNU_SOURCE (~2679 tok)
@ -547,6 +547,7 @@
- `apiserver-backend-integration-test-plan.md` — Integration Test Plan — P0 + P1 Features (~5693 tok)
- `apiserver-backend-reviews.md` — Final Cross-Perspective Review — API Server Backend Enhancement Plan (~6046 tok)
- `apiserver-backend-tasks.md` — API Server Backend Enhancement — Task Tracker (~2318 tok)
- `cluster-config-split-analysis.md` — ClusterConfig Schema Split Analysis (~3448 tok)
- `config-replication-design.md` — XCE Controller: Configuration Replication Design (~31261 tok)
- `config-replication-gap-analysis.md` — Config Replication — Gap Analysis: Design vs Implementation (~2674 tok)
- `config-replication-impl-status.md` — Config Replication — Implementation Status (~2258 tok)
@ -919,14 +920,14 @@
- `netio.h` — if !defined(_NETIO_H_) (~1293 tok)
- `objs.h` — if !defined(_OBJS_H_) (~36 tok)
- `ordq.h` — if !defined(_ORDQ_H_) (~266 tok)
- `persist.h` — pragma once (~1837 tok)
- `persist.h` — pragma once (~1914 tok)
- `preason.h` — if !defined(_PREASON_H_) (~108 tok)
- `qobj.h` — if !defined(_QOBJ_H_) (~41 tok)
- `repl.h` — pragma once (~979 tok)
- `request.h` — if !defined(_REQUEST_H_) (~2108 tok)
- `resobj.h` — if !defined(_RESOBH_H_) (~46 tok)
- `resreq.h` — if !defined(_RESREQ_H_) (~3223 tok)
- `typemap.h` — if !defined(_TYPEMAP_H_) (~3378 tok)
- `typemap.h` — if !defined(_TYPEMAP_H_) (~3593 tok)
- `utils.h` — if !defined(_UTILS_H_) (~1574 tok)
- `vtaskmgr.h` — if !defined(_VTASKMGR_H_) (~442 tok)
- `wal_types.h` — pragma once (~679 tok)
@ -950,7 +951,7 @@
## src/lib/
- `delay.c` — include <errno.h> (~1619 tok)
- `delay.c` — include <errno.h> (~1798 tok)
- `helper.c` — include <errno.h> (~2956 tok)
- `meson.build` (~1513 tok)
- `netio.c` — include <arpa/inet.h> (~5716 tok)
@ -976,7 +977,7 @@
## src/schema/
- `controller.capnp` — Declares OPCode (~7861 tok)
- `controller.capnp` — Declares OPCode (~8223 tok)
## src/tools/