agent-Specialization/modules/terminal_ops
JOJO 7aab7da8aa fix(windows): 超时终止链弃用 CTRL_BREAK_EVENT,修复后端自杀式崩溃
根因(日志实证):沙箱命令超时后 _interrupt_subprocess 发送的
CTRL_BREAK_EVENT 会投递到本进程自身(即使子进程带
CREATE_NEW_PROCESS_GROUP),无保护的后端收到后直接终止,
终端仅显示 ^C、无任何报错。沙箱 git 病态缓慢导致频繁超时,
是该崩溃的触发器(已由上一个提交的 git 配置修复)。

- terminal_ops/run.py: Windows 超时中断直接 taskkill /F /T 杀整棵树
  (抽出共用 _taskkill_tree),不再尝试 CTRL_BREAK 优雅中断
- background_command_manager.py: _terminate_pid 同步弃用 CTRL_BREAK
- 拆除全部 [SBX-DEBUG] 诊断埋点,删除 modules/sbx_debug.py
  (探针会吞掉 Ctrl+C,诊断任务完成,归还正常信号行为)
2026-07-31 19:33:43 +08:00
..
__init__.py refactor(server,modules,utils,frontend): split oversized modules into packages and fix regressions 2026-06-20 15:54:48 +08:00
base.py refactor(server,modules,utils,frontend): split oversized modules into packages and fix regressions 2026-06-20 15:54:48 +08:00
command.py refactor(server,modules,utils,frontend): split oversized modules into packages and fix regressions 2026-06-20 15:54:48 +08:00
container.py refactor(server,modules,utils,frontend): split oversized modules into packages and fix regressions 2026-06-20 15:54:48 +08:00
misc.py feat(windows): WSL2 沙箱执行环境与执行环境提示词平台拆分 2026-07-30 13:06:34 +08:00
python.py chore(terminal): 删除无调用的 _derive_pip_from_python 死代码 2026-07-20 15:53:16 +08:00
run.py fix(windows): 超时终止链弃用 CTRL_BREAK_EVENT,修复后端自杀式崩溃 2026-07-31 19:33:43 +08:00