Markdown pipe tables in assistant Slack replies render as broken/plain text instead of a compact table.
Example
Verified
- Delivery runs model markdown through
normalizeSlackReplyMarkdown → ensureBlockSpacing in packages/junior/src/chat/slack/mrkdwn.ts.
ensureBlockSpacing inserts a blank line between consecutive non-empty non-list lines, and only keeps adjacent lines compact for list items.
- Pipe-table rows (
| ... |) are not treated as a compact block, so a multi-row table becomes blank-line-separated rows before Slack delivery.
- Unit coverage in
packages/junior/tests/unit/misc/output.test.ts exercises list/prose spacing, not markdown tables.
Unknown
- Whether Slack
markdown_text / { type: "markdown" } would render contiguous pipe tables correctly if row adjacency were preserved, or whether tables need a different delivery shape entirely.
Requested by Matt Quinn.
--
View Junior Session [Sentry]
Markdown pipe tables in assistant Slack replies render as broken/plain text instead of a compact table.
Example
Verified
normalizeSlackReplyMarkdown→ensureBlockSpacinginpackages/junior/src/chat/slack/mrkdwn.ts.ensureBlockSpacinginserts a blank line between consecutive non-empty non-list lines, and only keeps adjacent lines compact for list items.| ... |) are not treated as a compact block, so a multi-row table becomes blank-line-separated rows before Slack delivery.packages/junior/tests/unit/misc/output.test.tsexercises list/prose spacing, not markdown tables.Unknown
markdown_text/{ type: "markdown" }would render contiguous pipe tables correctly if row adjacency were preserved, or whether tables need a different delivery shape entirely.Requested by Matt Quinn.
--
View Junior Session [Sentry]