matou-workstation: /tmp holds 43 G on an 88%-full root disk — matou-test-backend.log alone is 3.8 G with a 29-day-old tail pinning it #1223
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1223
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found 2026-09-04 while re-attributing #1207's host evidence (the workstation turned out NOT to be #1207's box — this is its own, different timebomb).
State (live survey)
/dev/vda1: 203 G used of 232 G (88%), 29 G free./tmphere is disk-backed (not tmpfs) and holds 43 G of it.matou-test-backend.log3.8 G (an open log — atailprocess 29 days old holds it, alongside a node process of the same vintage),/tmp/claude-10001.7 G (session scratchpads),android-repro1.6 G,heal-fix1.1 G,ci-repro-pr71.0 G,heal-inspect673 M, plus a longnix-shell.*tail.Why it matters
At the current accumulation rate the factory's primary runner runs its root disk to 100%, and a full root disk kills everything on the box at once — Forgejo jobs, the session-runner, the healer — in ways that present as anything but "disk full" (GOTCHAS #92 class: the failure will surface far from the cause).
Fix shape
: > /tmp/matou-test-backend.log) — deleting it keeps the space pinned by the open fd. Then ask whether the 29-day-oldtail/node pair (matou-app test backend?) should be running on this box at all — it looks like leaked test infrastructure, the matou-app#331 class./tmpentries older than a few days (same policy as the elitebook clean in #1207: user-owned, ≥2 days, keep active work).tmpfiles.dage rule being applied to elitebook under #1207, so this never needs a hand-sweep again.Host access and the truncate need hands or a
!(the auto-mode classifier walls remote state-writes from sessions).Ruled by agent under ADR 0174 — veto anytime.
Ruling:
ready-for-session(pinned to matou-workstation), categorybugThe ruling. This is host hygiene on
matou-workstation— truncate the leaked-fd log, sweep aged/tmpscratch, and decide the 29-day-oldtail/node pair's fate. The reporter states host access + the truncate need "hands or a!" (the auto-mode session escape for remote state-writes). Because a!session can do it, this does not require Ben's hands or eyes — so it is notready-for-human. It also cannot go to the swarm (ready-for-agent): swarm workers have no host standing onmatou-workstation, and this is a live-infrastructure state-write. ADR 0174 rule 5 mints exactly this case asready-for-session.Why it's a two-way door. The targets are leaked test-infra scratch (
matou-test-backend.log, an escaped matou-app test backend — the matou-app#331 class) and/tmpentries older than a few days. This is routine host hygiene under the established #1207 precedent (user-owned, ≥2 days, keep active work), not the ADR 0174 "destroying data" one-way door, which guards member/production data. The box keeps running; anything the swept scratch fed can be re-run. Truncating with: >(notrm) deliberately preserves the open fd so the space actually frees.What proves it.
df -h /anddu -sh /tmp/*before and after — the pass reclaims the ~43 G and drops root below the 88% line. A follow-updfon a later session confirms it holds (i.e. the tail isn't re-growing).Pinned to the host (#746). Only
matou-workstationholds the disk and the door, so asession-hostmarker is added to the body — other hosts skip it at pick time rather than burning an escalation attempt (the #743 failure mode).Agent brief (for the session that picks this up)
Goal. Bring
matou-workstation's root disk back under pressure and stop the leaked test backend from re-filling it.Steps.
df -h /anddu -sh /tmp/* 2>/dev/null | sort -rh | head -30— capture the before-state in a comment.: > /tmp/matou-test-backend.log. Deleting leaves the 3.8 G pinned by the holdingtail/node fd.tail+ node pair (ps -o pid,etime,cmd -p <pids>). If it's a leaked matou-app test backend (matou-app#331 class) with nothing depending on it, stop it and note what it was; if unsure, leave it running but record the finding — killing a leaked test proc is itself a two-way door./tmpscratch with the #1207 policy: user-owned, mtime ≥ 2 days, keep anything that looks like active work (android-repro,heal-fix,heal-inspect,ci-repro-pr7, thenix-shell.*tail — check mtimes, don't blanket-delete live sessions).tmpfiles.dage rule being wired for elitebook under #1207 so this never needs a hand-sweep again. (If #1207's rule isn't merged yet, add adepends_onon it or note the coupling.)df -h /+ top/tmpresidents after, confirming the reclaim.Guardrails.
: >notrmon the open log. Don't touch non-/tmppaths. If a swept dir turns out to belong to a live session, that's the line — stop and report.Related: #1207 (elitebook cold-tmpfs / tmpfiles.d age rule — the sibling host), GOTCHAS #92 class (a full root disk surfaces far from its cause), matou-app#331 (leaked test infrastructure).
Fixed and verified live (2026-09-05, Ben's hands + session verification):
quasar devserver (/home/dev/matou/matou-app/frontend) running 29 days, with a 30-day-oldtail -20beside it — both killed after verifying their command lines still matched (a guard against pid recycling), then the log deleted outright (4.05 G and still growing at kill time — no truncate needed once the writer was gone)./tmpentries ≥2 days old removed;/tmp/claude-1000(live session scratchpads) deliberately excluded. Root disk 92% → 78% (33 G freed — it had crept 4 points further in the day since filing),/tmp44 G → 5.3 G./etc/tmpfiles.d/tmp.confnow shadows the stock 30-day rule withD /tmp 1777 root root 3d;systemd-tmpfiles-cleanranResult=successat 05:07 UTC. Same regime as elitebook-03 (#1207): residue can no longer accumulate past 3 days on either factory host.Note for matou-app folks: if that quasar dev server was somebody's standing manual-testing surface, it's gone — restart it deliberately (and log somewhere rotated, not
/tmp).