Articles for people who
ship the stack
Rewrites on React, Node.js, TypeScript and AI. A translated body is shown when it exists. If it does not, you see the English text and a note that says so.
Tagged: Idempotency
Why the Agent Harness, Not the Model, Decides What Becomes Real
A timed-out CRM update shows why agents need tool contracts, unknown-outcome states, idempotent retries and verified completion, plus controls worth keeping.
6 min readDesigning an Agentic Checkout: Delegated Authority, Stale Quotes, Retries
A system design walkthrough for agent-driven purchases: mandates, stale offers, idempotency keys that fail, merchant of record, audit trails and a scoring guide.
8 min readScoring Voice Agents on Outcomes: A Three-Layer Test Harness
Transcript metrics miss voice agents that update the wrong order or leave stale writes. Build a harness with three layers, six axes and a release gate.
6 min readRefund Agents: LangGraph Survived Where CrewAI and AutoGen Broke
Same refund tools and policy across LangGraph, CrewAI and AutoGen. Only explicit state, idempotency and checkpoints survived when processes were killed.
12 min read12 Rules of Thumb for Reliable Node.js APIs
Practical Node.js API reliability rules: timeouts, idempotency, transactions, cache invalidation, logging, and dependency latency—before the 3 a.m. page.
4 min readDesigning a Duplicate-Free Notification Pipeline on SQS, SES and Redis
How a two-queue SQS design, an SES-to-SendGrid fallback and an atomic Redis lock keep business documents flowing to recipients exactly once, even under load.
7 min readWhy NestJS @Cron Jobs Run Once per Replica and How to Fix It
Learn why in-process @Cron schedules multiply when a NestJS service scales out, and how an external trigger, idempotent writes and a guarded endpoint fix it.
6 min readFrom "Go Ahead" to Done: State, Approval and Idempotency for Acting Agents
Learn how explicit proposals, bound approvals, revalidation, idempotency keys and outcome verification turn a multi-agent refund workflow into one you can trust.
14 min readUnderstanding Idempotency Keys in Node.js POST Endpoints
POST requests retried after a timeout can charge twice. How client-generated idempotency keys let Node.js APIs spot duplicates and return the first result.
6 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.