---
model: openai/gpt-5.6-sol
service: opencode
timestamp: 2026-08-24T22:53:56Z
git_ref: 2f86dd1a
diff_cmd: git diff HEAD~1..HEAD
---

Implement the approved PR #481 review refactor in
`_try_cancel_then_kill()` without changing debugger behavior.

> `git diff HEAD~1..HEAD -- tractor/runtime/_supervise.py`

Compute the child/tree debugger predicate once, reuse it in the broader
hard-kill protection predicate, and pass it directly to
`debug.maybe_wait_for_debugger()`.

Run focused debugger/cancellation coverage and lint after the edit.
