Internals Decoded
New · How Claude Code Front-Loads Context Without Blowing Tokens

How things actually work.

Internals Decoded explains how developer tools work under the hood — Docker, Git, Kubernetes, VS Code, npm, and more — for engineers who want the real mechanics, not the marketing.

Browse articlesGet the newsletter
Featured
deep dive

How Claude Code Front-Loads Context Without Blowing Tokens

Claude Code front-loads thousands of tokens, yet sessions stay cheap. Learn how it budgets, caches, and compacts context to keep usage low.

claude-codecontext-window
11 min read
claude-code
context-window
token-economy
ai-coding
infrastructure
All articles

10 deep dives

How Claude Code Front-Loads Context Without Blowing Tokens
Claude Code front-loads thousands of tokens, yet sessions stay cheap. Learn how it budgets, caches, and compacts context to keep usage low.
claude-code11 min
Why `docker build` Rebuilds Layers You Never Touched
Understand Docker's build cache as a hash chain—why a single unchanged file can cascade into a full rebuild, and how to avoid wasting CI minutes.
docker12 min
How the VS Code Run Button Works in Dev Containers
Your code doesn't run on your machine. Learn how VS Code tunnels the Debug Adapter Protocol into dev containers to launch and debug processes remotely.
devcontainers12 min
How Vite HMR Delivers Updates Before Browser Knows
Learn how Vite's dev server detects file changes, walks the module graph, and pushes updates via WebSocket before the browser even notices.
vite10 min
How Kubernetes Scheduler Scores Nodes Under Pod Burst
Learn the exact scoring algorithm kube-scheduler uses when 1000 Pods land at once, why it's not just 'most free CPU', and how percentageOfNodesToScore shapes placement.
kubernetes9 min
How SSH Tunnels Actually Multiplex Your Ports
SSH tunnels don't create separate pipes: they multiplex many streams over one TCP socket via channels. Learn how the SSH connection protocol makes this work.
ssh16 min
How npm Resolves ^1.2.3 Into a Tarball URL
From semver range to exact tarball: see how npm's resolver pipeline (Arborist, Pacote, pick-manifest) picks the winning version and integrity hash.
npm10 min
How Git Stores Commits So Rebase Never Loses Anything
Understand how Git's content-addressable object store and reflogs ensure rebase never truly discards commits, even when history appears rewritten.
git9 min
How RAG Systems Work
A technical walkthrough of the retrieval augmented generation architecture, from document ingestion and chunking to vector search and prompt assembly.
RAG12 min
how-the-postgresql-query-planner-chooses-between-an-index-sc
11 min

The internals, in your inbox.

One article per week. No noise.

Join engineers building with AI