From 0a62353767be7b30c499639367cafffc788e39f0 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Thu, 15 Oct 2026 13:53:44 -0600 Subject: [PATCH] new: ignore the database copies kept when the projection is rebuilt (books-data/wanderbooks.mismatch.*) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GWVo7x3UHw5kwCUaWxiejX --- crates/ledger-cli/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/ledger-cli/src/main.rs b/crates/ledger-cli/src/main.rs index 6c223e6..7ed2be2 100644 --- a/crates/ledger-cli/src/main.rs +++ b/crates/ledger-cli/src/main.rs @@ -332,6 +332,9 @@ open_at_start = "ask" const GITIGNORE: &str = r#"# The SQLite projection is disposable — it rebuilds from journal.jsonl. books-data/wanderbooks.db books-data/wanderbooks.db-* +# Copies of a database that disagreed with the journal, kept when it is +# rebuilt; disposable like the database itself. +books-data/wanderbooks.mismatch.* # Held while an agent's MCP server has the books open: one writer at a time. books-data/wanderbooks.lock # Generated exports can always be regenerated from the journal.