tractor/ai/prompt-io/opencode/20260820T150250Z_9afda1c6_p...

975 B

Prompt

Fix both newly exposed send-side MsgTypeError formatting failures and pin them with an end-to-end regression in PR #503.

Response summary

Corrected codec-spec formatting and default error-message assembly so _mk_send_mte() returns a printable error instead of raising another formatter exception.

Files changed

  • tractor/msg/_codec.py - pass the codec to its supported formatter.
  • tractor/_exceptions.py - assemble the default message as str.
  • tests/devx/test_pformat.py - render the complete default error.

Human edits

The human selected both one-line fixes and the single end-to-end test as coherent additions to PR #503, while leaving broader formatter cleanup out of scope.