You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
acp: on Windows, stop() leaves grandchild agent processes running #44
Request from Directive, which wants to use Subspace to launch critic agents on Windows.
EXPERIMENT.md:48 notes that on Windows stop() kills only the direct child, so a grandchild can outlive it. For agent adapters this is the common case: npx → node adapter → the agent CLI. On Windows, stopping a session can leave the agent itself running and still holding the workspace.
Directive's open bug for Grok critics killed by a host timeout is the same failure seen from the other side: we need one owner that can spawn, await and reliably kill the whole tree.
Suggested fix: on win32, start the child in a Job Object with kill-on-close, or fall back to taskkill /PID <pid> /T /F in stop()/close(). A test that spawns a grandchild ignoring signals would cover it.
Related: EXPERIMENT.md:237 says Windows test failures don't yet fail CI. Making the Windows job required once this passes would keep it fixed.
Activity