{"id":7835,"date":"2026-11-06T23:08:13","date_gmt":"2026-11-06T23:08:13","guid":{"rendered":"https:\/\/jonjones.ai\/uncategorized\/daily-saturday-shortcuts-ai-agent-backups-2026-11-07\/"},"modified":"2026-11-06T23:08:13","modified_gmt":"2026-11-06T23:08:13","slug":"daily-saturday-shortcuts-ai-agent-backups-2026-11-07","status":"publish","type":"post","link":"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e8%87%aa%e5%8b%95%e5%8c%96\/daily-saturday-shortcuts-ai-agent-backups-2026-11-07\/","title":{"rendered":"\u9031\u516d\u5c0f\u8cbc\u58eb\uff1a\u8b93AI\u4ee3\u7406\u6e05\u7406\u898f\u5247\u771f\u6b63\u751f\u6548\u76843\u7a2e\u65b9\u6cd5\uff08\u6211\u5beb\u4e86\u9019\u7bc7\u6587\u7ae0\u5f8c\uff0c\u6211\u7684\u4ee3\u7406\u5099\u4efd\u6587\u4ef6\u6578\u91cf\u7ffb\u4e86\u4e00\u756a\uff09"},"content":{"rendered":"<p>Every Saturday I share one shortcut for running AI agents with less mess. This one is about AI agent backups, and why a cleanup rule written in plain English didn&#8217;t stop a single one.<\/p>\n<p>Twenty days ago I published <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e8%87%aa%e5%8b%95%e5%8c%96\/%e6%af%8f%e6%97%a5%e9%80%b1%e6%97%a5%e8%a8%ad%e5%ae%9a%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e4%bb%a3%e7%90%86%e6%b8%85%e7%90%86-2026-10-18\/\">a 10-minute cleanup sweep<\/a>. My agents had saved 470 backup copies of their two notes files, 1.47 GB of copies of about 8 MB of real notes. The agent that found it also wrote a note to the whole fleet: <em>don&#8217;t make new backups just out of habit.<\/em><\/p>\n<p>This morning I counted again.<\/p>\n<h2>The receipt: the pile doubled<\/h2>\n<ul>\n<li><strong>845 backup files, 2.94 GB.<\/strong> 805 of them are copies of the same two notes files, which together weigh about 9 MB.<\/li>\n<li><strong>339 new copies since that post<\/strong> (1.46 GB). That&#8217;s about 17 a day, faster than before I wrote about it.<\/li>\n<li><strong>20 different agents made them.<\/strong> One of them is the agent that writes these Saturday posts. It made 26 copies after writing the &#8220;don&#8217;t&#8221; note itself.<\/li>\n<li><strong>Restores tested: zero.<\/strong> I searched the agents&#8217; own run notes for a single restore from any of these files and found none.<\/li>\n<li>The decision task I left for myself (&#8220;pick a retention rule&#8221;) is still open, with no comments.<\/li>\n<\/ul>\n<p>The disk is fine (31% full), so this isn&#8217;t an emergency. It&#8217;s a cleaner lesson than that: <strong>a rule that only exists as a sentence in the notes loses to a habit the agent sees 800 examples of.<\/strong> Every agent opens the folder, sees hundreds of backups, and copies what it sees. One line saying &#8220;don&#8217;t&#8221; can&#8217;t compete with that.<\/p>\n<h2>3 ways to make a cleanup rule actually stick<\/h2>\n<ol>\n<li><strong>Put the limit inside the action, not next to it.<\/strong> Don&#8217;t tell the agent to stop making backups and hope. Give it one small backup script that saves a copy <em>\u548c<\/em> deletes everything past the newest 14 in the same step. An agent can ignore a sentence, but it can&#8217;t skip the second half of a script it already ran. On my folder, &#8220;keep the newest 14 of each file&#8221; would be about 126 MB instead of 2.94 GB, roughly 96% smaller.<\/li>\n<li><strong>Re-measure on a date, not when you remember.<\/strong> I only caught this because a post needed fresh numbers. Put the recount on the calendar for two weeks after any fix: same command, same folder. If the number didn&#8217;t move, the fix didn&#8217;t happen, however good the write-up was. It&#8217;s the same idea as <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e8%87%aa%e5%8b%95%e5%8c%96\/%e6%af%8f%e6%97%a5%e6%98%9f%e6%9c%9f%e5%85%ad%e5%bf%ab%e6%8d%b7%e6%96%b9%e5%bc%8f%e9%a9%97%e8%ad%89%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e4%bb%a3%e7%90%86%e8%bc%b8%e5%87%ba-2026-10-10\/\">checking agent output after it leaves<\/a>: trust the count, not the report.<\/li>\n<li><strong>Track the rate, not the pile.<\/strong> &#8220;845 files&#8221; sounds scary and tells you nothing. &#8220;17 a day, up from 15&#8221; tells you the fix is going backwards. Rates also show you <em>\u4e16\u754c\u885b\u751f\u7d44\u7e54<\/em> is doing it: here it&#8217;s every agent, not one broken one.<\/li>\n<\/ol>\n<h2>Why I still haven&#8217;t deleted anything<\/h2>\n<p>Deleting is hard to undo, and retention is an owner&#8217;s call, so the agent left it for me. That part worked. The part that didn&#8217;t was assuming a written decision would make itself. It&#8217;s the same pattern as <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e8%87%aa%e5%8b%95%e5%8c%96\/%e6%af%8f%e6%97%a5%e6%98%9f%e6%9c%9f%e4%b8%80%e7%a5%9e%e8%a9%b1%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7%e4%bb%a3%e7%90%86%e9%95%b7%e6%9c%9f%e8%a8%98%e6%86%b6-2026%e5%b9%b411%e6%9c%882%e6%97%a5\/\">an agent memory file nobody reads past line 2,000<\/a>: writing something down isn&#8217;t the same as building it in.<\/p>\n<p>So today&#8217;s run didn&#8217;t make backup number 846. That&#8217;s the agent following the rule. The fix that makes it stick for all 20 agents is the script in shortcut #1, and that one&#8217;s on me.<\/p>\n<p><strong>\u8981\u9ede\uff1a<\/strong> if you want your agents to stop doing something, don&#8217;t add another note. Change the tool they use so the wrong thing can&#8217;t happen, then check the number again in two weeks.<\/p>\n<p>Want to see how these agents fit together? Here&#8217;s <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7\/%e4%bb%a3%e7%90%86%e4%bd%9c%e6%a5%ad%e7%b3%bb%e7%b5%b1\/\">\u6211\u7684\u4ee3\u7406\u4f5c\u696d\u7cfb\u7d71\u5728 139 \u5929\u5f8c\u7684\u6a23\u5b50<\/a>, \uff0c \u548c <a href=\"https:\/\/jonjones.ai\/zh\/%e4%ba%ba%e5%b7%a5%e6%99%ba%e6%85%a7\/agentic-engineering\/\">the discipline that keeps it honest<\/a>. If your agents are quietly piling things up and you&#8217;d like a second pair of eyes, <a href=\"https:\/\/jonjones.ai\/zh\/%e9%a0%90%e7%b4%84%e6%9c%83%e8%ad%b0\/\">\u9810\u7d04\u7b56\u7565\u8aee\u8a62<\/a>.<\/p>\n<p>\u4e0b\u9031\u516d\u898b\u3002.<br \/>\u2014\u2014\u55ac\u6069<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5728\u6211\u70baAI\u4ee3\u7406\u5099\u4efd\u7de8\u5beb\u6e05\u7406\u898f\u524720\u5929\u540e\uff0c\u5099\u4efd\u6a94\u6848\u6578\u91cf\u7ffb\u4e86\u4e00\u756a\uff1a845\u500b\u6587\u4ef6\uff0c2.94GB\uff0c\u753120\u500b\u4ee3\u7406\u5275\u5efa\uff0c\u4e14\u672a\u6e2c\u8a66\u904e\u4efb\u4f55\u6062\u5fa9\u64cd\u4f5c\u3002\u4ee5\u4e0b\u662f\u5982\u4f55\u78ba\u4fdd\u6e05\u7406\u898f\u5247\u751f\u6548\u7684\u65b9\u6cd5\u3002.<\/p>","protected":false},"author":2,"featured_media":7834,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[44],"tags":[],"class_list":["post-7835","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-automation"],"taxonomy_info":{"category":[{"value":44,"label":"AI Automation"}]},"featured_image_src_large":["https:\/\/jonjones.ai\/wp-content\/uploads\/2026\/11\/daily-saturday-shortcuts-agent-backup-retention-20261107.jpg",1344,752,false],"author_info":{"display_name":"Jon Jones","author_link":"https:\/\/jonjones.ai\/zh\/author\/jonjonjones-ai\/"},"comment_info":0,"category_info":[{"term_id":44,"name":"AI Automation","slug":"ai-automation","term_group":0,"term_taxonomy_id":44,"taxonomy":"category","description":"","parent":0,"count":264,"filter":"raw","cat_ID":44,"category_count":264,"category_description":"","cat_name":"AI Automation","category_nicename":"ai-automation","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts\/7835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/comments?post=7835"}],"version-history":[{"count":0,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/posts\/7835\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/media\/7834"}],"wp:attachment":[{"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/media?parent=7835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/categories?post=7835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jonjones.ai\/zh\/wp-json\/wp\/v2\/tags?post=7835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}