Skip to content

fix: untrack the three agent artifacts #603 re-added - #608

Merged
unohee merged 1 commit into
mainfrom
fix/purge-603-artifacts
Sep 10, 2026
Merged

unohee merged 1 commit into
mainfrom
fix/purge-603-artifacts

Conversation

@unohee

@unohee unohee commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

What happened

#606 widened the ignore patterns and merged first, but #603's branch still carried the pre-#606 .gitignore. Staging that branch with git add -A — which I did while integrating it — re-added the three files the same commit was meant to strip:

.cursor-review-git-dump.py
.run-targeted-tests.mjs
.test-runner-tmp.sh

They match main's patterns now (git check-ignore confirms all three), so untracking is enough; .gitignore needs no change.

Why this keeps happening

Third time this family has reached main — #598 → #601/#605, and now #603 → here — each through a different filename, and this time through a stale copy of the very pattern file meant to stop it.

#607 moves the guard into isEphemeralWorktreeArtifact, which the daemon consults at staging time. That one does not depend on a branch's own .gitignore being current, which is precisely the gap this commit exists to close.

🤖 Generated with Claude Code

#606 widened the ignore patterns and merged first, but #603's branch still
carried the pre-#606 `.gitignore`. Staging that branch with `git add -A` —
which I did while integrating it — re-added the three files the same commit
was supposed to strip:

    .cursor-review-git-dump.py
    .run-targeted-tests.mjs
    .test-runner-tmp.sh

They match main's patterns now, so untracking is enough; nothing needs to
change in `.gitignore`.

This is the third time this family has reached main (#598 -> #601/#605,
#603 -> here), and each time through a different filename. #607 moves the
guard into `isEphemeralWorktreeArtifact`, which the daemon consults when it
stages — that one does not depend on the branch's own `.gitignore` being
current, which is exactly the gap this commit exists to close.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@unohee
unohee merged commit 8b62b3b into main Sep 10, 2026
7 checks passed
@unohee
unohee deleted the fix/purge-603-artifacts branch September 10, 2026 02:02
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