mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02:35 +00:00
The rebindable-BaseException vector the bot flagged existed in every except clause of the settlement path, not just the _run outer catch: safe_model_traceback (three guards) and the post-done flush swallow resolved the module-global BaseException at runtime, so a __main__.BaseException rebind plus a throwing __str__ could let a render-time exception escape and lose the done frame. Bind BaseException into a _run local (at the top) and a closure cell in _make_failure_reporter, and change every such except clause to catch the local — immune to a one-line rebind.