slack_send_message_draft deletes text between `<` and a later `>`; `<` becomes a literal `<`
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 64/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- backend-api-design, tooling
Research direction
Start by reproducing the payload through slack_send_message_draft and slack_send_message, then compare the two paths using conversations.history or slack_read_channel. Trace the draft serializer from the slack_send_message_draft entry point; done means angle-bracket spans are preserved, existing escapes are not re-encoded, list indentation does not leak, and the send-path control remains unchanged.
Written by the indexing model from the issue text.
Description
Plugin version
N/A (claude.ai Slack connector, mcp__claude_ai_Slack__)
Client
Claude Code
Client version
2.1.273
Operating System
macOS 27.0
Description
Filing here per the note on #10 and #18 that this repo is the only public Slack-maintained place for hosted-server issues. Observed through the claude.ai Slack connector rather than the plugin, but the tool surface is the same.
slack_send_message_draft converts markdown through a different path than slack_send_message, and that path is lossy around <. Three failures, the first of which is silent data loss:
- A line containing
<followed by a later>loses the span between them. No error, no warning. </>are re-encoded as literal</>, so HTML-escaping is not a workaround.- Indentation from a nested list leaks into the lines that follow the list.
The same payload through slack_send_message is correct in all three cases. Same workspace, same account, three minutes apart.
We hit bug 1 in production: a status update containing a Rust generic followed later by an -> arrow was posted with the twenty characters between them missing. The author had no signal anything was gone.
Steps to reproduce
- Call
slack_send_message_draftwith the payload below. - Send the draft from the Slack client.
- Read the message back with
conversations.history(orslack_read_channel). - Call
slack_send_messagewith the identical payload and read that back too.
L1 generic: Vec<String> ends here
L2 arrow: build -> deploy ok
L3 combined: Vec<String>) pair with tests -> PR 423
L4 unmatched: a < b and c > d
L5 escaped: a < b and c > d
L6 bullets:
- alpha
- beta
L7 nested:
- alpha
- beta child
L8 numbered:
1. one
2. two
L9 link: [PR 423](https://example.com/org/repo/pull/423)
L10 tail marker
Expected result
The draft serializer escapes author-supplied < as < so it survives mrkdwn parsing, leaves an existing < alone instead of re-encoding it, and does not carry nested-list indentation onto the lines that follow. Not by routing the draft through the send path: a draft has to stay plain text to remain editable, which is the point of a draft.
Actual result
input draft path send path (control)
-------------------------------------------- ------------------------- -------------------
Vec<String> ends here unchanged unchanged
build -> deploy ok unchanged unchanged
Vec<String>) pair with tests -> PR 423 Vec<String> PR 423 unchanged
a < b and c > d a <b and c> d unchanged
a < b and c > d a < b and c > d a < b and c > d
"L7 nested:" line after a 2-level list indented 4 spaces not indented
"L8 numbered:" line after a 2-level list indented 8 spaces not indented
nested bullet characters bullet / bullet bullet / white bullet
bullets in the Slack client not a list, literal chars a real list
[PR 423](url) <url|PR 423> <url|PR 423>
Anything else?
Same draft-vs-send divergence as #18 (newlines) and #121 (links), reached here through angle brackets. Editing the sent message in the composer loads the full body for the draft-path message but not for the send-path one, which suggests the send path emits blocks while the draft path writes plain text into the composer.
Unrelated to this report: #121 Bug 1 no longer reproduces. [label](url) converts to <url|label> on both paths now.
- Dominant language
- Python
- Stars
- 173
- Forks
- 46
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 41
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from slackapi/slack-skills-plugin
-
area:mcp bug
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
slackapi/slack-skills-plugin#214 ·
Maintainers usually reply within 1 day
-
create-slack-app: setting the AI provider API key ends in a manual .env editPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
slackapi/slack-skills-plugin#187 ·
Maintainers usually reply within 1 day
-
/slack:standup never searches DMs or private channelsPossibly taken @ppetriuk claimed this 65 days ago. Openarea:skills bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
slackapi/slack-skills-plugin#157 ·
Maintainers usually reply within 1 day
-
`slack_read_thread` parameter named `message_ts` instead of `thread_ts`Possibly taken @WilliamBergamin claimed this 127 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
slackapi/slack-skills-plugin#57 · 5 comments ·
Maintainers usually reply within 1 day
-
area:mcp enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
slackapi/slack-skills-plugin#236 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day
All issues in slackapi/slack-skills-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bad-antics/lateralus-lang#1623 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
fossguild/thelifesnake#82 ·
Maintainers usually reply within 1 day
-
Unfitted DialectClassifier crashes with a confusing ValueError: raise a clear "not fitted" errorOpengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
omarelshamy25x/shamy-arabic-nlp#111 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pietbarber/Manage2Soar#1189 ·
Maintainers usually reply within 1 day
-
BUG: write_netcdf fails on Tutorial 3 BEM output with pandas CategoricalDtype DOF coordinatesPossibly taken @dtgaebe claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
sandialabs/WecOptTool#467 ·