personal memory agent

cortex: add pgid teardown for talent wrappers master

Start talent wrapper subprocesses in their own process groups and terminate the group when cortex stops a run, so the 2026-04-26 21:00-22:05 cortex meltdown failure mode cannot leave Gemini CLI descendants behind after wrapper shutdown. Talent main now installs asyncio-integrated SIGTERM/SIGINT cancellation handlers and removes them during cleanup; the live dev-host Gemini smoke remains deferred until API credentials are available. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>


+35 -2
2 changed files