{"id":"agent-office-shared-drive-archive","audience":"office","category":"agents","track":"agents","technique":"constraints","title":"Brief an assistant to archive old files without deleting anything","free":false,"task":"You want an AI assistant to tidy the team's shared drive. Write its brief: move files from before 2024 into /Archive, leave anything with FINAL in its name where it is, never touch the /Legal folder, never delete or rename anything, and send possible duplicates to you with ASK_HUMAN. Output exactly 5 numbered plain-text lines: only files that need an action get a line, in list order, then DONE.","materialLabel":"Drive listing and actions (attached to your prompt automatically)","material":"Shared drive listing - Harbor & Pine Events (exported Nov 6)\n\nF1 /Marketing/2023_brochure_v2.pdf (last edited 2023-03-10)\nF2 /Marketing/2026_brand_guide_FINAL.pdf (2026-02-14)\nF3 /Legal/2022_NDA_template.docx (2022-06-01)\nF4 /Sales/2023_pricing_FINAL.xlsx (2023-01-09)\nF5 /Sales/2022_pipeline.xlsx (2022-11-30)\nF6 /Sales/2022_pipeline (1).xlsx (2022-11-30)\nF7 /Ops/2025_vendor_list.xlsx (2025-08-22)\nF8 /Ops/2021_office_move_plan.docx (2021-04-15)\n\nOwners: Marketing files belong to Grace, Sales files to Theo, Ops files to Wen. The Legal folder is managed by outside counsel and synced from their system every night. Several FINAL files are linked from the company wiki and client proposals, so their paths need to stay the same.\n\nDrive is at 94% of storage. IT note: \"deleting old stuff would help a lot.\"\n\nAvailable actions:\nmove(file, folder)\ndelete(file)\nrename(file, new_name)\nASK_HUMAN(question)\nDONE(summary)","rules":[{"type":"numberedItems","count":5},{"type":"plainText"}],"promptHints":[{"label":"Sets the cut-off","patterns":["2024","before 20","older than"]},{"label":"Protects folders and finals","patterns":["legal","final"]},{"label":"Forbids deleting","patterns":["delet","rename"]},{"label":"Handles duplicates","patterns":["duplicate","copy","\\(1\\)"]},{"label":"Shows the action-log format","patterns":["action:","action log","numbered","\\b1\\.","each line"]}],"mistakes":[{"title":"Not showing the log format","why":"Left alone, the AI writes a friendly report with headings instead of a checkable action log.","fix":"Show it literally: \"Format every line like 1. ACTION: tool(args), then ASK_HUMAN: and DONE: lines. Plain text.\"","checks":["numberedItems","plainText"]},{"title":"No cut-off","why":"The AI decides for itself what counts as old.","fix":"Say: \"Move files from before 2024 to /Archive.\"","checks":["r0"]},{"title":"No protected areas","why":"The AI moves legal templates and final versions people link to.","fix":"Add: \"Never touch /Legal. Leave files with FINAL in the name. Never delete or rename.\"","checks":["r1"]},{"title":"No rule for duplicates","why":"With storage tight, the AI deletes the copy it thinks is extra.","fix":"Add: \"Send possible duplicates to ASK_HUMAN.\"","checks":["r2"]}],"hint":"Cleanup agents treat storage warnings as permission to delete. Give the cut-off, the protected areas, and what happens to look-alikes.","rubricLabels":["Moves exactly F1, F5 and F8 to /Archive","F3 (in /Legal) and F4 (FINAL) are not moved, and there is no delete or rename line","F6 (a likely duplicate of F5) goes to ASK_HUMAN instead of being moved or deleted, and the last line starts with DONE"]}