{"title":"Resource Cleanup: Preventing Orphaned Agent Processes","region":"Global","category":"Operations","description":"Ensuring temporary files, connections, and processes are terminated after task completion.","lastUpdated":"2026-02-23","steps":["Use context managers for all tool executions.","Implement a global cleanup hook for agent exits.","Tag temporary files with unique session IDs.","Set TTLs on cloud-hosted temporary resources.","Run a recurring ghost-process reaper."],"url":"https://checklist.day/agent-resource-cleanup"}