Tag: Architecture
6 posts

Three tiers of Claude Code in CI
Read-only review, constrained auto-fix, and interactive @claude. Each tier has its own trigger, scope, and loop guard.

Pooling Playwright browsers across FastAPI scans
A persistent Chromium instance with idle-timeout shutdown eliminates per-scan browser launch while isolating cookies via fresh contexts.

asyncio.gather Is Not Enough for a Sync Client
A job poller stuck at 48 seconds. asyncio.gather did nothing. Batching plus asyncio.to_thread cut it to 8 seconds without a new library.

Turning a Prose Style Guide into Zod Build Checks
Character limits, canonical tags, and em dash rules encoded as a Zod discriminated union. The script caught a duplicate cover image on its first run.

Client-Side Tag Filtering Without Losing SEO URLs
One component renders Link for crawlable tag pages or button for instant client filtering. The same TagChipStrip serves both without duplicating code.

The Rule of Three in Design Systems
When to extract a repeated pattern into a shared abstraction, and when to leave it inline. A framework from auditing portfolio typography.