Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

Account setup: Aspire (7 seats) , plan + proposal for review

merged#2476CedarCopilot

CedarCopilot wants to merge 0 commits into staging from setup/aspireiq-2026-08-13

Live on prod, no production signal yetTimeline and evidence
  1. Opened
    Aug 13, 2026, 8:29 PM
  2. Merged
    Aug 14, 2026, 8:52 AM
  3. Live on prod
    Aug 14, 2026, 8:52 AM
  4. Observed 5 hours
    Aug 14, 2026, 8:52 AM
  5. Pipelines steady after this deploy
    Aug 14, 2026, 8:52 AM
  6. Unobserved

    Live on prod, no production signal yet

    Aug 14, 2026, 1:25 PM

Behaviors Libra is checking

CRM integration behavior from account-setup/phase6-canvases.ts keeps working in prod.Inconclusivelow confidence

Strict CloudWatch fallback found 49 prod failure log lines for [UpdateExternalCrmWorkflow] Driver update failed (Step updateOpportunityField failed: HTTP 400: [{\), up from 1 in the comparable baseline, but this domain-wide failure family is not tied to this intent.

prod, checked Aug 14, 2026, 1:25 PM

Libra has verdicts on 0 of 1 tracked behaviors on prod; 1 is still being checked. Libra checks hourly for 3 days after each deploy.

Draft PR for the Aspire account-setup plan + customer proposal (approval gate). Both files are gitignored; force-added here for review.

Plan: docs/account-setup/aspireiq-2026-08-13.md , full technical setup spec. Proposal: docs/account-setup/aspireiq-proposal.md , customer-facing, share with Sahand.

Setup builds on the completed data-audit scaffolding (AOPs, 12-stage pipeline + entry/exit, taxonomy fields, integrations all already in place). This pass adds: playbook resource files, customer-facing CRM fields + Salesforce mappings (required-on-stage fields confirmed from live validation rules), priority logic, per-rep email style, canvases, Slack notifications. Agent execution + CRM push stay OFF until go-live.

Awaiting review/approval before any writes.

🤖 Generated with Claude Code

Greptile Summary

The PR expands account-setup guidance and updates the Phase 6 canvas script with environment-driven configuration, CRM-linked deal filtering, expanded views, and conversation-name display.

  • Adds operational guidance for CRM field propagation, sync verification, stage requirements, post-sync cleanup, and activation reporting.
  • Configures deal-oriented canvases to show CRM-synced deals while leaving post-meeting follow-ups unfiltered.
  • Introduces a destructive task-cleanup query that currently includes historical and non-live task rows.

Confidence Score: 4/5

The pull request should not merge until the task-cleanup query is limited to the intended live backlog and preserves historical task records.

Phase 7c currently hard-deletes all task lifecycle states for the selected users rather than only trimming actionable backlog rows, causing avoidable loss of task history.

Files Needing Attention: .claude/skills/account-setup-from-transcript/SKILL.md

Important Files Changed

FilenameOverview
.claude/skills/account-setup-from-transcript/SKILL.mdAdds extensive setup guidance, but the new cleanup SQL hard-deletes non-live task history and may retain fewer samples than documented.
apps/server/src/db/migrations/scripts/account-setup/phase6-canvases.tsAdds validated environment configuration and supported canvas view/filter settings consistent with documented CRM-connected behavior.

Flowchart

rendering diagram…
Prompt To Fix All With AI
### Issue 1
.claude/skills/account-setup-from-transcript/SKILL.md:2408-2412
**Cleanup deletes non-live task history**

When a rep has completed, deleted, agent-deleted, or other non-live task rows, this query ranks them with the live backlog and hard-deletes every row outside the five retained open-deal tasks, permanently removing task history and potentially related execution records. It also leaves fewer than the documented approximately five samples when fewer than five tasks belong to open deals because recent closed-deal tasks cannot enter the keep set.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Reviews (1): Last reviewed commit: "account-setup skill: onboarding-on-audit..." | Re-trigger Greptile

Greptile also left 1 inline comment on this PR.

Context used:

  • Knowledge Base , Database Schema
  • Knowledge Base , [User tasks: output axis, groups
Show production surfaces and changed-file mapping

Production surfaces

Libra has not measured any production surfaces for this change yet.

Changed files → surfaces

  • .claude/skills/account-setup-from-transcript/SKILL.mdno production surface mapped
  • apps/server/src/db/migrations/scripts/account-setup/phase6-canvases.tsno production surface mapped