Skip to content

feat(reasoning): opt in to raw Chat reasoning summary - #7370

Closed
reisen-ww wants to merge 3 commits into
lidge-jun:devfrom
reisen-ww:codex/chat-raw-reasoning-summary-opt-in
Closed

reisen-ww wants to merge 3 commits into
lidge-jun:devfrom
reisen-ww:codex/chat-raw-reasoning-summary-opt-in

Conversation

@reisen-ww

@reisen-ww reisen-ww commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add the default-off rawReasoningAsSummary provider option for translated Responses-to-Chat Completions routes, so an operator can make raw upstream reasoning visible in Codex Desktop's expandable summary panel.
  • Keep hideRawReasoning and an explicit reasoning.summary: "none" authoritative; native Responses passthrough and direct Chat/Messages delivery are unchanged.
  • Closes [Feature]: Opt in to showing raw Chat reasoning in Codex Desktop #7367.

Verification

  • Passed with the repository-local Bun 1.4.2: node_modules/.bin/bun.exe test tests/responses/responses-chat-raw-summary.test.ts (9 tests, 61 assertions).
  • Passed: node_modules/.bin/bun.exe run typecheck.
  • Also passed earlier: bun run structure:check, bun run privacy:scan, and docs-site frozen dependency install/build.
  • bun run test:changed did not complete: it exited 124 after about ten minutes. The captured output ended during Windows temporary-directory cleanup with EPERM and contained no final test summary, so this is not counted as a pass.
  • GitHub hygiene and enforce-target are blocked by unsponsored_surface for src/server/auth-cors.ts. MAINTAINERS.md requires maintainer security review and a maintainer-applied maintainer-sponsored label. CodeRabbit has not reviewed this draft.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

Review readiness checklist

This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:

  • Required local validation passed; commands, results, and any full-suite exception are documented.

  • I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).

  • I resolved all correct Codex and CodeRabbit findings.

  • My PR is ready for review.

@github-actions github-actions Bot added the intake: hygiene-blocked Deterministic PR hygiene checks failed label Oct 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Deterministic hygiene checks failed.

  • unsponsored_surface — This changes an authentication, workflow, release-automation, or dependency surface. MAINTAINERS.md requires security review for these; ask a maintainer to apply maintainer-sponsored once they have reviewed it. Paths: src/server/auth-cors.ts.

@github-actions github-actions Bot added the enhancement New feature or request label Oct 19, 2026
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

⏳ DRAFT

  • hygiene: unsponsored_surface.

What to do

  • Fix unsponsored_surface — This changes an authentication, workflow, release-automation, or dependency surface. MAINTAINERS.md requires security review for these; ask a maintainer to apply maintainer-sponsored once they have reviewed it. Paths: src/server/auth-cors.ts.
  • Tick all four boxes in the PR description once you're done (currently 0/4).

Review readiness checklist

  • ⬜ Required local validation passed; commands, results, and any full-suite exception are documented.
  • ⬜ I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
  • ⬜ I resolved all correct Codex and CodeRabbit findings.
  • ⬜ My PR is ready for review.

0/4 boxes ticked.

This pull request was already a draft. Its draft status will be preserved after every issue above is resolved.
@reisen-ww Tick the boxes once required local validation has passed with commands, results, and any full-suite exception documented, your branch is on the latest dev commit, and every correct Codex and CodeRabbit finding is resolved.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Ingwannu

Copy link
Copy Markdown
Owner

Scoped intake at 84b3ee29f789360f8e650a3145e7632c8faf7c46; linked #7367. The default-off switch and explicit suppression precedence need owner approval in light of the earlier default-display revert. Please retain distinct raw text versus provider-authored summary semantics, store:false/non-persistence handling, byte accounting of the encoded replay copy, explicit hideRawReasoning/reasoning.summary:none controls, and unchanged native/direct Chat/Messages paths. Current hygiene/target failure is the real unsponsored_surface gate on src/server/auth-cors.ts, not a waiver or a test failure we can relabel. Keep Draft and request that required boundary review through the normal owner path. No sponsor label, live configuration or new Codex Security scan was applied here.

@lidge-jun

Copy link
Copy Markdown
Owner

Thank you for the work here. We're closing this to keep the review queue manageable: the design is still open in #7367, and the branch conflicts with dev and fails CI. You're welcome to reopen this or open a smaller PR against dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request intake: hygiene-blocked Deterministic PR hygiene checks failed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants