WebSocket turns carry only new input, so conversation-level plugins see less of a Codex session
Maintainer thường phản hồi trong vòng 1 ngày
@Alan-Cha đang làm issue này rồi.
Từ ngày 27/10/2026.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Read the implementation from #1467 and trace how WebSocket turns are parsed into Extensions.Inference.Messages; compare that with the HTTPS request path and the handling of previous_response_id. Decide which of the three proposed approaches preserves the intended plugin behavior, then identify the affected relay and plugin tests. Done means conversation-level plugins receive the expected context or can reliably detect incremental input.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Follow-up to #1467, which carries Codex's Responses API WebSocket and parses each turn on it.
The limitation
Over HTTPS, every Codex turn is a POST whose body carries the whole conversation. Over the WebSocket, only the first turn on a socket does. Every later turn carries only the new input items, plus a previous_response_id naming the turn before. The server keeps the earlier context. That is part of why Codex prefers the socket.
#1467 parses each turn exactly as its body reads, so on a socket's later turns Extensions.Inference.Messages holds only the delta, not the conversation.
Who it affects
- Unaffected:
inference-parser's model, tokens, cost and tool calls (these come from the response), andtool-prune(each turn carries its own tool list). - Affected: any plugin that judges the conversation as a whole, for example
ibacreading the user's intent across turns,context-guru, or a policy (opa,cpex) written againstinput.inference.messages. Over the socket such a plugin sees less than it would over HTTPS for the same session.
Codex runs on laptop installs today, where none of those are in the default pipeline. So nothing is broken for current users, but a deployment that enables them for Codex would get weaker coverage without any sign of it.
Possible fixes
- Rebuild the conversation per socket. The relay already sees every turn's input and every response's output items. It could keep a running transcript per socket and present plugins the full message list, as an HTTPS body would carry. Cost: memory per open socket, and reproducing what the server reconstructs from
previous_response_id. - Flag the turn as incremental (for example, an
Incrementalfield onInferenceExtension), so a conversation-level plugin can tell it is seeing a delta and decide for itself. - Fall back for those pipelines. When the chain contains a plugin that needs the whole conversation, decline the socket (
listener.responses_websockets: decline), so Codex uses HTTPS. That is available today as a manual setting.
Refs #1467, #1365.
Assisted-By: Claude (Anthropic AI) [email protected]
- Ngôn ngữ chính
- Go
- Star
- 21
- Fork
- 43
- Merge trung bình
- 14 giờ 25 phút
- Pull request đã merge (30 ngày)
- 245
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của rossoctl/cortex
-
aiac enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
rossoctl/cortex#1546 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
UI shows costs for all sessions even when drilled into a sessionCó thể đã có người làm @esnible đã nhận 15 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
rossoctl/cortex#1116 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug laptop
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: Copied listener and parser code has drifted (hop-by-hop response headers, SSE BOM/CR handling)Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của rossoctl/cortex
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
orchestration.migration.data.tasks.retry values are ignored by the 8.8 data migration jobCó thể đã có người làm @irisfield đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
camunda/camunda-platform-helm#7773 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add missing unit tests for IsAdmissionPolicyName and IsCertManagerResourceNameCó thể đã có người làm @a1h8 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
kubernetes-sigs/security-profiles-operator#3644 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Anthropic Responses converter forwards empty text blocks, upstream rejects with 400Có thể đã có người làm @david-choi-querypie đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[DOCS]: enforce_admins description understates what it covers and omits push restrictionsCó thể đã có người làm @dav-tb đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
integrations/terraform-provider-github#3707 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày