Skip to content

feat(workflow): auto-flag PRs exceeding commit threshold #362

@rjmurillo-bot

Description

@rjmurillo-bot

Problem

PRs accumulate excessive commits (15-48) without shipping, indicating:

  • Scope creep within a single PR
  • Responding to every review comment with fixes
  • No pressure to ship and iterate

Evidence

PR Commits Expected
#255 48 3-5
#235 23 5-10
#199 21 ~5

Proposed Solution

Implement commit threshold monitoring:

  1. Warning at 10 commits: Label PR with "needs-split"
  2. Alert at 15 commits: Notify author to consider splitting
  3. Block at 20 commits: Require human override to continue

This creates pressure to ship smaller PRs rather than growing forever.

Acceptance Criteria

  • Workflow monitors commit count on PRs
  • Warning label applied at threshold
  • Process documented for splitting large PRs

Priority

P1 - Prevents future scope explosion, forces smaller PRs


🤖 Generated from PR velocity analysis session

Metadata

Metadata

Assignees

Labels

area-workflowsGitHub Actions workflowsautomationAutomated workflows and processesenhancementNew feature or requestpriority:P1Important: Affects user experience significantly, high business value

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions