From edc0fea02f522d7b5f801dc302df06f1b6f9294c Mon Sep 17 00:00:00 2001 From: beads/crew/emma Date: Thu, 1 Jan 2026 10:57:56 -0800 Subject: [PATCH] fix: restore last-touched to gitignore template (GH#838) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The last-touched file was accidentally removed from GitignoreTemplate in commit 310d374 (GH#814 fix). This restores it and adds it to requiredPatterns so bd doctor will detect outdated gitignores. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- cmd/bd/doctor/gitignore.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/bd/doctor/gitignore.go b/cmd/bd/doctor/gitignore.go index dc5cff2b..0a3a90a7 100644 --- a/cmd/bd/doctor/gitignore.go +++ b/cmd/bd/doctor/gitignore.go @@ -22,6 +22,7 @@ daemon.log daemon.pid bd.sock sync-state.json +last-touched # Local version tracking (prevents upgrade notification spam after git ops) .local_version @@ -59,6 +60,7 @@ var requiredPatterns = []string{ "beads.right.meta.json", "*.db?*", "redirect", + "last-touched", } // CheckGitignore checks if .beads/.gitignore is up to date