Intellectually Curious
Intellectually Curious is a podcast by Mike Breault featuring over 1,800 AI-powered explorations across science, mathematics, philosophy, and personal growth. Each short-form episode is generated, refined, and published with the help of large language models—turning curiosity into an ongoing audio encyclopedia. Designed for anyone who loves learning, it offers quick dives into everything from combinatorics and cryptography to systems thinking and psychology.
Inspiration for this podcast:
"Muad'Dib learned rapidly because his first training was in how to learn. And the first lesson of all was the basic trust that he could learn. It's shocking to find how many people do not believe they can learn, and how many more believe learning to be difficult. Muad'Dib knew that every experience carries its lesson."
― Frank Herbert, Dune
Note: These podcasts were made with NotebookLM. AI can make mistakes. Please double-check any critical information.
Intellectually Curious
Scaling Claude Code: Best Practices for Large Codebases
Use Left/Right to seek, Home/End to jump to start or end. Hold shift to jump forward or backward.
We examine Claude’s agentic search that traverses live codebases in real time, using grep and LSP, anchored by a harness of per-directory rules and plugins. We contrast this with traditional RAG, explore memory-efficient 'skills' via progressive disclosure, and discuss the human governance needed to keep AI aligned as models evolve. We also pose a provocative question: will future codebases be designed for AI readability as much as human readability?
Note: This podcast was AI-generated, and sometimes AI can make mistakes. Please double-check any critical information.
Sponsored by Embersilk LLC
So on my first day, my very first engineering job, um, I was just dropped headfirst into this million-line legacy code base.
SPEAKER_00Aaron Ross Powell Oh man, that is rough.
SPEAKER_01Yeah. I spent like three hours just trying to find where a single variable was defined.
SPEAKER_00Aaron Powell It is terrifying when you realize the map you were given doesn't match the actual terrain you were standing on.
SPEAKER_01Exactly. I felt like I needed a pirate's treasure map and I don't know, a machete just to navigate the folder structure.
SPEAKER_00Aaron Powell That is basically a rite of passage at this point.
SPEAKER_01Right. Well, today we are looking at how we're solving that problem at scale, not just for human developers, but actually for AI.
SPEAKER_00Aaron Powell, which is such a massive shift in how we work.
SPEAKER_01It really is. But before we get into all that, if you need help with AI training, automation, software development, or uh uncovering where AI agents can actually make an impact for your business, check out Embersilk.com. Embersilk has you covered.
SPEAKER_00So our mission for this deep dive is to figure out how AI doesn't get lost in those million-line jungles.
SPEAKER_01Yeah, we've pulled from technical documentation and engineering blogs about Claude Code to see how it navigates these massive enterprise environments.
SPEAKER_00So how does an AI look at a sprawling code base differently than, say, older tools?
SPEAKER_01Well, older tools mostly rely on something called RAG, you know, retrieval augmented generation.
SPEAKER_00Aaron Powell Right, where they bake your entire code base into a centralized index.
SPEAKER_01Aaron Ross Powell Exactly. But the problem is, at an enterprise scale with hundreds of developers pushing updates constantly.
SPEAKER_00That index is just instantly out of date.
SPEAKER_01Oh, totally. You ask the AI a question and it retrieves a module that somebody deleted like three days ago.
SPEAKER_00Aaron Powell So Array is kind of like trying to navigate a growing city using like a printed map from last year.
SPEAKER_01Aaron Powell That is a great way to put it. But Claude uses what is called agentic search. It doesn't rely on a static index at all.
SPEAKER_00Okay, so how does it work then?
SPEAKER_01It actually operates locally on the live code base, just like a human developer would. It uses tools like grep to rapidly search through your raw text files.
SPEAKER_00Oh, so it's reading them and following references in real time.
SPEAKER_01Right. It's working from the exact reality of the code in that specific second.
SPEAKER_00Aaron Powell Wow, it's like dropping a scout with a live GPS directly into the terrain.
SPEAKER_01Aaron Powell That makes perfect sense. Yeah. But I mean, dropping a scout into the wild only works if they actually know the rules of survival.
SPEAKER_00Aaron Powell Which brings us to what the sources call the harness. The harness. Okay, what is that?
SPEAKER_01Because Claude is exploring live terrain, you have to equip it with the right context. So the harness starts with Heli AEA.md files.
SPEAKER_00And those give directory-specific instructions, right?
SPEAKER_01Exactly. So a cliety.md file in your database folder might say, you know, always use the new v2 connection pool and never v1.
SPEAKER_00Oh, so the AI instantly knows the local conventions.
SPEAKER_01Right. And it avoids a critical mistake. And then uh you add LSP.
SPEAKER_00The language server protocol. Yeah.
SPEAKER_01Which means instead of just matching basic text strings, quad gets symbol level precision. Aaron Powell Okay.
SPEAKER_00Meaning it actually understands the code's logic and structure.
SPEAKER_01Aaron Powell Exactly. It accurately traces how functions connect across entirely different files. And I assume Teams can package all this into plugins, right? So a new engineer on day one gets the exact same setup.
SPEAKER_00Yep. Good workflows don't just stay isolated as you know tribal knowledge anymore.
SPEAKER_01Wait, let me push back here for a second, though. If we load Cloud up with hundreds of clickaue.md files, custom tools, and plugins.
SPEAKER_00Sounds like a lot of data.
SPEAKER_01Yeah. You won't just hit a memory limit? Like how does it not drown in context before it it even writes a single line of code?
SPEAKER_00Aaron Powell Well, that's where skills come in. Skills are these reusable chunks of expertise, um, like a specific security review protocol.
SPEAKER_01Okay, but how does that actually help the memory issue?
SPEAKER_00Aaron Powell They use progressive disclosure. The AI basically doesn't load everything into its working memory all at once.
SPEAKER_01Aaron Powell Oh, I see. It only pulls that security skill into memory when it detects it's actually working on a security-related task.
SPEAKER_00Exactly. So the technical setup is highly efficient. But from our sources, even the best technical harness fails without the right human management behind it.
SPEAKER_01Aaron Powell Right, which is a crucial point for you, the listener, especially if you are managing projects or teams right now.
SPEAKER_00Yeah. Successful deployments now require an agent manager or a directly responsible individual. You really need a human centralizing these conventions.
SPEAKER_01Aaron Powell And they have to audit their AI configurations pretty often, right? Like every three to six months.
SPEAKER_00They do, yeah. Mostly because the AI models are evolving so rapidly.
SPEAKER_01Aaron Powell But why exactly do old rules break new models?
SPEAKER_00Aaron Powell Well, think of it like training wheels. An older, less capable AI model needed strict, you know, step-by-step prompts to avoid making mistakes.
SPEAKER_01Right. That makes total sense.
SPEAKER_00But if you force a newer, highly capable model to follow those same rigid steps, you actually constrain its ability to solve problems creatively.
SPEAKER_01So the old training wheels prevent the new bike from going fast.
SPEAKER_00Exactly. Which means as AI becomes more autonomous, human governance actually becomes more important.
SPEAKER_01We are stepping up into these crucial management roles, really defining the guardrails.
SPEAKER_00Right. Which actually leaves me with a thought for you to mull over.
SPEAKER_01Go for it.
SPEAKER_00If AI tools are increasingly navigating and writing our code like human developers, will future massive code bases be designed primarily for AI readability rather than human readability.
SPEAKER_01Oh wow. That is a fascinating concept to imagine. It is just such an inspiring time to be in tech.
SPEAKER_00It really is.
SPEAKER_01We are looking at a future of profound human AI collaboration where we can tackle massive global engineering challenges together. If you enjoyed this podcast, please subscribe to the show. Hey, leave us a five star review if you can. It really does help get the word out. Thanks for tuning in.