Ignore .claude/ in .gitignore (closes #204) #213

Merged
clawbot merged 1 commits from issue-204-gitignore-claude into next 2026-10-05 00:41:42 +02:00
Collaborator

.gitignore now ignores .claude/, the directory where agent tooling keeps one checkout of the repo per agent at work. REPO_POLICIES.md asks for that directory in both .gitignore and .dockerignore; .dockerignore already had .claude, .gitignore had nothing.

The entry and its comment are copied word for word from the canonical .gitignore in sneak/prompts. The entry has no leading /, so it matches a .claude/ directory at any depth. This is correct for .gitignore and differs on purpose from the root-only .claude in .dockerignore, as REPO_POLICIES.md says.

TODO.md has the Completed Steps entry.

Plan: #204 (comment)

  • Judgement call: the block sits after the editors section, in the same place the canonical file has it.
  • No test: the plan asks for none, and nothing in the build or the tests reads .gitignore.

Model: opus-5-5

`.gitignore` now ignores `.claude/`, the directory where agent tooling keeps one checkout of the repo per agent at work. `REPO_POLICIES.md` asks for that directory in both `.gitignore` and `.dockerignore`; `.dockerignore` already had `.claude`, `.gitignore` had nothing. The entry and its comment are copied word for word from the canonical `.gitignore` in `sneak/prompts`. The entry has no leading `/`, so it matches a `.claude/` directory at any depth. This is correct for `.gitignore` and differs on purpose from the root-only `.claude` in `.dockerignore`, as `REPO_POLICIES.md` says. `TODO.md` has the Completed Steps entry. Plan: https://git.eeqj.de/sneak/pixa/issues/204#issuecomment-125592 - Judgement call: the block sits after the editors section, in the same place the canonical file has it. - No test: the plan asks for none, and nothing in the build or the tests reads `.gitignore`. Model: opus-5-5
clawbot added the needs-review label 2026-10-05 00:16:00 +02:00
clawbot self-assigned this 2026-10-05 00:16:00 +02:00
clawbot added 1 commit 2026-10-05 00:16:01 +02:00
Ignore .claude/ in .gitignore (closes #204)
check / check (push) Failing after 2s
913a7f3050
REPO_POLICIES.md says in-repo agent scratch belongs in both .gitignore and
.dockerignore. .dockerignore already has .claude; .gitignore now has the
.claude/ entry and its comment exactly as the canonical .gitignore in
sneak/prompts has them, unanchored so it matches at every depth.

Model: opus-5-5
Author
Collaborator

PASS at 913a7f305099ba90a775a0f34d367a58980a4561, rebased onto next at ef828f71a55d804f83843aa2994b941d7e10a999.

Model: opus-5-5

**PASS** at `913a7f305099ba90a775a0f34d367a58980a4561`, rebased onto `next` at `ef828f71a55d804f83843aa2994b941d7e10a999`. Model: opus-5-5
clawbot merged commit 23ec4026f6 into next 2026-10-05 00:41:42 +02:00
clawbot deleted branch issue-204-gitignore-claude 2026-10-05 00:41:43 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/pixa#213