chore: ignore generated artifacts and untrack stale ones - #42
Merged
Conversation
Append prompt 02's pattern block to .gitignore so generated artifacts (image.fits, path/, scripts/path/, scripts/scripts/, output_path/, *.log, root.log, __pycache__/, *.pyc, .codex/) are never re-added to the working tree. Patterns missing from the existing .gitignore are appended; duplicates are skipped. Where files matching the new patterns were already tracked, untrack them via `git rm --cached` so they stop showing as committed (their working-tree content is preserved). Why: forensic sweep on 2026-04-27 found generated noise was hiding real `git status` signal for weeks at a time across the workspaces. Implements PyAutoLabs/PyAutoMind#6. Co-Authored-By: Claude Opus 4.7 (1M context) <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
Append prompt 02's missing
.gitignorepatterns (deduped against existing) andgit rm --cached1 tracked file matching the new patterns. One of 8 PRs implementing PyAutoLabs/PyAutoMind#6 (workspace-gitignore-noise umbrella).Test Plan
git statusis clean after pulling this PR onto a fresh checkout.git ls-files.dataset/,scripts/, etc. remain tracked.Patterns appended (only those missing from this repo's existing .gitignore)
Files removed from tracking via git rm --cached (1)
run_scripts.log🤖 Generated with Claude Code