git/ai-config/commit/5be3e93eb6ccf5d39692acd370387b67a6d02aa6.html (3297 bytes)
1 <!DOCTYPE html> 2 <html lang="en"><head><meta charset="UTF-8" /> 3 <meta name="viewport" content="width=device-width, initial-scale=1" /> 4 <title>ai-config 5be3e93e - Recently Written</title> 5 <link rel="stylesheet" href="../../stagit.css" /> 6 </head><body> 7 <div id="top"><a href="../../../index.html">Recently Written</a> · <a href="../../index.html">git</a></div> 8 <h1>ai-config</h1><span class="desc">One canonical AI agent config (rules, skills, MCP servers) rendered into Claude Code, Codex, Copilot CLI and Antigravity by acsync</span><p class="url">git clone https://github.com/equwal/ai-config</p><p><a href="../../ai-config/index.html">Log</a> | <a href="../../ai-config/files.html">Files</a> | <a href="../../ai-config/refs.html">Refs</a></p><hr/> 9 <div id="content"> 10 <pre>commit 5be3e93eb6ccf5d39692acd370387b67a6d02aa6 11 equwal <13551856+equwal@users.noreply.github.com> 12 2026-10-04 05:24:02 -0700 13 14 Add rule: clean up files and processes before finishing 15 16 </pre><pre> acsync.toml | 1 + 17 rules/cleanup.md | 9 +++++++++ 18 2 files changed, 10 insertions(+) 19 </pre><pre>diff --git a/acsync.toml b/acsync.toml 20 index 465c372..855d695 100644 21 --- a/acsync.toml 22 +++ b/acsync.toml 23 <span class="h">@@ -43,6 +43,7 @@ adopt_heading = "## MANDATORY on the Windows PC: PowerShell 7.6 syntax"</span> 24 machines = ["pc"] # g never had it; add "g" to roll it out there 25 adopt_heading = "## MANDATORY: Undo commands are copy-only" 26 [rules.patches] 27 <span class="a">+[rules.cleanup]</span> 28 29 # ---------- skills (all 8 skills folders) ---------- 30 # ste-writing: retired; must not exist in any skills folder. 31 diff --git a/rules/cleanup.md b/rules/cleanup.md 32 new file mode 100644 33 index 0000000..6ebca31 34 --- /dev/null 35 +++ b/rules/cleanup.md 36 <span class="h">@@ -0,0 +1,9 @@</span> 37 <span class="a">+## MANDATORY: Clean up files AND processes before you finish</span> 38 <span class="a">+</span> 39 <span class="a">+A task is not done while anything it started is still running or lying around. Leftovers from dead agents once kept 10 `grep -r` processes and 2 emulators busy for hours, and made the desktop slow.</span> 40 <span class="a">+</span> 41 <span class="a">+- **Processes.** Stop every process, job, and service that you started: background commands, `nohup`/`&` jobs, emulators (qemu), dev servers, watchers, tunnels, `sleep` loops, long `find`/`grep -r` runs, and containers. Do this on every host you touched, also over ssh. Kill by PID that you recorded, or by an exact command-line match, never by a broad pattern that can hit the user's own programs.</span> 42 <span class="a">+- **Files.** Delete the scratch files, temp scripts, logs, and test output that you created, on every host (`/tmp`, scratch folders, copied scripts).</span> 43 <span class="a">+- **Before you report.** Run `ps` on each host you used and confirm that none of your processes remain. Say in the report what you stopped and deleted.</span> 44 <span class="a">+- **Keep.** Deliverables, backups of files you edited, and anything the user asked to keep. If you must leave something running on purpose (a service, a long build), name it, its PID, and how to stop it.</span> 45 <span class="a">+- **Unsure?** If you did not start it, do not kill it. Ask.</span></pre> 46 </div></body></html>