seifashraf.tech

blog

Writing

Notes from production: what broke, what held, and what I'd do again.

RSS feed

·8 min read·nestjs · postgresql · architecture

Shipping an LLM feature on health data, switched off

A health platform I build drafts session summaries with an LLM. The model call was the easy part. Here is the boundary around it, and why it shipped off.

·8 min read·architecture · testing · next.js

AGENTS.md: rules a coding agent actually follows

Every repo I work in now has an AGENTS.md. What goes in mine, from a one-line pointer to a 600-line rulebook, and the scripts that hold agents to it.

·7 min read·node.js · deploy · architecture

npm supply chain attacks: the pnpm 11 settings I ship

Worms republished hundreds of npm packages in 2026. These are the pnpm settings in my repos, the reason for each one, and the two entries I got wrong.

·5 min read·nestjs · bullmq · postgresql · redis · architecture

BullMQ jobs that run once: the outbox pattern in NestJS

Calling queue.add() next to a database write loses jobs or invents them. Here is the outbox setup I run in production with NestJS, Postgres, and BullMQ.

Contact

Tell me what you're building.

A project, a role, or a question about something above. I read every message myself and reply within 24 hours.

Or skip the form

contact@seifashraf.tech
CV (PDF)
This is about
What kind of thing
Budget (USD)
Timeline
How did you find me? (optional)

No newsletter, no spam. Just a reply.

Let's talk