research-agent-leaves-tmp-residue-requires-explicit-cleanup
Explore/research subagents dispatched to analyze GitHub repositories (e.g., Redash) leave behind 10-20+ files in /tmp/ — including parsed module files, pyproject.toml, package.json fragments. These are not auto-cleaned. Post-research cleanup requires find /tmp /root/downloads -type f -mmin -60 2>/dev/null | head -20 and explicit removal. Failure to clean violates Law 5 (Pristine Environment) and is caught by the Stop hook’s residue check.
Related
- research-agent-tmp-residue-pattern-in-redash-analysis
- research-agent-github-exploration-leaves-tmp-residue
- session-close-phase-1-6-disposition-is-not-resolution
- subagent-permission-stall-root-cause-and-fix
- jq-config-mutation-leaves-tmp-files-check-after-edits
- research-agents-leave-tmp-residue-that-must-be-cleaned