← All tags

#software-engineering

5,400 Malicious npm Packages and the 26% Silent-Failure Problem: AI's Two Supply-Chain Crises

Security researchers published an analysis of 5,400 compromised npm packages showing how AI coding assistants pull supply-chain malware into production — and separate research found agents silently fabricate confident answers 26% of the time when tools malfunction. Two failures, one discipline.

Claude Ship: What Actually Breaks When an Agent Gets the Merge Button

Anthropic introduced Claude Ship — PR Steward to fix failing CI checks and merge conflicts, and Claude Approvals to auto-merge PRs based on natural-language repo policies. The interesting engineering question is not 'can it' but 'what must be true before an agent is allowed to merge'.

Agent-Native Repos and the Diff You Actually Ship

Senior-only AI-native engineering memos, dev-then-cherry-pick deploy habits, and why software engineering in 2026 is mostly guarding blast radius.

16 November: Shaders on a Portfolio, Orb Math, and the Serving Row

What I actually did on Sunday: Fibi-style orb shaders on static Astro, mobile nav geometry, and why the same week mattered for embodied inference posts.

Security Vulnerabilities in AI-Generated Code: What Goes Wrong and How to Catch It

Common flaws coding assistants introduce, plus a review checklist and tooling setup.

Prompt Injection in RAG Systems: Closing the Trust Gap

How retrieved documents become instructions, and defenses for production RAG.

Securing Coding Agents Before They Ship Your Next Diff

Threat model and guardrails for agents that read repos and run tools.

The LLM Supply Chain Is Bigger Than Your requirements.txt

Weights, adapters, plugins, and tool servers as first-class dependencies.

Next.js 15 in Production: The Migration Problems Tutorials Skip

The breaking changes, rendering surprises and dependency fights from moving a real App Router project to Next.js 15 and React 19: async request APIs, the caching defaults that flipped, hydration errors, peer dependency hell and how to roll it out safely.

Conflict Sentinels: Catching Clashes Between Merge Requests Before Main Does

Two merge requests can each pass CI and still break main when they land together. How to build a sentinel that test-merges open branches, finds semantic conflicts between them, and warns the authors before either one merges.

Keeping Search Alive on a Legacy Platform With No Budget

Search tutorials assume a clean slate. This is what you actually do when you inherit a messy Elasticsearch setup inside a big marketplace: find out what it is, stop the bleeding, reindex without downtime and fix relevance with query logs.

The Dark Art of Context Truncation & Dynamic Prompt Compaction in Production RAG

Truncation, packing, and query-conditioned compaction when production RAG outgrows the context window.

Cracking ML System Design Interviews: My Framework

A structured approach to ML system design questions, drawn from my experience interviewing at top tech companies and reaching LeetCode rank 234.

Hyper-Specific Infrastructure Bottlenecks

Why average capacity metrics miss the links that actually fail, and how to find strong vs weak bottlenecks.

2021: The Year Language Models Became Unreliable APIs

Copilot, Codex and the open GPT-3 API forced new architecture: determinism layers, regex and Pydantic parsing, AST checks, and pass@k instead of exact-match unit tests.

Zillow Offers: An Algorithmic Cascading Failure, Read as an ML Post-Mortem

Covariate shift, concept drift, delayed labels and a feedback loop between offers and comps: Zillow's iBuyer collapse as a production ML failure, and the hard guardrails it lacked.

Positions Are Ids, Not Integers

Why insert-at-index loses the other person's sentence, and the merge rules plus Yjs setup that stopped doing it.

GPT-3 in Production: Latency, Prompts, and a Score You Can Trust

What broke when the GPT-3 API sat behind a real request: a prompt nobody versioned, multi-second latency, and no score better than a spreadsheet.

GitHub Actions Does Not Know What a Model Is

MLflow had the metric, DVC had the file, Actions ran the tests, and production still loaded the wrong pickle.

The TURN Box Filled Up Before the SFU Did

Home routers pushed every call onto the relay. The media server was idle, the TURN NIC was not, and keyframe requests made the loss worse.

A Call System Shaped Like a Room, Not a Mesh

Signaling, a selective forwarding unit, and TURN as three processes, tested with one phone on a hotspot.