Skip to content

docs: give Claude and Antigravity dedicated /tmp scratch dirs (follow-up to #1091) - #1093

Merged
squid-protocol merged 1 commit into
mainfrom
docs-1091-followup-scratch-dirs
Aug 6, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
docs-1091-followup-scratch-dirs

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Description of Structural Changes

Follow-up to #1091, which was squash-merged (65c47d87) slightly before this last commit was pushed to docs-testing-updates, orphaning it off main. This PR is that one commit, cherry-picked cleanly onto current main (no conflicts, no other drift).

docs: dedicated /tmp scratch directories for Claude and Antigravity

  • 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 docs-testing-updates alone.
  • CLAUDE.md and ANTIGRAVITY.md (agy's own project-instructions file, mirrors CLAUDE.md) now each document a dedicated, non-colliding /tmp working 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.
  • Added a .gitignore backstop matching the recurring filename patterns from past cleanups (scratch*.py, fix*.py, patch*.py, pr_*body*, test_*.py at repo root, etc.), anchored to repo-root only so it can't shadow legitimate nested files under gitgalaxy//tests/. Verified via git check-ignore that it catches new files matching those patterns without affecting any currently-tracked file.

Testing

Docs/config only — no code paths touched. git check-ignore -v confirmed the new .gitignore patterns catch representative filenames without matching anything in git ls-files.

Visual Observatory Testing

  • I tested the output JSON on GitGalaxy.io OR the Airgap Observatory.
  • Flexbox constraints, HUD elements, and 3D rendering remain intact.

N/A — docs/config only, no rendering or engine-output changes.

The Differential Scan Acknowledgement

  • I understand that my PR will be subjected to a Full Differential Scan.
  • I have provided the link to the specific repository this PR addresses so it can be tested alongside the 80-repo calibrated baseline.
  • I believe these changes will measurably improve the engine's Accuracy, Speed, Utility, or Ethos without causing regressions.

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.

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]>
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit a57ed65 into main Aug 6, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the docs-1091-followup-scratch-dirs branch August 6, 2026 13:37
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