From 5d7a8d7d4b7dc13b7d2e80925acd3e14e4ae2c40 Mon Sep 17 00:00:00 2001 From: Igby Date: Thu, 23 Jul 2026 18:13:07 -0600 Subject: [PATCH] chore(gitignore): ignore CLAUDE.local.md / AGENTS.local.md (#3290) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Agent tools (Claude Code, Codex, …) support a *.local.md counterpart to the committed CLAUDE.md/AGENTS.md for personal, per-clone instruction overrides that load after the committed file and are meant to stay uncommitted. gbrain already ignores other workspace-local agent artifacts (.context/, .claude/), so this fills the remaining gap for the two root-level override files. Explicit filenames rather than a *.local.md glob, matching the existing commented, specific style. --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index d0ad7dfad..ab59e82c5 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,11 @@ export/ # .context/test-shards/. Workspace-local by design — never committed. .context/ +# Local agent instruction overrides (CLAUDE.local.md / AGENTS.local.md) — personal, +# per-clone, loaded after the committed CLAUDE.md/AGENTS.md. Never committed. +CLAUDE.local.md +AGENTS.local.md + # Tier 3 PGLite snapshot fixture (built on demand by build:pglite-snapshot) test/fixtures/pglite-snapshot.tar test/fixtures/pglite-snapshot.version