CedarCopilot wants to merge 1 commit 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 adds useful LinkedIn profile, proposal, and table-binding behavior, but it must not merge yet. The reproduced failures allow cross-organization LinkedIn seat consumption and profile-cache data mixing, prevent stale profiles from recovering after a daily budget reset, restore dismissed proposals after reload, and let an older failed table write overwrite a newer successful edit.
Unsafe to merge until the authorization, tenant-isolation, refresh lifecycle, proposal persistence, and bound-cell write ordering failures are corrected.
Five independently reproduced blocking failures affect protected organization resources or cause user-visible state to become stale, reappear after dismissal, or overwrite a newer edit.
Files Needing Attention: apps/server/src/trpc/routes/linkedin.ts, apps/server/src/db/migrations/linkedin_person_profiles.sql, apps/server/src/services/integrations/linkedin/person-profile-refresh.ts, apps/mail/modules/cedar-os/src/store/messages/renderers/ProposedMutationRenderer.tsx, and apps/mail/modules/documents/table/use-bound-cell-write.ts.
Two reproduced security issues affect LinkedIn boundaries: a caller can use another organization's LinkedIn seat and consume its profile-view budget, and the globally keyed profile cache can expose and overwrite another organization's cached profile state.
What T-Rex did
General comment
Profile refresh accepts a foreign LinkedIn seat and spends its view budget
apps/server/src/trpc/routes/linkedin.ts:200-210, an authenticated caller can send any unipileAccountId with a chat they own. The downstream refreshCounterpartProfile accepts the identifier, calls getUserProfile with it, and records a profile_view rate-limit increment against that account. The executed org-A/org-B reproduction completed successfully with the org-B account selected and charged.Libra has not measured any production surfaces for this change yet.