How a Durable State Marker Closed the Double-Notification Crash Window
Any daemon that does side-effect-then-mark-done has a crash window. Ordering alone can't save you. Write a durable marker the moment the side effect
Servers, APIs, jobs, deploys and tooling.
Any daemon that does side-effect-then-mark-done has a crash window. Ordering alone can't save you. Write a durable marker the moment the side effect
Airtable wrapped a Gmail label ID in a JSON array. The migration copied it as-is. Gmail said no. Thirteen matters showed a scary red API error. The
raw posts leaked real client names; a dual-model denylist was too blunt; I landed on a deterministic scrubmap + Sonnet generalize pass + a per-post g
If you fork third-party repos and patch CVEs in them, do NOT push to the upstream. Mirror to your own private repo first — and watch out for shallow
includebody=True in an MCP email tool is great for a human-facing UI. For a headless daemon with a token cap, it's a bomb. Same flag. Different c
A pure-stdlib Python server can use Claude Haiku for email triage and a local MLX model for task ranking without importing the SDK. The rule: the runt
Transient API failures are guaranteed at scale — it's just math. Retry logic isn't a nice-to-have. And don't advance your watermark on a failed batc
Pull the LLM into a scheduled ingest job. Let the runtime be dumb and fast. Bonus: the Claude Agent SDK runs on your subscription — zero metered billing
Vercel hard-caps request bodies at 4.5MB at the platform level. bodySizeLimit in next.config can't touch it. Fix: send one file per request.
If your Jinja2 blueprint context has an array, you need an explicit {% for %} loop. The renderer does NOT blow up without one — it just silently d
The Setup
When multiple features land in the same files, Python-split the diff by hunks, git apply --cached --recount each group, and commit. --recount is the
Deploy internal tools ungated. Hide them behind Vercel Deployment Protection. Add the auth gate only after you've verified the thing actually works on p
Fillout's Simple webhook mode doesn't support custom headers. Stop fighting it — make your endpoint accept the secret as ?t=<secret> instead. Constant
A synthetic .click() can return successfully and still do absolutely nothing in Radix UI. If your E2E tests drive the browser via CDP eval, you ne
A functions.excludeFiles glob in vercel.json can silently prevent your Vercel Python function from being registered at all — no build error, jus
Don't make Make.com reconstruct your data. Pre-build exactly what it needs in the payload — your server already has all the context.
Don't retry 4xx. A 401 won't fix itself after three attempts — it'll just fail slowly instead of fast.
When one webhook fans out to multiple competing recipients, each one needs its own redacted view of the data. Paragraph-level stripping works — but
better-sqlite3 can't open a bundled SQLite file from Vercel's /var/task layer even when existsSync returns true. Copy it to /tmp on cold s
serverExternalPackages is step one. There are three more after it.
If you're syncing Recharge subscriptions to a database and your product links are all null — check externalproductid.ecommerce, not externalproduc
when your Vercel function returns a blank 500, the first fix is rarely the bug — it's making the function tell you what went wrong. Surface the error,
Dropped a literal {channelid} placeholder into a Python f-string to guide an LLM. Python treated it as a variable, crashed every run, and my agen
I assumed I knew the shape of an external API response. I was wrong. 849 locations got corrupted before I noticed. The fix is boring — run the live quer
The Setup
Adding .env to .gitignore does nothing if git is already tracking the file. The actual fix is git rm --cached .env. Everything else is just wi
Anything launched by something other than you-in-the-project-dir — MCP server, launchd daemon, cron job — must resolve .env relative to import.me
The Setup
Don't add E2E after you fix the board. Add it first — so you can actually fix the board.