Search
Posts
Claude Code Stop Hook: Block Until Reads and Tests Are Real
A Claude Code Stop hook can hold an agent until required file reads and real test counts exist. Run it in observe mode first, then enforce.
ReadTypeScript CRAP Score Gate: Count Before It Passes
A CRAP score gate should count what it scored before it reports PASS. A TypeScript monorepo's CI quality gate now fails an empty measurement.
ReadClassify IMAP Errors Before a Retry Limit Blocks a Poller
Sort error codes into retryable and permanent before a retry limit counts them. A mail poller hit by a network outage stayed parked until a person could act.
ReadYour Headline Fit Does Not Run When Web Fonts Are Blocked
The Font Loading API is optional, so a headline fit that waits for it never runs at all. Fit on mount, on load and on resize, then measure the rendered line until it fits.
ReadUndelivered Alerts: Gate the Health Check Until Read
An acknowledgement mark holds the health check on undelivered alerts until a person reads them. Compared as strings, a mark of 9999 could clear them all.
ReadGitHub Webhook IP Allowlist: Add the New Hook Ranges
A static IP allowlist on a GitHub webhook receiver 404s deliveries from new hook ranges. GitHub does not redeliver, and health checks stay green.
ReadPython subprocess Timeout: Kill the Whole Process Tree
On a Python subprocess timeout, kill every descendant, not just the child. A grandchild could finish a webhook POST after the caller got unknown.
ReadVersioned Scoring Rules for a Reproducible Published Index
Store raw facets, give each scoring rule a content-hashed id, pin each date to its rules, and refuse overwrites so index reruns stay reproducible.
ReadOpenRouter Price Spread: One Open-Weight Model Spans 16.08x
Pricing for one open-weight model spans 16.08x across OpenRouter providers. The cheapest endpoint serves fp4. How to measure the provider price spread.
ReadAllow-List JSON Publishing in Python: Stop Field Leaks
Rebuild each published JSON object that carries feed data from an allow-list of keys, then plant raw fields in a Python fixture test to check none leak.
Read