Skip to content

Commit bc31292

Browse files
authored
Merge pull request #23 from thisisthepy/feat/temp-dir-rule
Docs: temp files in scratchpad or .cache/, not .tmp/
2 parents 32a297c + 401bb06 commit bc31292

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ dist/
1010
.mypy_cache/
1111
.ruff_cache/
1212
.DS_Store
13+
.cache/

‎AGENTS.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ files) lives **inside this repository's root directory.**
2020
| What | Where |
2121
|---|---|
2222
| Worktrees | `.worktrees/<name>` (git-ignored) |
23-
| Temporary files | `.tmp/` (git-ignored); delete when done |
23+
| Temporary files | the session scratchpad directory, or `.cache/` (git-ignored); delete when done |
2424
| CI scripts | `.github/scripts/` |
2525

2626
Before writing a file, check that its absolute path starts with this repository's root. If it does
@@ -33,7 +33,7 @@ Writing to *another* repository is not an exception either. Do it only when told
3333
### Do not add top-level folders
3434

3535
Do not create new folders or files at the repository root on your own. Temporary files go in the
36-
git-ignored `.tmp/`, CI scripts in `.github/scripts/`.
36+
git-ignored `.cache/`, CI scripts in `.github/scripts/`.
3737

3838
The standing root entries are `README.md`, `AGENTS.md`, `LICENSE`, `.gitignore`, `.github/`, `docs/`,
3939
`pyproject.toml`, `pythonx/` (the package; added with the maintainer's approval on 2026-10-04 to

0 commit comments

Comments
 (0)