subagent-grep-scratch-files-accumulate-in-tmp-without-cleanup
After dispatching 5 parallel audit subagents, 4 scratch files (actual-skills.txt, helix_skills.txt, helix_desc.txt, all_desc.txt) were left in /tmp/ and not cleaned up until the stop hook forced a check. Subagents performing grep/analysis pipelines should clean their own temp files before returning, or the orchestrator must include a tmp sweep in its completion block per feedback_proactive_cleanup_hooks.md.
Related
- 4-dimension-parallel-audit-pattern-for-setup-hygiene
- stop-hook-brainstorming-infinite-loop-pattern
- subagent-stalls-have-three-distinct-root-causes
- stop-hook-brainstorming-workflow-infinite-loop
- parallel-subagent-audit-pattern-for-setup-file-hygiene
- subagent-grep-operations-leave-temp-files-in-tmp
- parallel-subagent-temp-artifacts-require-explicit-cleanup
- research-agent-github-exploration-leaves-tmp-residue