Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

[2026-09-19] merging staging to main

merged#2832CedarCopilot

CedarCopilot wants to merge 0 commits into main from staging

Live on prod, watching, 1 day leftTimeline and evidence
  1. Opened
    Sep 19, 2026, 7:16 PM
  2. Live on prod
    Sep 19, 2026, 7:34 PM
  3. Observed 1 hour
    Sep 19, 2026, 7:34 PM
  4. Watching

    Live on prod, watching, 1 day left

    Sep 19, 2026, 7:34 PM
  5. Pipelines steady after this deploy
    Sep 19, 2026, 7:34 PM
  6. Merged
    Sep 19, 2026, 7:34 PM

Behaviors Libra is checking

Production authentication and JWT signing or verification use jose 6.1.3 instead of jose 6.0.11.Not checked
prod
The deprecated record-message and record-tool-call shims continue accepting arbitrary legacy arguments without requiring or soliciting telemetry.agent_thinking or telemetry.user_intent from callers.Not checked
prod
External MCP agents load the cedar-configuration skill only for tasks involving configuration, integrations, playbooks, sync behavior, or Cedar's data model, or when applicability is uncertain, instead of being coerced to load it for every task.Not checked
prod

Failures attributed to this change

error @ GET /<redacted-token>/<id>.jsonIntroducedmedium confidence

unknown

prod, first seen Sep 19, 2026, 7:44 PM
error @ GET /<redacted-token>/<id>.jsonIntroducedmedium confidence

unknown

prod, first seen Sep 19, 2026, 8:52 PM
error @ GET /<redacted-token>/<id>.jsonIntroducedmedium confidence

unknown

prod, first seen Sep 19, 2026, 9:22 PM
error @ GET /<redacted-token>/<id>.jsonIntroducedmedium confidence

unknown

prod, first seen Sep 19, 2026, 10:07 PM
error @ GET /<redacted-token>/<id>.jsonIntroducedmedium confidence

unknown

prod, first seen Sep 19, 2026, 11:22 PM
error @ GET /<redacted-token>/<id>.jsonIntroducedmedium confidence

unknown

prod, first seen Sep 20, 2026, 1:07 AM
error @ GET /<redacted-token>/<id>.jsonIntroducedmedium confidence

unknown

prod, first seen Sep 20, 2026, 4:45 AM
error @ GET /<redacted-token>/<id>.jsonIntroducedmedium confidence

unknown

prod, first seen Sep 20, 2026, 5:45 AM
error @ GET /<redacted-token>/<id>.jsonIntroducedmedium confidence

unknown

prod, first seen Sep 20, 2026, 6:00 AM
error @ GET /<redacted-token>/<id>.jsonIntroducedmedium confidence

unknown

prod, first seen Sep 20, 2026, 11:57 AM

Libra has verdicts on 0 of 3 tracked behaviors on prod; 3 are still being checked. Libra attributed 10 failures to this change at medium confidence and is still confirming them. Libra checks hourly for 3 days after each deploy.

RetriggerConfidence Score: 4/5

This change is safe to merge with a non-blocking test coverage gap, but adding analytics-enabled schema coverage would protect legacy MCP compatibility.

Findings

  1. P2 Cover telemetry schemas
Fix with agent prompt
### Issue 1
apps/server/src/mastra/mcp/external/deprecated-record-shims.ts:46
The explicit `telemetry` property prevents analytics from adding nested telemetry fields to these deprecated tool schemas, but no regression test covers an analytics-enabled MCP server. A dependency or schema-conversion change could silently expose `telemetry.agent_thinking` and `telemetry.user_intent` again or break legacy shim calls, increasing compatibility support cost. This is non-blocking, but add coverage that lists both shims with analytics enabled, verifies those fields are absent, and validates legacy calls.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

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

Summary

This change updates the deprecated MCP record-tool schemas so analytics should leave their telemetry fields untouched, adjusts external MCP configuration loading, and refreshes the JOSE dependency resolution.

T-Rex validation blocked

The analytics-enabled application path could not be exercised because the standalone MCP harness and the analytics package resolved different McpServer module instances. Existing route coverage runs with analytics disabled and does not verify the two deprecated shims’ analytics schemas or legacy calls.

Findings

  • Add a regression test for the deprecated record-tool telemetry opt-out before relying on it for compatibility protection.

Reviews (1) · Last reviewed commit: "Merge pull request #2831 from CedarCopil..."

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/package.jsonno production surface mapped
  • apps/server/src/mastra/mcp/external/__tests__/server.test.tsno production surface mapped
  • apps/server/src/mastra/mcp/external/deprecated-record-shims.tsno production surface mapped
  • apps/server/src/mastra/mcp/external/server.tsno production surface mapped
  • pnpm-lock.yamlno production surface mapped