{"id":"wal-do-sync-branches-mutually-exclusive","text":"The `_do_sync` method's `if`/`elif` structure means forced syncs in batch mode skip all counter logic entirely — the counter is neither incremented nor reset, which is the structural root cause of the premature batch-sync bug.","truth_value":"IN","source":"entries/2026/05/29/topic-write-count-reset-semantics.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"wal-do-sync-branches-mutually-exclusive","truth_value":"IN","reason":"premise"}]}}