Fix enable_todo evals: explicitly enable TodoWrite prompt components #2572
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.40) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 177 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.310
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #2572"
general
weight: 0.35
claude[bot]
Problem
Since ROB-574 (#2471), TodoWrite prompt components are
DISABLED_BY_DEFAULT. The eval harness only passed overrides whenenable_todowas false and passedNonewhen it was true, which resolves to the new default (off). So283_todowrite_multistep_auditnever had TodoWrite instructions in its system prompt.In benchmark run 37727388071, all 30 runs (10 models × 3) reported every audit code correctly but failed on "Must call the TodoWrite tool".
This is an eval-harness bug, not a Holmes bug.
Fix
Use the existing
todowrite_overrides(enable_todo)helper so the components are explicitly on or off.Verification
is_component_enabled(TODOWRITE_INSTRUCTIONS, None)→False(old behavior withenable_todo: true)todowrite_overrides(True)→ both components enabled;todowrite_overrides(False)→ both disabledpytest --collect-only -k 283_todowritecollects fine🤖 Generated with Claude Code
https://claude.ai/code/session_01Vsh4Gg7KjciHzAuK5HbWKc
---
_Generated by Claude Code_
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Tests
Updated test coverage to use the shared TodoWrite override behavior, including cases where TodoWrite is disabled.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->