
Your Website Has a New Customer: The AI Agent
AI agents are starting to research, compare and narrow buying choices. Websites need to serve autonomous evaluators before human visitors arrive.
Articles
Development is the broadest category in my writing, so it works as the main archive rather than a narrow subject label. It brings together implementation notes and technical decisions, with delivery lessons from across the rest of the site.

AI agents are starting to research, compare and narrow buying choices. Websites need to serve autonomous evaluators before human visitors arrive.

Diagnose Sass colours that survive compilation but break in Next.js production CSS when minification creates invalid mixed‑unit legacy rgb() values.

Mastering Server Components in Next.js, including client boundaries, data fetching, caching, streaming, and the mistakes that make App Router code messy.

Build a circular queue in TypeScript using a head index and size. Trace wraparound, distinguish full from empty, and test sequences against an array.

AI search creates visibility that is not just a ranking, click or citation. Sites need to be retrievable, quotable, attributable, and comparable by machines.

ETag and Last-ModifiedETag and Last-Modified drive conditional HTTP requests and 304 responses. See how precedence, weak validators, CDNs, and cache policy affect revalidation.

Solve Kth Smallest Element in a BST with in‑order traversal, showing why the tree's ordering removes the need for a separate sorting step in interviews.

As AI reduces friction in implementation, the value of architecture, review, domain judgement, mentoring, and failure analysis rises rather than falls.

Automation can save labour, but it also creates monitoring, exception handling, vendor, governance, and security costs that many business cases ignore.

Google's old exchange was simple: crawl the web and send traffic back. AI search weakens that bargain by answering more journeys before the click.


Audit third‑party script cost across GTM, consent tools, analytics, experimentation, and personalisation, without breaking measurement or business workflows.

Cloudflare Pay Per Crawl, AWS WAF AI Traffic Monetization and AI crawlers show crawler access becoming commercial infrastructure, not just bot control.

A practical Gatsby to Next.js migration checklist covering routes, data, rendering, plugins, images, redirects, preview, sitemaps, and SEO validation.

Debug stale Next.js App Router pages with cache tags, revalidation paths, CMS webhooks, preview freshness, dependency graphs, and simpler cache contracts.

Contentful to Sanity migration risks for Next.js sites, including models, references, rich text, preview, metadata, redirects, and launch checks.

How to decide whether moving from Contentful to Sanity makes sense for a Next.js website, including workflow, modelling, preview, and migration risk.

Solve Number of Provinces with union‑find in TypeScript, comparing DFS, connected components, path compression, union by rank, and matrix scanning.