Skip to content

chore: ignore generated artifacts and untrack stale ones - #42

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/workspace-gitignore-noise
Apr 27, 2026
Merged

chore: ignore generated artifacts and untrack stale ones#42
Jammy2211 merged 1 commit into
mainfrom
feature/workspace-gitignore-noise

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Append prompt 02's missing .gitignore patterns (deduped against existing) and git rm --cached 1 tracked file matching the new patterns. One of 8 PRs implementing PyAutoLabs/PyAutoMind#6 (workspace-gitignore-noise umbrella).

Test Plan

  • git status is clean after pulling this PR onto a fresh checkout.
  • Tracked files that match the new patterns no longer appear in git ls-files.
  • Datasets and other intentionally-tracked content under dataset/, scripts/, etc. remain tracked.
Patterns appended (only those missing from this repo's existing .gitignore)
image.fits
path/
scripts/path/
scripts/scripts/
output_path/
*.log
.codex/
Files removed from tracking via git rm --cached (1)
  • run_scripts.log

🤖 Generated with Claude Code

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>
@Jammy2211
Jammy2211 merged commit f4891f9 into main Apr 27, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the feature/workspace-gitignore-noise branch April 27, 2026 21:19
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