Add `pformat_task()` beside `pformat_task_uid()` so diagnostics can inspect an explicit endpoint, sibling or nursery-owning `trio.Task`. Keep the current-task default and decimal head/tail identity format. Preserve the `tractor.log` entry point with lazy forwarding, avoiding eager debugger initialization during logging imports. Move the existing formatting TODOs with the implementation. Exercise real parent/child tasks without an actor, including coroutine identity, nursery ownership and equivalent log/tooling UID output. Prompt-IO: ai/prompt-io/20261021T145344Z_0553fcf8_task_format_prompt_io.md Prompt-IO: ai/prompt-io/20261021T151133Z_0553fcf8_uid_move_prompt_io.md (this patch was generated in some part by `opencode` using `gpt-6.1-sol` (`openai`)) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_debugger.py | ||
| test_pause_from_non_trio.py | ||
| test_pformat.py | ||
| test_proctitle.py | ||
| test_tooling.py | ||