worktrunk
worktrunk copied to clipboard
[bot] too many PRs
@worktrunk-bot the hourly review checker is posting way too many PRs of insufficient quality.
I think when we started this, it was totally new, and so there was so much to change. But now it's reasonable, we need to reduce the learning rate
A few of ideas:
- Turn down to nightly, so we get more cases
- Find all problems, but then require any PR to be sufficiently confident that this is an underlying problem rather than noise. For very bad outcomes (it closes the wrong issue), one occurrence might be enough. For very slight outcomes (it polls too long) it might need a dozen.
- Consider the change that is required. For simplifications (it removes confusing language), one occurrence is enough. For big additions (another paragraph explaining a concept again) lots would be needed
I think (2) & (3) are likely to be good, if we can encode them in the skill in a reasonable way — wdyt?
Thanks for flagging this! I agree the hourly cadence made sense when the skills were new and needed rapid iteration, but the signal-to-noise ratio has dropped as things stabilized.
I've opened #1598 implementing ideas (1), (2), and (3):
- Nightly schedule instead of hourly — more runs per analysis means better evidence
- Confidence gate — findings need multiple occurrences to act on (1 for critical, 5+ for medium-confidence, skip low/nitpicks)
- Magnitude gate — larger changes need proportionally more evidence (removals need less, new paragraphs/structural changes need 3-5+)
- Cap of 2 PRs per run — below-threshold findings are logged in the summary for future evidence accumulation
A maintainer will review it shortly.