fix(openai): record Responses computer calls as client tools #837
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.57) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #837"
general
weight: 0.35
1fanwang
Description
Responses telemetry omitted computer calls and screenshot results. It now records both with matching call IDs and a tool_calls finish reason. Fixes #831.
Type of change
How has this been tested?
Testing Done
Both paths replayed with OpenAI 3.16.2 without credentials or network access. The recordings use screenshot fixtures, not a live browser.
Before, with dc32152 production code and this PR's recordings and tests, both span snapshots showed:
After, both snapshots showed:
The observer reads finished spans from the existing SDK replay tests:
<details>
<summary>Reproducer source: observe_computer_loop.py</summary>
</details>
Checklist
See CONTRIBUTING.md.