Untrack agent and tooling artifacts, and gitignore them - #23
Merged
Merged
Conversation
42 files that are tooling output rather than product were tracked in the
repo, and none of the directories holding them were gitignored, so they kept
accumulating:
docs/superpowers/{plans,specs} 19 agent planning and design output
docs/detailed-security-report/ 17 pentest deliverables and exploitation
evidence
workspace/*_false_positives.md 4 pentest triage scratch
tasks/todo.md 1 agent workflow scratch
.claude/settings.local.json 1 a single machine's local permissions
Untracked with `git rm --cached`, so every file stays on disk and in history —
this stops them being shipped in a checkout, it does not delete anything. No
force-push and no history rewrite.
Also gitignores .codex-remote-attachments/, which was untracked but not
ignored and so was one `git add -A` away from being committed.
Deliberately kept:
CLAUDE.md, AGENTS.md shared project conventions and architecture notes;
these belong in the repo and removing them would
degrade every contributor's tooling.
docs/project-memory/ referenced by supabase/functions/README.md and
documents real token-refresh behaviour, so it is
operational documentation despite the name.
docs/archive/ project documentation history rather than tooling
output, and linked from docs/README.md and
docs/project-analysis-report.md. Worth pruning on
its own merits, but it is a different category.
Known cosmetic consequence: docs/security/credential-archive-inventory-2026-07-02.md
and three planning docs still reference the now-untracked paths. The files
remain on disk, so the references resolve locally but not in a fresh clone.
710 tracked files -> 668. 570/570 tests pass.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This branch was successfully deployed
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.
42 files that are tooling output rather than product were tracked, and none of the directories holding them were gitignored — so they kept accumulating.
docs/superpowers/{plans,specs}docs/detailed-security-report/workspace/*_false_positives.mdtasks/todo.md.claude/settings.local.jsonAlso gitignores
.codex-remote-attachments/, which was untracked but not ignored — onegit add -Afrom being committed.Nothing is deleted
Done with
git rm --cached, so every file stays on disk and in history. This stops them shipping in a checkout; it does not remove them. No force-push, no history rewrite, no broken clones.Deliberately kept
CLAUDE.md,AGENTS.md— shared conventions and architecture notes. These belong in the repo; removing them degrades every contributor's tooling.docs/project-memory/— referenced bysupabase/functions/README.mdand documents real token-refresh behaviour. Operational documentation despite the name.docs/archive/— project documentation history rather than tooling output, and linked fromdocs/README.mdanddocs/project-analysis-report.md. Worth pruning on its own merits, but it is a different category and I did not want to bundle it in.Known cosmetic consequence
docs/security/credential-archive-inventory-2026-07-02.mdand three planning docs still reference the now-untracked paths. The files remain on disk so those references resolve locally, but not in a fresh clone. Left as-is rather than editing four more docs in a cleanup commit.710 tracked files → 668. 570/570 tests pass.
🤖 Generated with Claude Code