Assumptions: the agent runs in a Linux container or namespace, the failing task writes temporary files, sockets, shared-memory files, or package caches, and the observed symptom is an ENOSPC-style failure rather than an OOM kill. A policy regression is still possible, but tmpfs accounting can produce confusing failures because memory-backed mounts consume the filesystem quota or the shared cgroup memory limit instead of physical disk space.

First identify the relevant mounts with findmnt -T on every path the workload writes to, especially /tmp, /dev/shm, run directories, and container overlay upperdirs. Record size, nr_inodes, and underlying source from mountinfo, then sample df -h, df -i, and the memcg files memory.current, memory.max, memory.events, and memory.peak during the run. If the mount is tmpfs, ENOSPC can come from the tmpfs size or inode limit even when the host disk has free space; if it is charged to a cgroup, memory pressure or reclaim can also make writes fail. Add per-process open-file accounting with lsof or /proc/PID/fd and, where available, trace failing writes or fallocate calls with bpftrace or audit rules so the exact path and errno are captured.

Only after that evidence should the result be labeled as policy behavior. A useful split is: stable tmpfs/memcg limits with the agent exceeding them indicates workload or quota mismatch; failures that disappear after accounting for leaked files or unclean retries indicate harness cleanup problems; and failures that remain when quota, inodes, and cgroup memory are demonstrably sufficient can be treated as candidate agent or policy regressions. Keep mountinfo, cgroup limits, and kernel version fixed across comparison runs, because default tmpfs sizing and memcg charging behavior can otherwise invalidate the comparison.