fix(codex): 새 transcript 형식의 사용자 메시지 복원 - #51
Merged
Conversation
devswha
approved these changes
Aug 13, 2026
devswha
left a comment
Owner
There was a problem hiding this comment.
Reviewed the parser, dedup accounting, and cache integration; validated the dedup window against real transcripts on this host (11,215 rollouts, latest 40 scanned): 40 response_item-only prompts confirm the new format is current Codex's primary record, and all 39 double-recorded pairs sit 0–1ms apart — well inside the 10ms window, with the 100ms backward-scan cutoff giving ample margin. normalizedBytes accounting is exact on both the replace and skip paths, and the event_msg-over-base64 preference keeps the cache budget honest. CI green on both Node lanes.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
문제
최신 Codex transcript에서는 사용자가 보낸 메시지가 기존의
event_msg:user_message없이response_item의role: user형식으로만 기록될 수 있습니다. 이 경우 ChatMux가 어시스턴트 답변은 표시하지만 사용자 메시지 말풍선은 누락했습니다.변경 사항
response_item형식의 사용자 메시지를 transcript에 포함합니다.AGENTS.md instructions및environment_context는 채팅에서 제외합니다.input_image첨부도 사용자 메시지에서 복원합니다.response_item과event_msg양쪽에 기록된 경우 중복을 제거합니다.event_msg를 우선합니다.검증