mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02:35 +00:00
The reply pump's except RuntimeError resolved the module global at runtime, so a __main__.RuntimeError rebind could make a closed-loop scheduling failure escape the catch, killing the pump and stranding every later reply. Bind RuntimeError into a _run local alongside BaseException and catch the local. The settlement note Decision now records that the exception classes the settlement-path except clauses catch are bound into locals / a closure cell before model code runs (en + zh); pairing re-recorded and consistent.