fix(responses): recover native MESSAGE history without losing turn scope - #3690
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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. |
리뷰 · 우선순위 60 / 80이 PR은 옵트인 routed 서브에이전트가 지원되는 native 핵심은 (1)
경로/심볼 경로/심볼 경로 경로 원본 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
|
Owner-authorized admin merge of #3690, carrying #3568 with original contributor commits and attribution preserved. Exact head: 608565f. All functional producers in full cross-platform run https://github.com/lidge-jun/opencodex/actions/runs/33981582675 succeeded, including all Linux/macOS/Windows suite jobs, unsharded macOS control, type/privacy gates and platform smokes. Any remaining queued ci aggregation is evaluated directly by its success/skipped allowlist; no unexecuted tests or failures are bypassed. Independent implementation/security review passed. Foundation restacking preserved the complete layer diff byte-for-byte and retained original contributor commits. Child retargeting precedes auto-deletion. Final dev inclusion will be checked immediately after merge. Co-authored-by: voiys matej2714@gmail.com |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Summary
Carry #3568 so opted-in routed subagents can recover supported native MESSAGE envelopes and reuse previously admitted recovery for replayed history. Historical cache lookup revalidates existing caller/envelope admission and neither starts another recovery nor extends plaintext lifetime. Canonical non-forward OpenCode Go requests translate supported plaintext agent messages to public Responses messages.
Recovery reparsing also retains the conversation termination binding, so replaying a delivered final answer does not manufacture another provider request while a genuine user follow-up still runs.
All three original voiys commits are preserved, including the destination and forward-auth documentation corrections. Catalog/effort work stays in #3571. This is partial progress for #3661; multipart envelopes and other residual recovery failures are outside this change.
Stack (merge bottom-up):
Depends on #3686. Review this layer's diff only.
Verification
332a30e6d3a6cb3941acbf68df0656df3778c731, pinned remote Bun 1.4.0: 96 tests passed, 0 failed, typecheck passed; documentation build passed with 425 pages.Checklist
Co-authored-by: voiys matej2714@gmail.com
Verification update: the additional manual full-CI run on this pre-repair head was cancelled after existing Windows shutdown-spill fixture defects were identified. Normal PR verification and captured logs are retained. A separate deterministic fixture repair will be inserted beneath the stack; required CI will be rerun on refreshed heads before admin merge. No passing full-Windows claim is made.
Current stack verification: head
608565f15c498d5762fab225629b7e7234770bbd, basecodex/a-02-ws. Foundation #3696 is included; all five layer diffs are byte-identical to their independently reviewed pre-foundation diffs, and original contributor commits remain ancestors. Prior focused results above are pre-restack evidence. Current-head full CI: https://github.com/lidge-jun/opencodex/actions/runs/33981582675 . Required completion is pending; admin merge remains bottom-up.