Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

morge

merged#2747CedarCopilot

CedarCopilot wants to merge 0 commits into main from staging

Not deployedTimeline and evidence
  1. Opened
    Sep 9, 2026, 9:09 PM
  2. Merged
    Sep 9, 2026, 9:09 PM
  3. Not deployed

    Not deployed

    Pending

Libra has no production signal for this change yet because it has not deployed. Libra checks hourly for 3 days after each deploy.

Greptile Summary

This change documents Salesforce custom-object routing and synchronization capabilities that the current implementation does not support. The affected guidance should be corrected before merging so administrators are not instructed to configure unsupported behavior.

Confidence Score: 4/5

Not safe to merge until the custom-object guidance and its cross-reference describe the behavior the product actually provides.

The production configuration schema and connected sync and write paths establish that the documented multi-object configuration, non-Deals routing, and bidirectional custom-object updates are unavailable.

Files Needing Attention: apps/server/.claude/skills/cedar-configuration/fields-and-values.md and apps/server/.claude/skills/cedar-configuration/cedar-system-knowledge.md

T-Rex T-Rex Logs

What T-Rex did

  • T-Rex produced a finding-comment-proof for a posted P1 finding and attached the supporting text artifact.
  • T-Rex produced a second finding-comment-proof for another posted P1 finding.
  • T-Rex authored and executed a script to validate Cedar custom object docs, captured a successful exit, and noted the exact documentation and code locations involved.

View all artifacts

T-Rex Ran code and verified through T-Rex

Comments Outside Diff (1)

  1. General comment

    P1 Custom-object documentation claims unsupported multi-object, non-Deals routing, and bidirectional write behavior

    • Bug
      • fields-and-values.md:351-360 says customObjectConfig supports multiple synced objects, lets each route to its own AOP, and bidirectionally syncs mapped fields to Salesforce. cedar-system-knowledge.md:303-305 repeats the non-Deals routing assertion. The executed validator refuted every claim: the runtime Zod schema accepts one config object but rejects a two-object array; the custom-object query explicitly filters agentOperatingProcedures.name to AopName.Deals; and the only custom-object operation fetches records then persists them in integrationMetadata.customObjectRecords. The outbound workflow instead updates crmIntegration.dealId through updateOpportunityFields and contains no custom-object configuration, records, or fetch path.
    • Cause
      • The docs describe capabilities that are not represented by the single-object configuration schema or connected to the implemented sync and outbound write paths.
    • Fix
      • Replace the cited documentation with the implemented behavior: one optional Salesforce custom-object config per connection; it enriches Deals-AOP conversations by reading records keyed by object_name into integration metadata; it neither chooses an AOP nor writes custom-object fields back to Salesforce. If the intended product behavior is the documented one, implement an array/object-to-AOP configuration and a custom-object outbound-update driver path before documenting it.

    <a href="https:/

Show production surfaces and changed-file mapping

Production surfaces

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

Changed files → surfaces

  • apps/server/.claude/skills/cedar-configuration/cedar-system-knowledge.mdno production surface mapped
  • apps/server/.claude/skills/cedar-configuration/fields-and-values.mdno production surface mapped