Repository navigation
fix: 어법 분석의 구간·null 계약 보강과 실패 원인 기록 - #179
Merged
Merged
Conversation
6 tasks
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Yelihi
commented
Oct 9, 2026
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.
문제와 수정
I want to join a study group/I want to : ~하고 싶어입력이 HTTP 200 뒤INVALID_OUTPUT으로 끝나 검토 화면에 진입하지 못했습니다. 동일 입력을 실제gpt-5.4-mini-2026-03-17에 보내 실패를 재현했고, 응답 계약과 분석 지침을 수정했습니다.grammarKey는 schema에서 null로 고정하고,parentId는 null 또는 비어 있지 않은 ID만 허용합니다.parentId가 문법적 의존 관계가 아닌 표시 구간의 포함 관계임을 명시합니다. 한국어 직역은 원문 구간과 구분합니다.Fixes #178
실제 재현에서 확인한 내용
수정 전 두 API 응답은 모두
completed였습니다. 사전 검사는 통과했지만 분석은 아래 값 때문에 거절됐습니다. 이 실행에서는 토큰 부족이 원인이 아니었습니다.grammarKeyparentIds3의 부모s2수정 후 실제 공급자 검증 2회에서 분석과 도메인 검증을 통과했습니다. 최종 응답은 한국어 직역도 확인했고, 실제 편집 store에 연결해
stage: review,pending: null, 원문 유지까지 확인했습니다. 변경 파일은 10개입니다.검증
getAuthenticatedUser재사용. 사용자 없음·인증 오류에서 quota 및 AI 호출 차단 검증git diff --check통과npm run build프로덕션 빌드 통과확인 범위
실제 공급자 검증은 로컬의 동일 입력으로 수행했습니다(수정 전 1회, 수정 후 2회; 각 사전 검사 + 분석, 총 6회 API 호출). 운영 로그인·quota·브라우저를 포함한 E2E나 배포 후 확인은 하지 않았습니다. LLM의 모든 응답 성공을 보장하는 수정은 아니며, 잘못된 응답은 계속 거절되고 이제 해당 실패 단계를 추적할 수 있습니다. 운영에서 최초 보고된 응답 전문은 확보하지 못했으므로 위 원인은 이번 실제 재현에서 확인한 내용입니다.