-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix(voice): keep diagnostic logs free of frame content #3968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+136
−24
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ed2036c
docs: record Codex voice relay source comparison
invalid-email-address d14f75b
fix(voice): keep sideband diagnostics free of frame content
invalid-email-address 2d27c42
Merge remote-tracking branch 'origin/dev' into codex/voice-relay-0908
invalid-email-address f29ab57
Merge remote-tracking branch 'origin/dev' into codex/voice-relay-0908
invalid-email-address da0beec
Merge remote-tracking branch 'origin/dev' into codex/voice-relay-0908
invalid-email-address File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| # Codex voice relay follow-up | ||
|
|
||
| Satisfy-spec HOTL loop, triggered by the maintainer's September voice source comparison request. | ||
| Goal: carry only verified OpenCodex-owned improvements and document the client/proxy boundary. | ||
| No local product tests, typecheck, build or installs; no release, deployment or user settings changes. | ||
| Verification: read pinned upstream source and Aside findings; independent review; final cumulative | ||
| remote Cross-platform CI dispatch (all lanes), followed by exact-head merge and fetched dev tree proof. | ||
| Local product verification is NOT RUN by explicit user instruction. Git diff/document inspection is | ||
| allowed but does not certify runtime behavior. No latency or live audio improvement is claimed. | ||
| Stop: audited no-change conclusion, or required corrections landed with fresh remote evidence. | ||
| Outcomes: DONE, evidence-backed NOOP, or explicit unmet external gate. No invented time/cost budget; | ||
| existing tools/credentials only, bounded individual probes, no new services or installs. | ||
| Escalation: unresolved maintainer objection, missing external authority, or unavailable required CI. | ||
|
|
||
| ## Ordered work phases | ||
|
|
||
| 1. wp1: source research and audited roadmap (documents only). | ||
| 2. wp2: scoped relay correction and adjacent regression coverage; depends on wp1. | ||
| 3. wp3: publish the documented contract, final cumulative CI, and merge; depends on wp2. | ||
|
|
||
| Existing owners: `src/server/live.ts`, `src/server/index.ts`, `tests/server/server-live.test.ts`, | ||
| `docs-site/src/content/docs/guides/codex-integration.md`, `structure/04_transports-and-sidecars.md`. | ||
| No new production abstraction, endpoint or dependency. Preserve preexisting worktree documents. | ||
| Manual two-PR chain: relay implementation/tests, then integration documentation. User explicitly | ||
| requests final-tip-only product CI, overriding per-layer local/full-suite defaults. Automatic | ||
| redundant product CI on these task PRs may be cancelled; it is never counted as passing evidence. | ||
| Use merge commits to preserve stack ancestry, retarget the child only after the parent lands, | ||
| and recheck the current dev tree before final merge. Required checks remain truthful. | ||
|
|
||
| Security working material is kept only in ignored scratch per AGENTS.md. The detailed audited | ||
| roadmap resides in `.tmp/voice-0908/010_runtime.md` and `.tmp/voice-0908/020_delivery.md` until | ||
| publication of the fix; it is intentionally not copied into this public planning directory. | ||
|
|
||
| ## Roadmap audit and lock | ||
|
|
||
| Independent plan and security audit: PASS, no blockers. The implementation will preserve view | ||
| bounds and original frame delivery. Diagnostic replacement-character flags are not evidence of | ||
| which peer introduced malformed text. Existing logs are outside this prospective logging change. | ||
| The roadmap is locked for wp2; final runtime evidence remains due in wp3, on the cumulative tree. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Source comparison | ||
|
|
||
| Pinned upstream: openai/codex b01c3986fd2e79b8a477a08d81430f52f22bc0dc (2026-09-07 UTC). | ||
| The local corpus is `/Users/jun/Developer/codex`; its 120 and 121 upstream checkouts had older | ||
| working heads, so the named commit was fetched without modifying their worktrees. | ||
|
|
||
| - https://github.com/openai/codex/commit/1b53f6a44eff890b5169bde8d3bd5b12b8766946: | ||
| local voice helper offer/answer, ordered oai-events data channel and UDP/TCP transport. | ||
| - https://github.com/openai/codex/commit/b01c3986fd2e79b8a477a08d81430f52f22bc0dc: | ||
| feature-gated TUI voice commands, captions, handoff answer delivery and lifecycle cleanup. | ||
| - `codex-rs/codex-api/src/endpoint/realtime_call.rs` at the pinned head: | ||
| backend JSON and API multipart call creation, Frameless `/live`, AVAS `/realtime/calls`. | ||
| - OpenCodex `src/server/live.ts` already implements these call-create and sideband shapes; | ||
| `src/server/index.ts` transparently relays frames and bounds pending queues and teardown. | ||
| - `tests/server/server-live.test.ts` already covers call creation, protocol headers, pool identity, | ||
| sideband joins and frame delivery. Existing implementation is reused, not duplicated. | ||
|
|
||
| Fast-tier display text and local audio negotiation do not demonstrate a proxy latency gain. | ||
| The TUI merge date does not establish when a desktop binary shipped. Live microphone/audio | ||
| verification is outside the automated evidence gathered here. | ||
|
|
||
| The Fast-tier metadata commit is 0e0f55fc4ec9308840e54ceba1f1f1dc9547380f, | ||
| 2026-09-04T00:12:18Z; it changes only `codex-rs/models-manager/models.json`. | ||
| It describes the supported service tier, not OpenCodex voice transport performance. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.