Skip to content

Untrack agent and tooling artifacts, and gitignore them - #23

Merged
aliihsaad merged 1 commit into
masterfrom
chore/untrack-agent-artifacts
Sep 12, 2026
Merged

aliihsaad merged 1 commit into
masterfrom
chore/untrack-agent-artifacts

Conversation

@aliihsaad

Copy link
Copy Markdown
Owner

42 files that are tooling output rather than product were tracked, and none of the directories holding them were gitignored — so they kept accumulating.

Cluster Files What it is
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

Also gitignores .codex-remote-attachments/, which was untracked but not ignored — one git add -A from 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 by supabase/functions/README.md and documents real token-refresh behaviour. 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 and I did not want to bundle it in.

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 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

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.
@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
social-media-manager-ai Ready Ready Preview Sep 12, 2026 3:20pm UTC

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: aa2d79e7-6670-44f0-86fd-5800d32ca024


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@aliihsaad
aliihsaad merged commit 0881c17 into master Sep 12, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview 7c89c89e Deployed Sep 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant