Repository navigation
docs: give Claude and Antigravity dedicated /tmp scratch dirs (follow-up to #1091) - #1093
Merged
Merged
Conversation
Repeated ad hoc scratch/debug files dropped straight into the repo root by both agents (scratch*.py, fix_*.py, pr_*_body.md, etc.) required two full manual cleanup passes on this branch. Documents a per-model /tmp convention in CLAUDE.md and ANTIGRAVITY.md (/tmp/gitgalaxy-scratch/claude and /tmp/gitgalaxy-scratch/antigravity, so concurrent sessions don't collide), plus a .gitignore backstop matching the recurring filename patterns in case a throwaway file still lands in the tree. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
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.
Description of Structural Changes
Follow-up to #1091, which was squash-merged (
65c47d87) slightly before this last commit was pushed todocs-testing-updates, orphaning it offmain. This PR is that one commit, cherry-picked cleanly onto currentmain(no conflicts, no other drift).docs: dedicated/tmpscratch directories for Claude and Antigravityscratch*.py,fix_*.py,pr_*_body.md, etc.) required two full manual cleanup passes ondocs-testing-updatesalone.CLAUDE.mdandANTIGRAVITY.md(agy's own project-instructions file, mirrorsCLAUDE.md) now each document a dedicated, non-colliding/tmpworking directory per model —/tmp/gitgalaxy-scratch/claude/and/tmp/gitgalaxy-scratch/antigravity/— for throwaway scripts, repro cases, and generated test artifacts that shouldn't enter the repo tree at all..gitignorebackstop matching the recurring filename patterns from past cleanups (scratch*.py,fix*.py,patch*.py,pr_*body*,test_*.pyat repo root, etc.), anchored to repo-root only so it can't shadow legitimate nested files undergitgalaxy//tests/. Verified viagit check-ignorethat it catches new files matching those patterns without affecting any currently-tracked file.Testing
Docs/config only — no code paths touched.
git check-ignore -vconfirmed the new.gitignorepatterns catch representative filenames without matching anything ingit ls-files.Visual Observatory Testing
N/A — docs/config only, no rendering or engine-output changes.
The Differential Scan Acknowledgement
No target repository — this is a repo-hygiene/process fix, not an engine change. No parsing logic touched, so no differential scan drift is possible.