
Welcome back. Anthropic just accidentally exposed Claude Code's source code. What was meant to be a routine update triggered an unexpected leak, and developers are already pulling apart what they found. It doesn’t get any bigger than this.
Also: How a veteran engineer reviews AI-generated code, an OpenAI engineer's guide to mapping the real agent stack, and Jack Dorsey's plan to cut middle management.
Today’s Insights
Powerful new updates and hacks for devs
Inference engineering: the next big thing
How to make Claude Code grill you before building
Trending social posts, top repos, and more

TODAY IN PROGRAMMING

Made with Midjourney.
Anthropic exposes Claude Code’s source code by accident: The AI lab accidentally leaked portions of its coding tool's internal source code by including a map file in its latest npm release. They confirmed that no customer data or credentials were compromised, describing the incident as a developer error rather than a security breach. Claude Code creator Boris Cherny attributed the leak to a manual deployment error and confirmed that the team is now automating the process to prevent future slip-ups.
Developer rewrites leaked Claude Code from scratch overnight: Following Anthropic's accidental source code leak, the lab rushed to issue DMCA takedowns across GitHub. That's when Korean developer Sigrid Jin stepped in. Waking up at 4 AM, Jin rewrote the entire codebase in Python before sunrise and launched it as claw-code, making it the fastest repo ever to cross 50K stars. Since it's a clean-room rewrite, it remains protected from Anthropic's legal reach.
Google drops its most affordable AI video model yet: The search giant just released Veo 3.1 Lite, a new video generation model available through the Gemini API and Google AI Studio. It matches the speed of Veo 3.1 Fast but costs less than half as much. The model handles both text-to-video and image-to-video prompts and features native audio, synced sound effects, and dialogue in either landscape or portrait at up to 1080p.

PRESENTED BY AGENTFIELD
You run one Claude/Open Code instance at a time. These Open-Source repos coordinate 175 at once.
AgentField is open-source harness orchestration. One .harness() call spins up hundreds of Claude Code, Codex, or Gemini instances, they discover each other, split work, and converge on a verified result.
175+ Harness SWE team
250+ deep agentic security scanner
50+ adversarial deep code reviewers
Or build your own
We wrote up how it actually works, the failures, the fixes, the real costs.

INSIGHT
Why inference engineering is becoming the next big discipline in engineering

Source: X/philipkiely
Open models closed the gap. When Cursor shipped Composer 2 last week, developers discovered it ran on Kimi K2.5, an open model from Beijing-based Moonshot AI. Cursor layered its own training on top and matched Claude Opus 4.6 on coding benchmarks at roughly one-tenth the token cost. That performance edge comes from inference engineering, the practice of optimizing how models actually run in production.
A new field. Three years ago, this field barely existed. Now, open models match proprietary ones within weeks. Philip Kiely, a developer advocate at Baseten, just published a book on the craft. Companies running their own stacks are seeing 80% cost savings while boosting uptime from 99% to 99.99%.
Most teams aren't ready for it. Owning your stack means managing GPU clusters, tuning quantization, and building efficient autoscaling. That requires a kind of engineer most companies haven't hired, because the role didn't exist at scale until recently.
The talent pool is catching up. Open models keep improving every few weeks, which means more companies are hitting the scale where self-hosting makes sense. And if you're spending six figures a month on closed model APIs but still struggling with reliability, inference engineering is worth evaluating.

IN THE KNOW
What’s trending on socials and headlines

Meme of the day.
Under The Hood: A developer went through Claude Code's entire source code. Turns out most people are only using about 10% of it (1.1M views).
No More Managers: Twitter founder Jack Dorsey just shared Block's plan to replace middle management entirely with AI (2.2M views).
Dev Toolkit: Most developers waste time on problems these 10 underrated websites already solve.
Code Patrol: A senior engineer with 20+ years of experience breaks down his 4-layer system for reviewing AI-generated code.
Build Here: Sequoia revealed a map of every service industry ripe for AI agent takeover, totaling over $1T in opportunity.
Stack Map: Everyone calls everything an "agent," but the systems behind that word are wildly different. An OpenAI engineer mapped the actual stack.
Crypto Warning: Google published a paper showing blockchain encryption is far more vulnerable to quantum computers than anyone thought.

AI CODING HACK
How to make Claude Code grill you before building
By default, Claude Code jumps straight into building. You describe a feature, it drafts a plan, and 20 minutes later, you're stuck with code that misses half your requirements. Ex-Vercel engineer Matt Pocock shared a three-line Claude Code skill called /grill-me that solves this. Install it with one command:
npx skills@latest add mattpocock/skills/grill-meOr create the file yourself at .claude/skills/grill-me/SKILL.md:
Interview me relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree resolving dependencies between decisions one by one.
If a question can be answered by exploring the codebase, explore the codebase instead.
For each question, provide your recommended answer.Run /grill-me before you dive into a new feature. Claude Code will walk you through it one question at a time, suggesting answers where things are obvious and drilling down into the tough calls until your entire plan is airtight.

TOP & TRENDING RESOURCES
Top Tutorial
How to fine-tune an LLM for structured data extraction: You'll learn how to fine-tune a small language model (Gemma 3) locally using Hugging Face. This end-to-end tutorial teaches how to format custom datasets, train a model to extract structured data, and deploy the final result as a live, interactive web demo.
Top Repo
JSON parser: This Go library lets you cut through messy JSON payloads in microseconds. It helps devs ship faster by turning dynamic APIs into simple byte-level lookups, making heavy optimization feel like a quick win.
Trending Paper
Meta-Harness: AI performance depends heavily on its surrounding code, or "harness," which is usually built manually because existing automated tools fall short. By letting an AI agent analyze past code and logs, researchers automatically generated harnesses that beat human-designed ones.
Grow customers & revenue: Join companies like Google, IBM, and Datadog. Showcase your product to our 200K+ engineers and 100K+ followers on socials. Get in touch.
What did you think of today's newsletter?
You can also reply directly to this email if you have suggestions, feedback, or questions.
Until next time — The Code team


