From f5c77ad9e5804a61ef326a9ecda180d0ca78091d Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Sat, 13 Dec 2025 06:56:14 -0800 Subject: [PATCH] docs: add changelog entry for sync race condition fix --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e131963..1545de2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- **`bd sync` race condition with daemon (bd-lw0x, bd-hxou)** + - Fixed race condition where daemon or next CLI command would see hash mismatch after sync + - Previously, `bd sync` with sync.branch would restore .beads/ from HEAD but leave stale hash in DB + - This caused auto-import to trigger, which then scheduled re-export, dirtying the working directory + - Now updates `jsonl_content_hash` after restore to match the restored file + - Also fixed daemon's `performAutoImport` to update hash after successful import + ## [0.29.0] - 2025-12-03 ## [0.29.0] - 2025-12-03