Skip to content

feat(slack): convert markdown lists to bullets and bold key elements in Slack output#742

Open
AggManik wants to merge 3 commits intomainfrom
worktree-agent-a3c24d92
Open

feat(slack): convert markdown lists to bullets and bold key elements in Slack output#742
AggManik wants to merge 3 commits intomainfrom
worktree-agent-a3c24d92

Conversation

@AggManik
Copy link
Copy Markdown
Contributor

@AggManik AggManik commented Mar 25, 2026

Summary

  • Extract Slack formatting utilities into a dedicated slack-format.ts module (pure TS, no Remix/Prisma deps) for testability
  • Convert markdown list items (- item / * item) to Slack bullet points (• item), skipping fenced code blocks
  • Bold key phrases in Slack output: Action Required, priority markers P1/P2/P3, and Key: Value patterns at line start or after bullets
  • Fix pre-existing convertInlineMd bug where **bold** was double-converted to _bold_ due to regex ordering

Files changed

  • apps/webapp/app/services/channels/slack/slack-format.ts — new formatting utilities module
  • apps/webapp/app/services/channels/slack/outbound.ts — simplified to import from slack-format.ts

…in Slack output

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Test framework not yet established in this project; keeping changes
focused to formatting logic only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant