Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: lidge-jun/opencodex/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 5 remain after this review. 📝 WalkthroughWalkthroughThe change exports root-level TOML lookup and updates model instruction file resolution. Present string values remain external selections, undecodable values are preserved, and unreadable values no longer appear absent. Integration coverage verifies selection refusal and byte-for-byte configuration preservation. ChangesModel instructions resolution
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
✅ Deterministic PR hygiene checks passed. |
✅ READY
Review readiness checklist
✅ 4/4 boxes ticked. Automatic ready-for-review conversion failed; please mark the pull request ready manually if it is still a draft. |
리뷰 · 우선순위 70 / 80이 PR은 지금은 먼저 Bun TOML 파서( 베이스는 라인 - src/codex/prompt-layers.ts:384 - Bun이 문서를 못 파싱하고 라인 - src/codex/prompt-layers.ts:388 - 읽을 수 없을 때 쓰는 센티널 문자열 라인 - tests/codex-integration/codex-prompt-base-variants.test.ts:64 - 회귀는 Bun이 메인테이너의 판단이 필요한 지점 읽을 수 없는 값을 UI에 센티널 문구로 보여줄지, 아니면 너의 추천 머지해도 됩니다. 버그(키를 없다고 착각 → 남의 설정 덮어쓰기)와 고친 방향이 맞고, 회귀 테스트가 핵심 경로를 잡습니다. tip의 #5185와 파일이 안 겹칩니다. 이 댓글은 grok-bot이 작성했습니다 |
137b5f0 to
1131bf5
Compare
추가 리뷰 · 우선순위 69 / 80이전 리뷰 이후 head가 라인 - 이번 델타에는 PR 본문 파일 변경이 없습니다. 이전 지적(줄 스캔 폴백에서 따옴표 붙은 원문을 경로로 쓸 수 있음, 센티널 메인테이너의 판단이 필요한 지점 재베이스만 했으니, 이전과 같이 센티널 문구를 UI에 그대로 둘지·짧은 고정 메시지로 둘지만 정해 주시면 됩니다. 덮어쓰기 방지 동작은 어느 쪽이든 같습니다. tip 1커밋은 문서뿐이라 지금 맞춰 올릴지는 선택입니다. 너의 추천 내용이 안 바뀌었으므로 이전 추천을 유지합니다. 버그 방향과 회귀 테스트(표준 TOML 이스케이프 → 이 댓글은 grok-bot이 작성했습니다 |
|
Consolidated into #5540 in native Stack #5505. Source head: All 1 unique source contribution commit(s) match their carried commits by stable Git patch ID. Original implementation and coverage are preserved. Prepared aggregate checks passed 200 runtime/configuration tests and 20 GUI/locale tests. Combined route/probe rerun passed 119 tests with one POSIX skip; combined GUI tests, typecheck, structure, privacy and ratchet checks passed. Full cross-platform CI, POSIX execution, docs build and independent review remain pending. Closing this duplicate standalone review entry at the author's request after verifying migration. This is not a merge or release claim; remaining integration checks and reviews are tracked on the draft replacement. Original branches are retained. |
Summary
model_instructions_filewas read by a line scan whose decoder covers only the restricted escape set this module writes. A hand-set key using standard TOML escapes (for example\u002F) failed to decode and was treated as absent, sobaseSelectionreporteddefaultwhile Codex was in fact using a replaced base prompt - and a later variant selection could silently overwrite a key somebody else set.rootValue, keep the restricted line scan only as a fallback for documents Bun cannot parse, preserve a quoted literal the narrow decoder refuses, and fail closed when the key is present but not a readable string so the selection reportsexternalinstead ofdefault.Verification
bun test tests/codex-integration/codex-prompt-base-variants.test.ts- 15 pass, including a new regression test for a hand-set key with standard TOML escapes.bun teston the four prompt-layer integration test files - 160 pass, 1 platform skip, 0 fail.bun x tsc --noEmit- clean.Checklist
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.
Summary by CodeRabbit
model_instructions_filesettings, including paths containing standard TOML escape sequences.