Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(chat): stop leaking raw JSON into Slack messages on malformed final_answer

open#2852CedarCopilot

CedarCopilot wants to merge 1 commit into staging from fix/sherlock-slack-chat-malformed-json-20260920-154713

4 files changed

Libra does not show diffs here. View the full diff on GitHub.

  • modifiedapps/server/src/mastra/agents/chat-agent.ts+22-0
  • modifiedapps/server/src/mastra/operations/headless-response-schemas.ts+7-1
  • modifiedapps/server/src/mastra/routeHandlers/slack/slack-bot-chat.ts+56-24
  • modifiedapps/server/src/mastra/workflows/chat/__tests__/surface-context-parity.test.ts+5-0