← ClaudeAtlas

trash-retired-fileslisted

Move files unused for ≥30d (or unreferenced per grep) into ~/trash/<unix-ts>_<name>-<YYYYMMDD>/ with a TTL marker. Reversible; the actual sweep is run by Slice C machinery.
a-canary/arc-agents · ★ 0 · Data & Documents · score 66
Install: claude install-skill a-canary/arc-agents
# trash-retired-files — Park Stale Files With a TTL Marker Use when a worker (usually hygiene phase) is confident a file is dead code or stale scratch, but wants a reversible exit rather than `git rm`. The file is moved into the vault-side trash directory (`~/trash/<unix-ts>_<name>-<YYYYMMDD>/`, per the doctrine note in `roles/AGENTS.md`) with a sidecar `.ttl` marker so the Slice C sweep machinery can prune after the retention window. The TTL machinery itself lives in Slice C (`hygiene-slice-c-trash-ttl-marker-30d-swe`). Until that lands, files moved by this skill simply sit in `~/trash/` — still reversible by moving them back. The `.ttl` marker schema below is the contract Slice C will consume; if Slice C lands with a different schema, this SKILL.md must update to match. Wiring this skill into the stop-hook reminder (and any bookie hygiene-emit verb) is Slice D's responsibility — until that lands, workers reach this skill by directory listing or by an explicit pointer from the director. ## When to use - A file has not been referenced by any source / test for ≥30 days (use `git log -1 --format=%ct -- <path>` to confirm last touch). - A grep across `bin/`, `src/`, `skills/`, `hooks/`, `system/`, `contexts/` returns zero hits for the file's exported symbols (or for the file's basename, for non-TS assets). - The file is not declared as a public entry point in `package.json` / `bunfig.toml` / a profile JSON. Do **not** use this skill for: - Files under active development (a