
What the Claude Code Leak Revealed: Anatomy of an AI Agent
The March 31, 2026 npm sourcemap incident revealed Claude Code internals. 4-phase execution, 7 modes, and the 11-step Agent Loop analyzed.

The March 31, 2026 npm sourcemap incident revealed Claude Code internals. 4-phase execution, 7 modes, and the 11-step Agent Loop analyzed.

Starting from while true + cat task.md, building up through stop hooks, file-based state persistence, and cross-model worker-reviewer separation. Three practical examples — coding migration, prompt refinement, and test coverage expansion — plus analysis of the open-source ecosystem and Korea's Ralphathon.
The March 31, 2026 npm sourcemap incident revealed Claude Code internals. 4-phase execution, 7 modes, and the 11-step Agent Loop analyzed.
Starting from while true + cat task.md, building up through stop hooks, file-based state persistence, and cross-model worker-reviewer separation. Three practical examples — coding migration, prompt refinement, and test coverage expansion — plus analysis of the open-source ecosystem and Korea's Ralphathon.