Skip to content

Commit 06ec3fe

Browse files
committed
fix: tighten agent failure heuristic to avoid conventional commit false positives
Exclude conventional commit fix: prefixes from agent struggle detection. Only flag "fix" when 3+ fix-like commits appear within 1 hour on the same branch. Add design note explaining the temporal dimension trade-off. https://claude.ai/code/session_01KetN4P3WreSniJYPV6Bqqb
1 parent 45decfa commit 06ec3fe

File tree

1 file changed

+10
-2
lines changed
  • plugins/daily-report/skills/daily-report

1 file changed

+10
-2
lines changed

plugins/daily-report/skills/daily-report/SKILL.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,11 @@ or failed during the reporting period:
189189

190190
- PRs with many force pushes on the same branch in a short time (suggesting repeated
191191
failed attempts)
192-
- Commits with messages like "fix", "retry", "attempt", "revert" appearing in rapid
193-
succession on the same branch
192+
- Commits with struggle-indicator messages ("retry", "attempt", "revert", "try again",
193+
"wip", "broken") appearing in rapid succession on the same branch. Exclude conventional
194+
commit `fix:` or `fix(scope):` prefixes — those indicate intentional bug fixes, not
195+
agent struggles. Only flag "fix" when 3+ fix-like commits appear within 1 hour on the
196+
same branch (suggesting iterative failed attempts rather than normal development)
194197
- PRs that were opened and closed without merging multiple times
195198
- CI workflow runs that failed repeatedly on the same PR/branch
196199
- Branches with an unusually high number of commits relative to the diff size (churn)
@@ -232,6 +235,11 @@ reporting period. This gives a quick visual overview of where the most activity
232235
- Use all commits gathered in Step 2 (across all branches)
233236
- Only include repos that had at least 1 commit
234237

238+
**Design note**: This chart intentionally replaces the previous time-of-day stacked bar
239+
chart. The temporal dimension (when activity occurred) is traded for a clearer at-a-glance
240+
view of where activity concentrated. Time-of-day patterns can still be inferred from the
241+
commit tables in the Repository Activity section below.
242+
235243
Example chart (actual values will differ):
236244

237245
```mermaid

0 commit comments

Comments
 (0)