Claude Code is a vibe-coded mess. Some of it is actually good.

Some ideas worth stealing from the leaked Claude Code source: deferred tool loading, diminishing returns detection, cache-aware context compaction, and coalesced background extraction.