feat(libxce-failover): foundation — per-ctx failover state, redirect-hint fields, remove orphaned retry primitive (task 1.1)

This commit is contained in:
Rongsong Shen 2026-06-17 00:05:41 +00:00
parent 8c11655e53
commit 387ccfa8dc
17 changed files with 2122 additions and 562 deletions

View file

@ -1,23 +1,25 @@
# anatomy.md
> Auto-maintained by OpenWolf. Last scanned: 2026-06-16T07:17:57.828Z
> Files: 507 tracked | Anatomy hits: 0 | Misses: 0
> Auto-maintained by OpenWolf. Last scanned: 2026-06-16T08:19:04.353Z
> Files: 516 tracked | Anatomy hits: 0 | Misses: 0
## ./
- `.clang-format` (~226 tok)
- `.gitignore` — Git ignore rules (~88 tok)
- `.mcp.json` (~7 tok)
- `.opencode.json` (~55 tok)
- `CLAUDE.md` — OpenWolf (~1400 tok)
- `package-lock.json` — npm lock file (~1039 tok)
- `package.json` — Node.js package manifest (~1 tok)
- `README.md` — Project documentation (~612 tok)
- `uninstall-code-review-graph.sh` — Fully uninstall `code-review-graph` (the Python/uv MCP tool). (~627 tok)
## .claude/
- `settings.json` (~497 tok)
- `settings.json.bak` (~329 tok)
- `settings.local.json` (~187 tok)
- `settings.local.json` (~186 tok)
- `ucai-formatter-cache.local.json` (~17 tok)
## .claude/rules/
@ -296,6 +298,11 @@
- `spec.json` (~142 tok)
- `tasks.md` — Implementation Plan: ha-convergence-recovery (~5679 tok)
## .kiro/specs/ha-elect-ctx-lifecycle/
- `brief.md` — Discovery Brief: ha-elect-ctx-lifecycle (~774 tok)
- `spec.json` (~130 tok)
## .kiro/specs/ha-heartbeat-liveness/
- `design.md` — Design Document: ha-heartbeat-liveness (~5409 tok)
@ -319,7 +326,7 @@
- `requirements.md` — Requirements Document (~3604 tok)
- `research.md` — Gap Analysis: ha-prevote (~6077 tok)
- `spec.json` (~126 tok)
- `tasks.md` — Implementation Plan (~3129 tok)
- `tasks.md` — Implementation Plan (~3197 tok)
## .kiro/specs/ha-repl-hardening/
@ -710,6 +717,17 @@
- `3c576da7137df22cc5fbd982fd231d9d40d374a77c7d618081ba7018f5eec36c.json` (~4654 tok)
- `3ce0572164f9daaf2eee6a108f57bb947fb3d812c5578c7451eed78062e38b68.json` (~8024 tok)
## src/controller/
- `cluster.c` — include "config.h" (~15511 tok)
- `ha.c` — define _GNU_SOURCE (~52565 tok)
- `ha.h` — ifndef HA_H (~14911 tok)
- `persist.c` — define _GNU_SOURCE (~18295 tok)
## src/include/
- `persist.h` — pragma once (~2668 tok)
## src/lib/testsuite/
- `test_raft.c` — include <errno.h> (~36211 tok)