From c8150ab0175498c63b249e6d482af39a96bfa2b5 Mon Sep 17 00:00:00 2001 From: gastown/crew/gus Date: Mon, 5 Jan 2026 21:30:59 -0800 Subject: [PATCH] chore: update .beads/.gitignore with additional entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add sync-state.json, last-touched to ignores - Add redirect file ignore (worktree paths) - Update comments explaining why negation patterns removed 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .beads/.gitignore | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.beads/.gitignore b/.beads/.gitignore index 65bd4ae6..4a7a77df 100644 --- a/.beads/.gitignore +++ b/.beads/.gitignore @@ -10,6 +10,8 @@ daemon.lock daemon.log daemon.pid bd.sock +sync-state.json +last-touched # Local version tracking (prevents upgrade notification spam after git ops) .local_version @@ -18,6 +20,10 @@ bd.sock db.sqlite bd.db +# Worktree redirect file (contains relative path to main repo's .beads/) +# Must not be committed as paths would be wrong in other clones +redirect + # Merge artifacts (temporary files from 3-way merge) beads.base.jsonl beads.base.meta.json @@ -26,8 +32,8 @@ beads.left.meta.json beads.right.jsonl beads.right.meta.json -# Keep JSONL exports and config (source of truth for git) -!issues.jsonl -!interactions.jsonl -!metadata.json -!config.json +# NOTE: Do NOT add negation patterns (e.g., !issues.jsonl) here. +# They would override fork protection in .git/info/exclude, allowing +# contributors to accidentally commit upstream issue databases. +# The JSONL files (issues.jsonl, interactions.jsonl) and config files +# are tracked by git by default since no pattern above ignores them.