Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(crm): cross-check deal contact domains before minting a new conversation

merged#2777CedarCopilot

CedarCopilot wants to merge 4 commits into staging from fix/crm-duplicate-conversation-contact-crosscheck

8 files changed

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

  • addedapps/server/.claude/skills/playbook-instruction-eval/crm-known-deal-hint-eval.ts+353-0
  • addedapps/server/src/mastra/tools/event-execution/__tests__/external-crm-contact-crosscheck.test.ts+305-0
  • modifiedapps/server/src/mastra/tools/event-execution/__tests__/external-crm-domain-guards.test.ts+72-1
  • modifiedapps/server/src/mastra/tools/event-execution/assignEventToConversationTool.ts+155-127 defectsdb.getConnectionRecordgmail.users.threads.getaws-primary.syncThread
  • modifiedapps/server/src/mastra/utils/company-domain-assignment.ts+15-12 defects
  • addedapps/server/src/services/crm/__tests__/match-global-company-by-any-domain.test.ts+94-0
  • modifiedapps/server/src/services/crm/companies.ts+22-0
  • modifiedapps/server/src/services/integrations/crm/driver.ts+8-01 defect