Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(drafting): stop post-meeting draft rewrites from being detached and deleted

merged#2878CedarCopilot

CedarCopilot wants to merge 3 commits into staging from fix/sherlock-post-meeting-draft-thread-and-cleanup-20260922-084120

7 files changed

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

  • addedapps/server/src/mastra/tools/event-execution/__tests__/draft-email-post-meeting-rewrite-thread.test.ts+169-0
  • modifiedapps/server/src/mastra/tools/event-execution/onEventExecutionDraftEmailTool.ts+5-14 defects
  • addedapps/server/src/mastra/utils/__tests__/determine-thread-id.test.ts+71-0
  • modifiedapps/server/src/mastra/utils/threadMetadataUtils.ts+17-51 defect
  • modifiedapps/server/src/services/user-tasks/__tests__/cleanup-draft-pointer.test.ts+51-0
  • addedapps/server/src/services/user-tasks/__tests__/shared-draft-cleanup.integration.test.ts+273-0
  • modifiedapps/server/src/services/user-tasks/tasks.ts+243-814 defectsmodel_chunk Next Steps and Tasks Managermodel_chunk Next Steps and Tasks Managermodel_step Next Steps and Tasks Manager+11