← Back to Pull requests

Reword the evaluator's disallowed-call error #118

Merged
chrisguidry merged 1 files (4 lines) on Nov 24, 2026 20:17 UTC
View on GitHub
chrisguidry chrisguidry commented on Nov 24, 2026 19:47 UTC
Author

Static analysis read the message f"call to {function!r}" as SQL built from a string, because CALL is a SQL keyword, and reported a SQL injection where there is no SQL. The message now names the rejected function first.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KgFwsYjZswhNsDNRNKw1Ej

Diff: 4 lines (+3 / -1) across 1 files Reviewer: gaker Review duration: 30m
All Vouch review confidence checks passed
Residual risk 0.05 = Change Risk (0.18) × (1 − Review Confidence (0.73)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.18 · 4 lines diff across 1 files
0.18
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.61 · 1 substantive comment(s)
0.61
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
72%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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.096
Ai Authored ai_authored
0.050
Real PR Conversation Timeline
3 items
chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] commented on Nov 24, 2026 19:48 UTC
Bot

<!-- codex-pull-request-review-summary -->
<!-- codex-review-state:v1 {"code_review":{"commit_sha":"e614c703b8f5145b74050363e533542b80ec4e19","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} -->

<details>
<summary><strong>Codex Review Summary</strong>: ✅ Completed</summary>

This comment shows the latest Codex review activity on this pull request.

| Review | Status | Commit | Review trigger |
| --- | --- | --- | --- |
| 📝 Code Review | ✅ Completed <relative-time datetime="2026-11-24T19:48:06.079457Z">2026-11-24T19:48:06.079457Z</relative-time> | e614c70 | PR opened |

<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review

  • Mark a draft as ready

  • Comment "@codex review" or "@codex security review".
  • Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

    </details>

    </details>

    gaker gaker approved these changes on Nov 24, 2026 20:16 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    chrisguidry chrisguidry
    Labels
    risk: low confidence: 72.9% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 17.6% (LOW) · Higher = larger blast radius
    17.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 72.9% · Lower = rushed or shallow review
    72.9%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 4.8% · Safe to merge
    4.8%