CedarCopilot wants to merge 1 commit into staging from feat/coaching-seed-personal-wiring
Libra exercised 3 changed behaviors; none regressed.
Libra ran this behavior against the change and confirmed the check detects when it breaks.
Changed code: seed-coaching-org.ts.
Libra ran this behavior against the change and confirmed the check detects when it breaks.
Changed code: seed-coaching-org.ts.
Libra ran this behavior against the change and confirmed the check detects when it breaks.
Changed code: personal-wiring.test.ts.
Live on prod, watching, 2 days left
Libra has verdicts on 0 of 9 tracked behaviors on prod; 9 are still being checked. Libra checks hourly for 3 days after each deploy.
seed-coaching-org.ts now wires coaching into named people's personal playbooks, not the org playbook: --reps get the meeting trigger, --leader gets the weekly cron too, and --leader plus --managers get a manager grant on the agent. Any coaching trigger already in the org playbook is removed in the same run.services/coaching/personal-wiring.ts, tested without a database. Personal playbooks are written first and the org strip last, so a call is never left unscored.personal-wiring.test.ts (7 cases: rep gets a bare meeting ref and no cron, leader cron carries the leader instruction, idempotent, another agent on the same trigger type is not mistaken for this one, missing <global> throws, removal leaves unrelated triggers). It caught a real regex bug (a bare <ref/> could swallow into a later </ref>); fixed.--execute: config rewritten identically, all three playbooks reported "already wired", Peter's manager grant "already held". Dry run against Aspire lists the expected five reps, Sahand as the cron leader and Arie and ak as managers.armed: meeting, email | 0 7 * * 2 …). A run that cannot arm what it added throws.['cedar-prod'] | where message == "[agent] getTeamMembers" should show via of org_admin or agent_manager for the leaders.Customer: Aspire, Pirros
🤖 Generated with Claude Code
The PR is not safe to merge until the rollout can grant a fresh leader access, handle unseeded personal playbooks, and reliably reconcile existing triggers.
Libra has not measured any production surfaces for this change yet.