refactor: extract CooldownBeltComputer from CooldownSession (Wave 1B, #375)#397
refactor: extract CooldownBeltComputer from CooldownSession (Wave 1B, #375)#397
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughExtracts belt computation and agent-confidence tracking logic from Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks 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 |
…375) Extract belt computation and agent confidence tracking into a dedicated CooldownBeltComputer class (85L), reducing CooldownSession from 1,225 to 1,201 lines. Per-agent error isolation ensures one bad agent does not poison the batch. Quality: 10 BDD, 17 unit, ArchUnit 14 of 15, mutation 82% (100% covered) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
c3429f0 to
8d953ce
Compare
Summary
CooldownBeltComputer(85L)this.beltComputer.compute()andthis.beltComputer.computeAgentConfidence()Quality
Review Findings Addressed
Deferred to Wave 3A
belt?: { calculator, projectStateFile })@deprecatedtags on kataka legacy fieldsCloses #375 partially (Wave 1B of 6)
🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes
New Features
Tests