rdmsm4x-changelog-20260903-2251-fleet-stale-copy-cleanup-six-hosts
Archive-first cleanup of stale app copies, backup files and
pre-consolidation trees on all six Macs: 563 backup files moved, 27 app
copies zipped, 26 empty rollback dirs removed, 10 home-level trees
quarantined (194 GB, moved not deleted), 1.1 GB freed — every action
receipted with a sha256 in a per-host manifest, the whole record
committed to fleet/archive/cleanup-20260903
(a95ac81).
- When: 2026-09-03 22:14 → 22:51 EDT (jdmbair13m5 recheck 21:58–22:10 precedes it, see the 1537 changelog addendum)
- Host:
rdmsm4x, acting on rdmsm4x, rdmbair15m5, rdmbair13m5, rdmpw3265m, rdmpw3275m, jdmbair13m5 - Agent:
claude@rdmsm4x, session55b61233/dev-33 - Ticket:
TASK-20260903-39(claimed, resolved) - Budget posture:
usage_status→ hold (OpenAI 100 %, Anthropic 7-day 69 %). Everything inline; no subagent, codex or agy. - Authority: Rich's
/goal— "cleanup all stale libraries/archive older/suspected older copies … archive/delete all stale application builds across the fleet … cleanup/remove/archive all older/stale copies of apps in /Applications fleet wide. all actions cited, approved."
1. Discovered first, not repeated
Two peer sessions had already worked the same goal tonight:
lib-44 (lib stale copies on 4 spokes →
~/dev/archive/lib-stale-20260903/, 102.6 GB of
.build caches on the hub, Tyrell b15 + ScanRoo b1
snapshotted) and ecs0lib-6b (144-repo sweep,
apps/rd-rt archived). Neither could reach jdmbair13m5. This
pass took what they left: /Applications and
~/Applications debris on every host, app copies outside
/Applications, backup files, $HOME-level stale
trees, and jdmbair13m5 in full.
One near-miss avoided: lib-44 archived
the plain ~/dev/lib/agentkit copies as "redundant". They
are not — claude@rdmsm4x/158c9525 placed them at 15:2x so
codex preflight works on spokes (AGENT_COORDINATION.md §7,
bus 20260903-152423-9A9E040F). They are present again on
all four spokes (byte-identical to canonical HEAD~1 on jdmbair13m5,
verified by sha); left alone here.
2.
What changed (per-host receipt:
~/dev/archive/CLEANUP-MANIFEST-20260903.tsv)
| Host | .bak →
config-bak-20260903 |
app copies → zip | empty rollback dirs | trees →
~/archive-quarantine-20260903 |
freed |
|---|---|---|---|---|---|
| rdmsm4x | 159 | 6 | 9 | 0 | 44 MB |
| rdmbair15m5 | 100 | 9 | 4 | 4 (134 GB) | 1,047 MB |
| rdmbair13m5 | 81 | 0 | 3 | 3 (0.5 GB) | 0 |
| rdmpw3265m | 87 | 5 | 4 | 1 | 18 MB |
| rdmpw3275m | 85 | 6 | 6 | 2 (64 GB) | 18 MB |
| jdmbair13m5 | 51 | 1 | 3 | 0 | 6 MB |
- Zipped (bundle removed only after
unzip -tpassed):/Applications/dev/*dev-channel builds of 08-21 on five hosts (HyperFile-macOS,LogTTY0.1.1(18),LogTTY-universal,ScanRoo0.1.0(1)) — the installedLogTTY.appis 0.1.1(19) everywhere;/Applications/rooDB.appon jdmbair13m5 and/Applications/.rooDB.app.pre-20260824-0002.bakon rdmbair15m5 (rooDB deprecated, ReplicantDB installed beside it);~/Applications/RDWorkbench.app.pre-*×2;/Applications/Essentials.app1.6.2 (older duplicate of Business.app 2.0.3); canary-era~/Applications/.tyrell-{rollbacks,staging}andLatencyBar Rollbacksstubs; hub repo-root buildsAINetNode.app,updateRoo.app(older than the~/dev/apps/dist/releases) and old-nameLogTTY/dist/Logstreamed.app— all git-ignored, verified. - Moved: 563
*.bak*/*.origconfig and script backups (~/.claude,~/.codex,~/.gemini,~/.agent-coordination,~/bin,~/scripts,~/Library/LaunchAgents,$HOME, and on the hub 40 untracked project-level ones under~/dev), the two.paused-20260824rooDB LaunchAgent plists, and the leaked bus test fixtureLEGACY01into the existing quarantine dir on 6/6. - Quarantined (mv, same volume, README with restore commands
on each host):
dev.<host>scratch roots,dev-archive-20260831×2,dev-recovery×2,fleetbuild,Archived-migrated-2026-08-13. Not deleted — the containment check againstrdmsm4x:~/devis the gate and was not run tonight. - Deleted outright (regenerable): rdmbair15m5
~/Library/Developer/Xcode/DerivedData995 MB (last write 09-01 20:43); 26 empty root-owned Tyrell rollback dirs (sudo -n rmdir), newest rollback kept.
3. Deliberately untouched
Newest installed copy of every bundle id; the newest Tyrell rollback
and Tyrell's .tyrell-staging/.tyrell-rejected
deploy state; every app's own dist/ output
(apps/LogTTY/dist/logTTY.app is build 21 — newer than
installed; promotion is the app lead's call); git-tracked build products
and tracked .bak files; ~/dev/issues/;
~/.claude/backups/; provider-live files; anything written
in the last 3 h; iCloud-synced
~/Desktop/~/Documents (a change there hits
every Mac); ~/Archive; ~/Documents/Codex; iOS
DeviceSupport; Tyrell/ECSMemory/ramDisk .build dirs still
being written today.
4. Verification
- Dry run on every host before the real run;
grep -c 'command not found'= 0 andREFUSE|FAIL= 0 on the run that executed. - Manifests: 8 tab-separated fields on every row (repaired after the first write — see §5); totals recomputed from them, not from the run logs.
/Applications/devgone on 5/5 hosts that had it; rollback dirs left = 1 per host; quarantine dirs listed per host with READMEs.- Git status of
fleet/maintenanceandappsunchanged by the hub pass (untracked files only).apps/Tyrellshows 21 modified files that predate this pass (active lane).
5. Three bugs the dry run surfaced, none reached disk
- Loop variable named
path— zsh ties it toPATH; every external command after the firstreadwas "not found". The dry run looked clean (builtins print fine); the tell waskb: command not found: cut. Memoryzsh-path-variable-is-PATHupdated with the recurrence. ((ok++))as the last command of an&&group returns 1 whenokwas 0 → the first success per host also ran the FAIL branch andfail=was overcounted. Disk right, receipt wrong. New memoryzsh-post-increment-exit-status.print -r --leaves\tliteral → manifests repaired in place, executor moved toprintf.
6. Owner actions / decisions
- Delete-or-keep for 194 GB of quarantined trees (rdmpw3275m 62 GB, rdmbair15m5 89 + 24 + 18 GB): run a manifest diff against the hub first; each host's README has the restore line.
~/Desktop/GitHub Desktop.app(681 MB, iCloud Desktop, on every Mac): a release 3.6.5 next to the installed 3.6.5-beta2 — newer, not stale; move it to/Applicationsor delete it by hand.- Installed apps older than built (from lib-44, still true): Tyrell 7 vs 15, ReplicantDB 37 vs 38, LogTTY 19 vs 21.
7. Backups / undo
Zips: ditto -x -k <zip> <parent>. Backups:
mv ~/dev/archive/config-bak-20260903/<rel> ~/<rel>.
Quarantine: per-host README. Record:
rdmsm4x:~/dev/fleet/archive/cleanup-20260903/
(a95ac81, pushed to backup + fleet).
8. Secrets
None written. Manifests hold paths, sizes, versions and sha256 of zips; the committed record was scanned for vendor key shapes (0 hits).