Back to Vault
Claude Code Internals
Tier 1

claude-code-sourcemap (leeyeel)

View on GitHub Fetched 2026-07-02 2 related flows

Summary

An independent, earlier source-map extraction of Claude Code (v0.2.8 research preview) capturing the agent's terminal-native design: codebase understanding, file edits, git workflows through natural language. Useful as a second witness when the SatoMini map is ambiguous, and for seeing how early the core loop stabilized.

Key Takeaways

  • Second independent witness for cross-checking module claims
  • Shows the core loop design was stable from very early versions
  • Covers the v0.2.x era - useful for evolution comparisons

Reliability Note

Independent reverse-engineering effort - where analyses disagree, this catalog prefers claims confirmed by multiple sources.

Flows informed by this source

2
Flows category icon
Agent Architecture

Design a Single-Loop Agent

Build the core agent loop the leading coding agents use: one model, one loop, tools in, results folded back into context.

01Define the loop contract
02Build the tool registry
03Implement the loop with result folding

+2 more steps to Done

Best forproduction-grade builds with strict verification

5 steps90-150 minutesAdvanced
Flows category icon
Harness Engineering

Version Your Harness and Track Behavior

Treat prompts, tools, and loop logic as versioned, changelogged artifacts - so behavior changes are decisions, not surprises.

01Extract behavior into versioned artifacts
02Start the behavior changelog
03Build the smoke eval and behavioral diffing

+1 more steps to Done

Best foryour first pass at this - no prior setup assumed

4 steps45-75 minutesBeginner

Made with Emergent