infra(gitignore): track specs/ + carve out private .claude/

The repo-level .gitignore had a blanket *.md rule with only
CHANGELOG.md exempted. Two adjustments:

- Allow specs/ to be tracked (design docs / RFCs live here, public).
- Restrict the README.md exception to the root (/README.md) so that
  per-directory README files (e.g. tests/fixtures/releases/README.md)
  stay ignored as before — no unintended scope creep.
- Explicitly ignore /.claude/, the private dev-docs sub-repo that
  lives inside the working tree but is versioned and pushed
  separately.

CHANGELOG: Internal entry.
This commit is contained in:
2026-05-21 18:05:33 +02:00
parent 02e478a157
commit 8491edac22
2 changed files with 16 additions and 0 deletions
+6
View File
@@ -74,5 +74,11 @@ docs/
# .md files (project-level Markdown is brol-y; allow-list the ones we track)
*.md
!CHANGELOG.md
!/README.md
!specs/
!specs/**/*.md
# Private dev docs (separate git repo inside; see .claude/CLAUDE.md)
/.claude/
#
+10
View File
@@ -15,6 +15,16 @@ callers).
## [Unreleased]
### Internal
- **`specs/` is now tracked.** The repo-level `.gitignore` had a
blanket `*.md` rule with only `CHANGELOG.md` allow-listed. Added
explicit exceptions for `/README.md` (root only — avoids
unintentionally exposing fixture READMEs) and `specs/**/*.md` so the
new design-doc directory ships with the project. Also added an
explicit `/.claude/` ignore line for the private dev-docs sub-repo
that sits inside the working tree but is versioned separately.
### Fixed
- **Multi-episode chain (e.g. `S14E09E10E11`) now collapses to a full