33 signals
HOlO V1 IS LIVEone ranked AI digest a day, scored in publicREAD HOW IT WORKS →HOlO V2 STARTSyour X account, your signals, every day
signalDEV Community2026-09-21

4 Days, 3 Wasted Calls Per Run: My Retry Loop Mistook a Quota-Limit Message for a 'Too Short' Article

A retry loop in note2-daily-stock.sh (auto-generating product reviews for note2/bokumolily via claude -p) wasted 3 claude -p calls per run for 4 days (9/13 - 9/16) because it mistook Claude Max plan quota-limit messages (one-line, no TITLE:) for "article too short" failures, triggering pointless rewrites. The fix greps for limit patterns like "hit your limit" or "usage limit reached" immediately after each pass, aborting after 1 call instead of 3, deleting partial output, and notifying Discord. Three sibling scripts - article-daily-stock.sh, maker-daily-stock.sh, and series-daily-stock.sh - share the same retry structure but still lack this detection.

why now
Quota bug: fix now, 3 scripts.
topic
AI Tools & Agent Workflows
source
DEV Community
#Claude CLI
score
score 8 out of 10. 0-10: how dense the facts are, multiplied by how much you can do with them after reading. 8+ means the topic's evidence bar is met: benchmarks and availability for a new model, amount and investors for a funding round, revenue figures for a solo-money story. Below 5 an item does not enter the digest. A press release scores 3 or less, a reprint loses 2, anything older than 14 days loses 1, a headline that misleads loses 3.
read the source