From 625a660146302936d4dcf848200f2f093df744db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Andr=C3=A9?= <150893253+aabrius@users.noreply.github.com> Date: Thu, 28 May 2026 19:58:42 -0300 Subject: [PATCH] chore: gitignore local agent/IDE artifacts and stop syncing scheduled_tasks.lock (#54) Adds .agents/, .codex/, AGENTS.md and .claude/scheduled_tasks.lock to the project .gitignore so personal agent/IDE state stops showing up as untracked on git status. Same entries propagated to the template _gitignore for scaffolded projects. Also excludes .claude/scheduled_tasks.lock from sync:template so the runtime lock no longer leaks into packages/bhono-app/templates/base/. --- .gitignore | 6 ++++++ packages/bhono-app/templates/base/_gitignore | 6 ++++++ scripts/sync-template.sh | 1 + 3 files changed, 13 insertions(+) diff --git a/.gitignore b/.gitignore index 4771656..4e007e4 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,9 @@ tests/e2e/blob-results/ # Local Linear configuration .claude/linear-config.json tsconfig.tsbuildinfo + +# Local agent/IDE artifacts (personal, not project) +.agents/ +.codex/ +AGENTS.md +.claude/scheduled_tasks.lock diff --git a/packages/bhono-app/templates/base/_gitignore b/packages/bhono-app/templates/base/_gitignore index 4771656..4e007e4 100644 --- a/packages/bhono-app/templates/base/_gitignore +++ b/packages/bhono-app/templates/base/_gitignore @@ -24,3 +24,9 @@ tests/e2e/blob-results/ # Local Linear configuration .claude/linear-config.json tsconfig.tsbuildinfo + +# Local agent/IDE artifacts (personal, not project) +.agents/ +.codex/ +AGENTS.md +.claude/scheduled_tasks.lock diff --git a/scripts/sync-template.sh b/scripts/sync-template.sh index bb07e25..a651e8d 100755 --- a/scripts/sync-template.sh +++ b/scripts/sync-template.sh @@ -63,6 +63,7 @@ rsync -av --checksum --delete \ --exclude='docs/plans/' \ --exclude='docs/ets/' \ --exclude='.claude/settings.local.json' \ + --exclude='.claude/scheduled_tasks.lock' \ --exclude='.agents/' \ --exclude='.codex/' \ --exclude='AGENTS.md' \