Repository navigation
fix(talk): keep opaque realtime routes out of public config - #129144
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 6, 2026, 9:56 PM ET / September 7, 2026, 01:56 UTC. ClawSweeper reviewWhat this changesThe PR hides account-issued realtime route identifiers from public Talk responses, preserves native routing through response hints, and separates released and unlisted transport and voice behavior. Merge readiness✅ Ready for maintainer review This remains useful work: current main lacks the public projection, and the related PRs address distinct behavior. The prior authentication and implicit-provider concerns are addressed; no blocking introduced defect was found. Priority: P2 Review scores
Verification
How this fits togetherTalk connects browser and native audio clients to realtime providers through the Gateway. Provider configuration determines authentication, transport, and voices, while public responses tell clients how to connect without revealing private route identifiers. flowchart TD
A[Saved Talk configuration] --> B[Provider route selection]
B --> C[Public config and routing hints]
C --> D[Browser and native clients]
B --> E[Authentication and transport selection]
D --> E
E --> F[Realtime provider session]
F --> G[Audio and redacted results]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +556, Tests +1489, Docs -22, Other +106. Total +2129 across 64 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep route selection private at the provider owner while preserving released authentication, explicit model overrides, and truthful client capabilities. Do we have a high-confidence way to reproduce the issue? Yes, at the source level: the prior public response construction retains configured route identifiers, while the branch exercises their omission through provider and Gateway boundaries. No runtime reproduction was executed during this read-only review. Is this the best way to solve the issue? Yes. A shared provider-owned projection and explicit released-route classification address the problem without duplicating provider policy in native clients or changing stored settings. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 785035327acb. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (22 earlier review cycles; latest 8 shown)
|
95feb34 to
9eed078
Compare
|
@clawsweeper re-review Exact head: The rank-up move is applied: configuration is preserved when no provider projector is available, with an unavailable non-OpenAI regression case. Sanitized verification:
|
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review Exact head: The rank-up move is applied: configuration is preserved when no provider projector is available, with an unavailable non-OpenAI regression case. The post-review CI repair also handles classified audio-clear events through the direct bridge and clears buffered playback exactly once. Sanitized verification:
|
|
🦞🧹 I asked ClawSweeper to review this item again. |
6fb23c8 to
be58b05
Compare
0de9f63 to
61a5332
Compare
|
Merged via squash.
|
…137098 * commit '8a540c252002878f3c3e9d8dfb837b83c8602a78': (2210 commits) perf(plugins): keep bundled catalog lookups lightweight (#140597) refactor: streamline skills JSON serialization (#140581) fix(feishu): expand quoted merged-forward messages (#136231) fix(talk): keep opaque realtime routes out of public config (#129144) fix(ci): avoid Linux packaging on pull requests (#140589) fix(usage): release completed request payloads (#140588) fix(tooling): omit Trae machine squash credit (#140562) fix(ui): stop catalog paging in hidden tabs (#140583) fix(portals): reach IPv6 loopback with IPv4-only localhost records (#140580) fix(transcripts): preserve fixed and legacy capture history (#140563) fix(ui): prevent Talk E2E audio capture stalls (#138803) fix(media): release completed document source buffers (#140561) fix(anthropic): preserve resumed CLI caches across Git changes (#140566) chore(ui): refresh control ui locales (#140586) fix(ui): keep usage exports bound to their session instance (#140573) refactor(exa): test response readers through tool execution (#140572) fix(macos): omit incompatible worker binaries from app bundles (#140557) fix: avoid retaining discarded tool output (#140570) refactor(gateway): share placement move matching (#140569) fix(gateway): preserve child turns during systemd drain (#140568) ... # Conflicts: # .agents/skills/release-openclaw-maintainer/SKILL.md # docs/reference/RELEASING.md
…#129144) * fix(talk): keep opaque realtime routes out of public config * test(talk): verify relay omits gateway-owned model * fix(talk): preserve opaque realtime routing * fix(talk): align live proof model selection * chore(talk): keep release notes in PR evidence * fix(talk): flag unsupported route voices * fix(talk): harden public realtime projections * fix(talk): preserve released realtime compatibility * docs(talk): clarify realtime auth compatibility * docs(talk): align gateway auth contract * docs(talk): align realtime auth guidance * fix(talk): route released platform relay over webrtc * test(talk): satisfy exact-head quality gates * docs(talk): separate realtime auth flows * test(talk): cover implicit realtime privacy projection
…#129144) * fix(talk): keep opaque realtime routes out of public config * test(talk): verify relay omits gateway-owned model * fix(talk): preserve opaque realtime routing * fix(talk): align live proof model selection * chore(talk): keep release notes in PR evidence * fix(talk): flag unsupported route voices * fix(talk): harden public realtime projections * fix(talk): preserve released realtime compatibility * docs(talk): clarify realtime auth compatibility * docs(talk): align gateway auth contract * docs(talk): align realtime auth guidance * fix(talk): route released platform relay over webrtc * test(talk): satisfy exact-head quality gates * docs(talk): separate realtime auth flows * test(talk): cover implicit realtime privacy projection (cherry picked from commit 7ff0e11)
What Problem This Solves
Talk must preserve an account-issued realtime route internally without publishing
it through config, catalogs, sessions, diagnostics, errors, or native client
requests. The released browser and Gateway-relay route must also keep its shipped
OAuth-first, Platform-key-fallback behavior.
Why This Change Was Made
Native clients previously depended on the public model field to decide whether
Gateway relay was available. Redacting that field alone could disclose the route
or silently select a different public model. This change moves the decision into
the provider-owned public projection, which returns redacted config plus bounded
response-only routing hints.
Final review also found that Gateway relay selected transport from credential
type alone. Platform fallback for the released route therefore took the direct
backend socket intended for unlisted routes. Transport selection now uses the
released-route classifier: released OAuth and Platform sessions use Gateway-owned
WebRTC, while unlisted Platform sessions remain direct.
User Impact
exposing their identifiers.
unlisted route data.
private model.
Platform fallback over WebRTC.
visible.
Evidence
Exact public head:
61a533283c59ad7247e1a7bc73b8ce0dca938b69Live provider proof
An isolated exact-head run used an entitlement-bearing Platform API key through
process environment only. It did not modify live config, databases, or the
managed Gateway.
{ "attempts": 1, "connected": true, "elapsedMs": 64988, "projectionCount": 5, "publicConfigOmitted": true, "publicSessionOmitted": true, "publicDiagnosticOmitted": true, "publicRelayErrorOmitted": true, "publicAuthErrorOmitted": true, "allPublicOutputsOmitted": true, "privateStringValueCount": 0 }The persisted artifact was checked against a fixed key allowlist. It contains
only booleans and counters, with zero string values. The real provider session
connected successfully, and the same private value was absent from public config,
session, diagnostics, relay-error, and auth-error projections.
Regression and local validation
creation; the converted bridge test failed on the parent and passed after the
owner fix.
Bun-only skip.
pnpm native:i18n:verify: 4,316 entries, unchanged.TalkModeConfigParsingTest: Play and third-party variantspassed.
git range-diff; theintervening main range overlapped 0 PR files.
retry: 1 file, 1 test.
home path absent, 0 verified TruffleHog findings.
TalkModeGatewayConfigTestsis assigned to exact-head hostedmacos-swift; repository policy forbids running native app tests on an operatordesktop.
Test audit
The converted bridge test protects observable transport behavior: released
Platform fallback must allocate a media peer, create the provider call, apply the
answer, open sideband control, and avoid the direct
session.updateinitialization. The existing unlisted Platform direct test independently protects
zero WebRTC allocation and direct initialization. No test-only production seam
was added.
Dependency contract
Direct source inspection was refreshed at
openai/codex@455318c2020d75ae7d66d6ccf19defda97edec34:codex-rs/core/src/tools/handlers/multi_agents_v2/spawn.rs:210-269:spawn starts the child and returns without waiting.
codex-rs/core/src/tools/handlers/multi_agents_v2/wait.rs:39-117:waiting is explicit.
codex-rs/core/src/session/turn_input.rs:525-601:steering requires the exact active turn.
codex-rs/app-server/src/request_processors/turn_processor.rs:1006-1135:empty, missing, mismatched, and non-steerable turns are rejected.
codex-rs/core/tests/suite/subagent_notifications.rs:928-956:notification delivery does not require waiting.
Review metrics
+891 / -321(net
+687).+2467 / -884; documentation is+185 / -207(net+1442).protocol hints are additive.
bounded public redaction, released/unlisted transport ownership, direct
transport lifecycle handling, and truthful voice projection. The old
public-model reconstruction and credential-only transport decision are removed.
ClawSweeper Disposition
Terminal historical review:
#129144 (comment)
Latest exact-head review:
#129144 (comment)
The latest exact-head review has no actionable finding, lists no before-merge action, and publishes no
Rank-up moves:list.Addressed:
identifier.
as supported.
shaping, startup, and public omission are covered.
diagnostics, and session/config projections use bounded public errors.
the unlisted direct transport.
route redaction. Direct owner-boundary inspection disproved it: the sole
provider is selected before canonical projection. The existing Gateway matrix
now covers implicit selection with secrets excluded and passed at the exact
head.
Explicit decisions and rank-up dispositions:
synthesize a public default that the server cannot distinguish from an
intentional explicit override without a new negotiation contract; ignoring it
would break valid overrides. Shipped macOS clients omit the model.
state; no durable schema or migration changed.