Codebase Exploration Overview 7-phase progressive exploration protocol for analyzing unfamiliar codebases while keeping token usage under 34K. Based on research into SWE-bench top performers, LocAgent, and OpenHands — the key insight is search-first, read-selectively, write-findings-immediately . Core principle: Never read a file to discover what's in it. Use search to locate, then read to confirm. When to Invoke Invoke when: - Analyzing an external or unfamiliar codebase - Onboarding a GitHub repository into the ecosystem - Investigating a codebase to answer a specific question - Performing…