Engineering notes, written down properly
Long-form technical writing on WordPress and WordPress VIP architecture, Gutenberg and ACF block development, e-commerce engineering, AI and RAG integration, and Core Web Vitals performance - written from production work, not theory.
Commerce & Automation
Preventing WooCommerce Overselling: Stock Reservations, Row Locks and Queues
WooCommerce already reserves stock under a row lock at checkout. Overselling at volume comes from the paths that bypass it, and that is where your fixes belong.
9 min read · Commerce & Automation
Commerce & Automation
Shopify Bulk Operations: Importing Large Catalogues with productSet
A production pipeline for loading tens of thousands of products into Shopify: JSONL chunks, staged uploads, parallel bulk mutations and line-by-line reconciliation.
10 min read · Commerce & Automation
Commerce & Automation
Shopify Checkout Extensibility Migration After the Deadlines
Every legacy checkout path has now been switched off. Here is how to find what broke and rebuild it with checkout UI extensions, Shopify Functions and web pixels.
10 min read · Commerce & Automation
AI Engineering
Semantic Caching for LLMs: When It Cuts Costs and When It Lies
Prompt caching discounts repeated prefixes; semantic caching skips the call entirely but can serve the wrong answer. Here is how to use each safely.
8 min read · AI Engineering
AI Engineering
Strict Tool Calling for AI Agents: Schemas, Validation and Recovery
Strict schemas constrain the shape, validation enforces the rules, and a bounded recovery loop decides what happens when either fails.
9 min read · AI Engineering
AI Engineering
RAGAS Evaluation: Measuring Faithfulness and Context Precision
Separate retrieval failures from generation failures, using the current RAGAS API, a golden set in CI and reference-free metrics on live traffic.
8 min read · AI Engineering
AI Engineering
Hybrid Search for RAG: Semantic Chunking, BM25 and Vector Fusion
Why dense and keyword retrievers fail in opposite directions, how to chunk so either can find the right passage, and how to fuse the results.
9 min read · AI Engineering
React & Next.js
Next.js Multi-Zones: Micro-Frontends in an Enterprise Monorepo
Path-based micro-frontends with Next.js: when the split pays off, how to wire it in a monorepo, and the cross-cutting problems the docs skip.
8 min read · React & Next.js
React & Next.js
Next.js Middleware and Proxy JWT Auth: Fast Checks, Real Security
Fast token checks in proxy for redirects, and real authorisation next to your data. Updated for the Next.js 16 proxy rename and CVE-2025-29927.
9 min read · React & Next.js
React & Next.js
Zod and Discriminated Unions in Next.js: Type-Safe Boundaries
Schema-first contracts for every place data enters a Next.js app, updated for Zod 4 and Next.js 16.
10 min read · React & Next.js