mcp/pkg
Snider 4329bd7f27 fix(agentic): write status before spawn to prevent concurrency race
writeStatus("running") was after cmd.Start(), so rapid sequential
dispatches all saw 0 running. Now writes status immediately after
the concurrency check passes, before spawning. Updates with PID
after start. Reverts to "failed" if spawn fails.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 02:32:17 +00:00
..
mcp fix(agentic): write status before spawn to prevent concurrency race 2026-03-22 02:32:17 +00:00