How a terminal's processes are known

Each terminal's shell runs in a Windows job object, so its children stay members even after their parent exits, and the whole tree ends when the terminal or the app closes. Processes attached to the terminal's console are counted too, which catches programs that leave the job (a Microsoft Store PowerShell does).

Every 30 seconds, on a background thread, the guard counts per terminal: processes, orphans, CPU, memory, the most common program names and the hottest process.

Limits

WarningLimit
Processes in one terminalmore than 150
Copies of one programmore than 40
Orphansmore than 25
Memorymore than 2 GB in total
One hot processover 60% of a core for 10 minutes while the terminal printed nothing

Crossing a limit puts a quiet mark on the workspace, a chip in its header such as 1167 tail.exe, 1167 orphaned, 5.8 GB with a Clean up button, and a row in the Crew view. A worker's coordinator gets one mail per episode. Nothing is stopped.

What Clean up does

Clean up takes a fresh count and stops, in that terminal only, every orphan and every copy of a program that is over its limit. It never stops the shell, the agent's own process or any of their ancestors, and it re-checks each process just before stopping it, so a reused process id is left alone.

Only a person can clean up. Stopping old orphans automatically is a setting that is off by default.

Try the preview

The preview is shared by email while the signed installer is prepared. Tell us how many agents you run and what you would want first.

  • Windows 10 or 11, 64-bit
  • Claude Code, signed in
  • git
Join early access

Windows 10 and 11 · Claude Code · early preview