docs(apply): make Step 5e build artifact cleanup explicit with mechan… (#531)

* docs(apply): make Step 5e build artifact cleanup explicit with mechanical shell commands

* docs(apply): address review feedback on Step 5e cleanup commands and timing
This commit is contained in:
Mohamed Alawakey authored and GitHub committed 2026-10-15 18:09:24 +02:00
1 parent 52f0b2719b
commit 7dfa3b66fd
2 files changed
+17 -1

No files matched your search

+9
View File
@@ -27,6 +27,15 @@ per-file diff commands.
`trustedDependencies`, the same set `security_guards.py` forbids in-tree, so a borrowed portal
carrying one is read before it runs. `--dry-run` lists what it would install.
### Changed
- **`/apply` Step 5e names explicit cleanup shell commands for build intermediates**
(#531, `.claude/commands/apply.md`) - the step previously described deleting `.aux`/`.log`/`.out`
in prose, leaving artifact cleanup vulnerable to being skipped by agents. It now specifies explicit
`rm` commands for stock/custom LaTeX toolchains and redirected `build/` directories, timed after
log-inspecting steps 5b-5d complete, and explicitly preserves template assets (`cover.cls`,
`OpenFonts/`, custom template files).
### Fixed
- **Fork-skip guards no longer run on a fork during a local test run** (`tests/_upstream.py`,