Parent: #382
Problem
markdown_to_mrkdwn() in slack.rs uses \x01 and \x02 control characters as intermediate placeholders when converting **bold** → *bold* (to avoid conflict with *italic* conversion).
If an agent ever outputs these control characters in its response, the conversion would produce corrupted output.
Suggested fix
Add a comment documenting the assumption, or strip \x01/\x02 from input before processing. Probability of collision is extremely low in practice.
Severity: very low — cosmetic/defensive.
Parent: #382
Problem
markdown_to_mrkdwn()inslack.rsuses\x01and\x02control characters as intermediate placeholders when converting**bold**→*bold*(to avoid conflict with*italic*conversion).If an agent ever outputs these control characters in its response, the conversion would produce corrupted output.
Suggested fix
Add a comment documenting the assumption, or strip
\x01/\x02from input before processing. Probability of collision is extremely low in practice.Severity: very low — cosmetic/defensive.