-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Regression: multiline slash skill arguments are truncated after first newline #79155
Copy link
Copy link
Closed
Closed
Copy link
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
Multiline arguments for slash commands are truncated when the payload starts on the next line after the command.
Example:
The command handler receives only the first payload line. The remaining lines are dropped before downstream command/skill handling.
Impact
This breaks any command workflow that expects long user-provided text, drafts, logs, prompts, or structured multiline input after a slash command.
This appears to be a regression. Multiline command payloads were working in older April builds, but the issue is present on package version
2026.5.6.Root cause suspected
In the installed runtime file:
normalizeCommandBody()normalizes slash commands by taking only the first line:Downstream command invocation then parses arguments from the normalized command body, so multiline payloads are no longer available.
For multiline slash command usage, the command head should be normalized, but the tail after the first newline should remain available as command args.
Expected behavior
For a message like:
The command should receive the full multiline payload:
Actual behavior
Only the first payload line is preserved.
Local hotfix tested
A local patch preserving the tail after the first newline fixes the direct normalizer test:
After restarting the gateway:
Notes
This likely affects any slash command where users put multiline content after the command name.