fix(cursor): preserve executable and freeform tool schemas - #3707
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 |
|
✅ Deterministic PR hygiene checks passed. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cfe48cc8e5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…ursor-schemas-01a07265
리뷰 · 우선순위 61 / 80이 PR은 Cursor 어댑터가 Codex 호환 실행 제어 필드와 freeform 도구 스키마를 올바르게 광고·정규화하게 만드는 D-lane 레이어입니다. 베이스는 고치는 내용은 세 덩어리입니다. (1) 현재 HEAD에도 경로/심볼 - 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Follow up lidge-jun#3707 review: retain parser-owned input descriptions while keeping both Cursor freeform schemas closed. Preserve the original lidge-jun#3628 history and cover real parser-to-protobuf conversion.
Summary
Preserve Codex-compatible execution-control fields in Cursor tool schemas and advertise freeform tools as a closed object containing one required string input. Reject freeform tools that reuse bare shell bridge names; namespaced custom tools remain supported.
Carries both commits from #3628 by @yansigit. Their original authorship is retained while production hunks are mapped to the current tool-schemas.ts owner. The public tool-definitions.ts facade remains compatible. Independent literal and decoded-protobuf assertions cover the actual wire contract, alongside existing command normalization and login:false cases.
Stack — merge bottom-up
Review only this layer's diff. After #3702 lands, retarget this PR to dev. Close source #3628 only after this implementation is verified on dev.
Verification
Latest head
6005ea8017dc7d113bba0d8dcef061d4f677c60f: GitHub Linux four shards, macOS two shards and aggregate CI passed. Restored unchanged-head remote verification passed typecheck, 19,555 tests / 15 skips / 0 failures, and 425-page docs build using Bun 1.4.0 / Node 22.22.0.The first remote full run had one unrelated auth-fixture 429/501 failure. Isolated and controlled diagnostics found an explicit-proxy isolation weakness in that pre-existing test redirect; they did not establish the original failure cause. After restoration, one unchanged full rerun passed. Independent review found no Cursor-specific blocker. No local application tests/typecheck ran.
Current-tree plan and authored-patch mapping independently audited: PASS.
git diff codex/d-3673-tool-aliases-01a07265...HEAD --checkpassed.Independent implementation review: PASS, no actionable blockers; mapped source hunks and SB Yoon authorship verified.
Exact head
cfe48cc8e569638b2850970c94f8946c6d4f650f: isolated macmini-cf, project Bun1.4.0 / Node22.22.0 passed typecheck and complete suite (19,373 pass,14 skip,0 fail), plus docs build425 pages.Hosted GitHub CI is pending, not represented as passed. No local application tests/typecheck were run.
Checklist
Co-authored-by: SB Yoon 44089734+yansigit@users.noreply.github.com