/ writing
The Blog
Notes on AI-native engineering, working close to users, and shipping systems that last.
- Posts
- 42
- Topics
- 24
- Updated
42 posts · 132 min of reading
2026
7 min
Code Is Cheap Now. Guardrails Are the Bare Minimum
An agent writes a feature in minutes. Whether it still works next week depends on what checks it the moment it changes. What I treat as non-negotiable now, on the backend, on the web, and on mobile.
testingaiworkflow5 min
Why T3 Code Replaced the Terminal as My Daily Agent Setup
Same agents, same subscriptions, one interface. Threads with their own worktrees, review before commit, approvals from my phone, and a second model one click away. What changed in my day, and what it still doesn't solve.
aiworkflowtooling3 min
Steering My Coding Agents From My Phone With T3 Code
The agents run on my laptop. I answer their questions, skim diffs, and open pull requests from my phone. How the remote setup works, what's worth doing on a small screen, and what isn't.
toolingworkflow6 min
Drizzle, Two Years Later: Now the Default in Every Backend I Start
Drizzle is close to 1.0 and Prisma dropped Rust, so speed isn't the argument anymore. The reason I still start every Node backend with Drizzle is simpler. It's SQL, with types.
databasebackend2 min
A Code Review Checklist I Actually Use
A short, practical list for reviewing pull requests without nitpicking or rubber-stamping.
workflowteams3 min
Evals Are the Tests for the AI Features You Ship
You can't assert exact output from a model, but you can assert a lot. How we test an AI feature with a golden set, cheap code checks, a rubric-graded judge, and a CI run on every prompt change.
aitesting3 min
AI-Native Engineering: What I Delegate and What I Don't
Using AI for boilerplate and speed while keeping architecture and design decisions human.
aiworkflow4 min
Bun Moved From Zig to Rust, and My Lockfile Didn't Notice
Half a million lines ported in days, a stable 1.4 release, and a loud argument about it. What actually changed for people who just use Bun, and the lesson worth keeping.
toolingruntime2 min
Clean Architecture in Go, Without the Ceremony
Layers and boundaries that pay off in real services, and the parts you can skip.
goarchitecture2 min
TypeScript 7 Went Native, in Go, Not Rust
The fastest-feeling upgrade of the year is a compiler port that ignored the Rust wave. What changed when I switched, what didn't, and the tools that have to wait for 7.1.
typescripttooling3 min
Running Coding Agents in Parallel Without Them Colliding
One agent per task, one git worktree per agent, and subagents for research that would flood the main context. The setup that lets me run three tasks at once, and the tasks I never split.
aiworkflow2 min
One Mindset, Two Platforms: Flutter and Next.js
Sharing patterns, state, and API contracts between a mobile app and a web app.
flutternextjs3 min
I Moved One Hot Function From Node to Rust With napi-rs
A CSV import that blocked the event loop for seconds. How I moved the parsing to a Rust addon, what it cost in build complexity, and the JavaScript fix I should have tried first.
rustbackendperformance3 min
Oxlint and Oxfmt Next to Biome, and Which One I Kept
Oxfmt hit beta in February and Oxlint keeps growing. Both are Rust, both are fast. A side-by-side on a real project, and why I kept Biome on most repos but not all of them.
rusttooling3 min
Six Months of Turbopack as the Default Bundler
Next.js 16 switched both dev and build to Turbopack. What got faster, the webpack config I had to translate, and the one escape hatch worth knowing before you need it.
rustnextjstooling3 min
Vite 8 and Rolldown: One Bundler for Dev and Build
Vite used esbuild in development and Rollup for production, and they didn't always agree. Vite 8 replaces both with Rolldown. What I changed to upgrade, and the plugin I had to drop.
rusttoolingvite3 min
Working From Jakarta for a Team in Sydney
Three or four hours apart sounds easy. It mostly is, if you treat the overlap as precious and write down everything else.
remoteteams3 min
Agent Skills: Teach the Agent a Procedure Once
A skill is a folder with a SKILL.md that the agent loads only when the task needs it. Since December it's an open standard. How I write them, the three I use most, and when a skill is the wrong tool.
aiworkflow3 min
My AI Workflow Stack Going Into 2026
One agent in the terminal, a project instructions file, a handful of MCP servers, hooks that format after every edit, and a review step that never moves. What each layer does and why it's there.
aiworkflow3 min
Why Every JS Tool I Use Is Being Rewritten in Rust
Bundler, linter, formatter, CSS engine, even the Python tools next door. A map of where my stack went native over the last year, why it happened, and the one big exception.
rusttooling
2025
3 min
React2Shell: Patching a Server Components RCE in a Week of Follow-Ups
A maximum-severity bug in how React Server Components decode requests meant one crafted request could run code on the server. The patch was quick. Then came the second patch, and the third.
reactsecurity3 min
Next.js 16 Cache Components: Caching You Opt Into, One Function at a Time
Next.js 15 stopped caching by default. Next.js 16 gave the opt-in a real shape, `use cache` on the functions and components that deserve it, and Suspense around everything else.
nextjsreact3 min
React Compiler 1.0 and the useMemo I Got to Delete
The compiler memoizes for you at build time. What to remove, what to keep, and the rule it quietly enforces.
reactfrontend3 min
Postgres 18: uuidv7() and the IDs I Stopped Generating in the App
Postgres 18 ships a built-in uuidv7(), asynchronous I/O, and virtual generated columns. Why time-ordered UUIDs fix the index bloat random ones cause, and the two lines I changed.
databasebackend3 min
The Week chalk Got Compromised, and the Cooldown I Added
In September, malicious versions of chalk, debug, and more than a dozen other packages went out to npm. They were pulled within hours. That window is the whole argument for not installing anything brand new.
securitytooling2 min
Running TypeScript in Node Without a Build Step
Node 22.18 strips types by default now, so `node script.ts` just works. What I moved over, what still needs a compiler, and the one tsconfig flag that keeps it honest.
typescripttoolingbackend3 min
Biome 2 and the End of My ESLint + Prettier Setup
One tool, one config, and lint rules that understand types without running the TypeScript compiler. Why I switched, and the rule I set for myself.
toolingworkflow3 min
Server State Is Not App State
What changed once I stopped putting API data in a global store and let TanStack Query own it. Keys, invalidation, and the two settings that matter most.
reactfrontend3 min
The AI Can Run the Tests Now, and That Changes the Job
Agents in the terminal read the repo, run the type checker, and fix their own mistakes. MCP lets them read the tools I use. What I hand them, the guardrails I set, and what I still never delegate.
aiworkflow3 min
Zod 4: Same Schemas, Faster Types, and a Mini Build
Zod sits at every boundary in my apps, from env vars to API bodies to form input. Version 4 kept the API I know and fixed the two things I'd started to work around, editor speed and bundle size.
typescripttooling3 min
Middleware Is Not Your Auth Layer
In March, one request header was enough to skip Next.js middleware entirely. The patch took minutes. The lesson took longer, because the real bug was where I had put the check.
nextjssecurity3 min
Organize by Feature, Not by File Type
A components folder with 140 files tells you nothing. Grouping code by feature made our frontend easier to navigate, safer to delete from, and easier to hand to an AI agent.
architecturefrontend3 min
Tailwind v4: The Migration Notes I Wish I'd Had
The config file is gone, a few class names quietly changed meaning, and one theme setting will confuse you. Here's the short list.
csstailwind3 min
React 19 Actions Replaced My Form Boilerplate
Pending flags, error state, optimistic rows, and a reset after submit. I used to write all of it by hand for every form. React 19 turned most of it into three hooks and a function passed to the form.
reactfrontend
2024
3 min
Why I Reached for Drizzle Instead of Prisma
No code generation step, no query engine binary, and queries that read like the SQL they run. What Drizzle gets right in 2024, and where Prisma still wins.
databasebackend3 min
Next.js 15 Stopped Caching by Default, and That's the Fix
The App Router used to cache too eagerly. Next.js 15 flips the defaults, and dashboards finally show what's actually in the database.
nextjsfrontend3 min
Svelte 5 Runes, From Someone Who Shipped Svelte 4
Runes look like more typing. After a real project in Svelte 4, they read like the fix for every reactivity bug I had.
sveltefrontend3 min
Multi-Role Dashboards Without the Permission Spaghetti
Admin, partner, staff, finance. One dashboard, many roles, and the pattern that kept role checks out of every component.
frontendarchitecture3 min
AI Stopped Being Autocomplete for Me This Summer
Claude 3.5 Sonnet was the first model I could hand a whole component and a messy requirement. What changed in how I work, and the review habit I kept from the autocomplete days.
aiworkflow3 min
WhatsApp OTP Login, and What I'd Add the Second Time
In Indonesia, people check WhatsApp before email. Here's how an OTP login works, and the guardrails that are easy to skip on a first build.
authbackend3 min
Start With a Modular Monolith, Not Microservices
One deployable, hard walls inside it. How we split a reseller backend into modules that can't reach into each other, and why that beats splitting it into services on day one.
architecturebackend4 min
You Probably Don't Need Redis for Your First Job Queue
One Postgres table, one query with FOR UPDATE SKIP LOCKED, and a worker loop. How I queued WhatsApp messages without adding another server, and when I'd stop.
databasebackend