What
When a message from another agent arrives with its whole body stuck inside the summary field, Claude Code now detects the leaked closing tag and message opener and splits summary and body back out, so the recipient sees a real message rather than a giant summary.
Details
- Two forms are handled and reported separately, one where the leaked markup is namespaced and one where it is bare.
- Repair is refused when the trailing text still looks like leftover markup or JSON, in which case the message is left alone rather than mangled further; those cases are reported as unrepaired markup or unrepaired JSON.
- Summaries are still derived and truncated exactly as before.
Evidence
split_slipped_summary_
Strings lifted out of the shipped bundle, so the claim above can be checked against them.