Repository navigation
Conversation
|
✅ Deterministic PR hygiene checks passed. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. This PR stays in draft until every box above is ticked. |
|
Landed on Your design was adopted as-is: keyword-only strip, name bags preserved, literal payloads untouched, null-prototype records so a schema named Closing this in favor of the merged commit. |
Summary
encryptedschema annotation when the genericopenai-chatadapter translates tools to Chat Completions.encryptedand__proto__.openai-responsespassthrough unchanged.The root cause is protocol translation:
encrypted: trueis private Responses metadata, but it was serialized into Chat Completions tool parameters. For the affected V2 collaboration request, the upstream then returned emptyspawn_agentarguments; the requiredmessagefield was absent and no child agent was created.I am happy to prepare/continue the PR review and follow-up fixes.
Verification
bun test tests/openai-chat-hardening.test.ts tests/anthropic-tool-schema.test.ts— 59 passed, 0 failed.bun run typecheck— passed.bun run privacy:scan— passed.bun run test— attempted on the final commit; 12,357 passed, 8 skipped, 18 failed in unrelated existing provider-management/concurrency tests (the focused adapter tests and typecheck remain green).git diff --check origin/dev...HEAD— passed.Checklist
Closes #1774
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.