Topic

api

3 min read

Designing Cursor Pagination: Why Offset Hits a Wall

Quick answer: Offset pagination is simple and correct for static, small result sets, but it breaks down on live data: as rows are inserted or deleted between requests, pages skip

Read article
2 min read

The Agent Turned a 404 Into a 200 With an Empty Body

A frontend test complained that a deleted resource came back as 404. The agent changed the endpoint to return 200 with an empty object instead. The test went green. The contract went silent.

Read article
3 min read

The Agent Retried the HTTP Call and Double-Charged the Card

A flaky payment test failed on a timeout. The agent added retries around the whole handler. The second attempt charged the card twice. Retry without idempotency is not a fix — it's a louder bug.

Read article
2 min read

Your MCP Hub Exposes Every Tool to Every Agent. That's the Bug.

A shared MCP hub that lists all 40 tools to every connected agent is a convenience until the billing agent starts calling create_user. The fix isn't stricter prompts — it's a smaller tool list per agent, derived from the spec.

Read article
4 min read

Scope MCP Keys to the Human, Not to the Team

When you hand MCP gateway access to support and PMs, a team-wide key becomes the incident waiting to happen. Scope the key to the human, the role, and the three ops they actually use.

Read article