chore(gitignore): block data/handover-* + data/spec-* from accidental tracking#334
Merged
mitwilli-create merged 1 commit intoMay 29, 2026
Merged
Conversation
… tracking Several recently-created docs in data/ carry the `[PERSONAL — DO NOT PUBLISH]` frontmatter but were untracked, meaning a careless `git add -A` could publish them across the fork boundary. Two glob patterns close that surface. Patterns added to the `# Personal data` section: data/handover-*.md — session handover docs (5 currently on disk) data/spec-*-2026-*.md — dated spec docs (1 currently on disk) Verified via `git check-ignore -v`: .gitignore:8:data/handover-*.md data/handover-linkedin-url-canonicalization-2026-05-29.md .gitignore:8:data/handover-*.md data/handover-apply-now-gate-and-popout-grounding-2026-05-29.md .gitignore:8:data/handover-*.md data/handover-process-all-drain-and-visibility-2026-05-29.md .gitignore:8:data/handover-*.md data/handover-triage-eval-quality-gate-2026-05-29.md .gitignore:9:data/spec-*-2026-*.md data/spec-linkedin-url-canonicalization-2026-05-29.md Aligns with the memory rule `feedback_preflight_gitignore_check.md` — `[PERSONAL — DO NOT PUBLISH]` frontmatter is a structural classification that must be backed by .gitignore coverage, not just a curator note. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two glob patterns added to the
# Personal datasection of.gitignoreto block[PERSONAL — DO NOT PUBLISH]-frontmatter docs from accidental tracking viagit add -A:5 currently-on-disk files now flip from
?? untrackedto!! ignored:data/handover-apply-now-gate-and-popout-grounding-2026-05-29.mddata/handover-linkedin-url-canonicalization-2026-05-29.mddata/handover-process-all-drain-and-visibility-2026-05-29.mddata/handover-triage-eval-quality-gate-2026-05-29.mddata/spec-linkedin-url-canonicalization-2026-05-29.mdWhy this matters
[PERSONAL — DO NOT PUBLISH]frontmatter is a structural classification — not just a curator note. Without matching.gitignorecoverage, a routinegit add -A(or a sibling agent's bulk-stage step) can publish the file across the fork boundary in a single keystroke. The two patterns close that surface for every future handover + dated spec doc generated in this workflow.Aligns with the memory rule
feedback_preflight_gitignore_check.md— "Rungit check-ignore -vbefore proposing PR scope orgit add; treat[PERSONAL — DO NOT PUBLISH]frontmatter as a structural rule." The pre-flight check is the surfacing mechanism; the.gitignorepatterns are the structural backing.Verification
$ git check-ignore -v data/handover-linkedin-url-canonicalization-2026-05-29.md .gitignore:8:data/handover-*.md data/handover-linkedin-url-canonicalization-2026-05-29.mdAll 5 files verified — matched by either
data/handover-*.md(line 8) ordata/spec-*-2026-*.md(line 9).Scope
.gitignoreonly)# Personal datasectionTest plan
git check-ignore -vmatches all 5 known files# Personal datablock (line 8-9).gitignorediff --stat=1 file changed, 2 insertions(+))🤖 Generated with Claude Code