From b8e6404fe2673b675c41bb97c65dacb946b35ad3 Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Fri, 29 May 2026 13:27:01 +0000 Subject: [PATCH] docs(ha-bootstrap): fix config tag length: 12 hex chars (6 bytes), not 16 --- .kiro/specs/ha-config-bootstrap/manual-tests.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.kiro/specs/ha-config-bootstrap/manual-tests.md b/.kiro/specs/ha-config-bootstrap/manual-tests.md index 1831100..c0a3398 100644 --- a/.kiro/specs/ha-config-bootstrap/manual-tests.md +++ b/.kiro/specs/ha-config-bootstrap/manual-tests.md @@ -97,13 +97,13 @@ The controller looks for config at: {workdir}/{myname}/conf/cluster.bin. ← capnp config blob ``` -The `` is the first 16 hex chars of the SHA-256 of the config blob -(= first 8 bytes). +The `` is the first **12 hex chars** of the SHA-256 of the config blob +(= first 6 bytes). The controller validates exactly 12 lowercase hex characters. **Install config on Node A only:** ```bash -TAG=$(sha256sum /path/to/your_config.bin | awk '{print $1}' | cut -c1-16) +TAG=$(sha256sum /path/to/your_config.bin | awk '{print $1}' | cut -c1-12) echo "Config tag: $TAG" CONF_DIR="/tmp/xce-a/ctrl-a/conf"