CedarCopilot wants to merge 4 commits into main from staging
Not deployed
Libra has no production signal for this change yet because it has not deployed. Libra checks hourly for 3 days after each deploy.
This change removes legacy subagent routing guidance from review triage, adds a backfill for that guidance, includes CRM deal details in task-management context, and changes organization-cron representative ranking. It should not merge until the data migration safely preserves existing guidance, rollout covers all stored documents, CRM text is isolated from agent instructions, and Slack ranking uses live connection health.
The change is not safe to merge because it can lose stored routing guidance, let external CRM content influence autonomous mutations, and select unusable Slack delivery identities.
Focused executions reproduced each reported failure in the affected paths, including before-and-after behavior for legacy review guidance and stale Slack selection.
Files Needing Attention: apps/server/src/services/agenda/review-triage.ts, apps/server/src/db/migrations/scripts/migrate-when-to-use-into-description.ts, apps/server/src/mastra/tools/task/linked-crm-deals.ts, and apps/server/src/services/playbook/manifest-utils.ts
CRM-controlled deal names and stages are inserted directly into an autonomous task-management prompt. Instruction-shaped CRM content can reach task and conversation mutation capabilities without interactive approval.
What T-Rex did
General comment
Legacy subagent trigger conditions are silently removed from review triage without an automatic all-account migration
when_to_use no longer supplies that condition to the review-triage classifier. The executed before/after reproduction used ONLY after a real prospect meeting. Never draft for an inbound email.: it was present before the change and absent after it. Therefore existing user and organisation documents cannot safely remain unmigrated; triage can choose a reviewer without seeing its stored trigger condition.ReviewerCandidate.whenToUse and its prompt concatenaLibra has not measured any production surfaces for this change yet.