Repository navigation
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 1, 2026, 10:01 PM ET / 02:01 UTC. Summary PR surface: Source +16, Tests +15. Total +31 across 2 files. Reproducibility: yes. Source inspection shows current main iterates raw helper input, and existing transcript/restart tests show toolResult content can appear as strings; I did not run tests because this review is read-only. Review metrics: 1 noteworthy metric.
Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Normalize non-array tool-result content at a shared replay boundary used by text extraction and media/image checks, add provider-path regression coverage, and require redacted real behavior proof before merge. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows current main iterates raw helper input, and existing transcript/restart tests show toolResult content can appear as strings; I did not run tests because this review is read-only. Is this the best way to solve the issue? No. Normalizing only inside extractToolResultText is too narrow because provider callers still use the original content for media/image checks; a shared normalized boundary or caller normalization is the safer fix. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 313560d5b98e. Label changesLabel justifications:
Evidence reviewedPR surface: Source +16, Tests +15. Total +31 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
I compared this against #98826 for #98825 after the latest CI run. This PR is the cleaner base only if it keeps #98826's direct Two concrete blockers remain here:
Best-fix verdict: acceptable base, not merge-ready. Compared with #98826, this branch is safer on the redaction contract, but it still needs the lint fix plus provider-path normalization/regression coverage before maintainers should treat it as the canonical #98825 fix. Code/CI checked: |
|
Closing: the underlying bug (#98825) is fixed on We took a different approach than this PR: instead of widening the shared replay helpers to tolerate non-array Thanks for digging into this — the character-by-character iteration analysis in #98825 was exactly right. If you hit a path where non-array tool-result content still reaches the extractors after e095dc8 (i.e. one that doesn't enter via session-file load), please open a fresh issue with the repro and we'll extend the boundary normalization there. |
Summary
Fixes #98825.
Testing