Retrieval shouldn't just return code.
It should answer:
Why this file?
Why this symbol?
What relationship made it relevant?
Context without evidence is harder to trust.
#ContextEngineering #RepoIntelligence #SigMap
Retrieval shouldn't just return code.
It should answer:
Why this file?
Why this symbol?
What relationship made it relevant?
Context without evidence is harder to trust.
#ContextEngineering #RepoIntelligence #SigMap
Stale context can be worse than missing context.
Missing context causes exploration.
Stale context creates confidence in the wrong map.
Repository intelligence must evolve when the code evolves.
#ContextEngineering #RepoIntelligence #SigMap
Stale context can be worse than missing context.
Missing context causes exploration.
Stale context creates confidence in the wrong map.
Repository intelligence must evolve when the code evolves.
#ContextEngineering #RepoIntelligence #SigMap
Don't start by loading implementation.
Start with structure:
What exists?
Where?
Who calls it?
What does it call?
Then open implementation only where needed.
Structure first.
Details on demand.
#ContextEngineering #RepoIntelligence #SigMap
Don't start by loading implementation.
Start with structure:
What exists?
Where?
Who calls it?
What does it call?
Then open implementation only where needed.
Structure first.
Details on demand.
#ContextEngineering #RepoIntelligence #SigMap
Search asks:
"Where does "auth" appear?"
Retrieval asks:
"Which code actually implements the auth flow?"
One returns matches.
The other returns context.
That's a huge difference for coding agents.
#ContextEngineering #RepoIntelligence #SigMap
Search asks:
"Where does "auth" appear?"
Retrieval asks:
"Which code actually implements the auth flow?"
One returns matches.
The other returns context.
That's a huge difference for coding agents.
#ContextEngineering #RepoIntelligence #SigMap
One surprising finding:
Repository organization often mattered more than repository size.
A well-structured large repo can be easier to navigate than a small, chaotic one.
#SigMapUnderTheHood #RepoIntelligence #SigMap
One surprising finding:
Repository organization often mattered more than repository size.
A well-structured large repo can be easier to navigate than a small, chaotic one.
#SigMapUnderTheHood #RepoIntelligence #SigMap
Why relationships?
Code isn't just files.
It's imports.
Calls.
References.
Dependencies.
Understanding relationships is often more valuable than reading another file.
#SigMapUnderTheHood #RepoIntelligence #SigMap
Why relationships?
Code isn't just files.
It's imports.
Calls.
References.
Dependencies.
Understanding relationships is often more valuable than reading another file.
#SigMapUnderTheHood #RepoIntelligence #SigMap
Why repository maps instead of full code?
Most tasks only need a tiny fraction of a repository.
Sending everything increases cost and noise.
Navigation starts with structure, not size.
#SigMapUnderTheHood #RepoIntelligence #SigMap
Why repository maps instead of full code?
Most tasks only need a tiny fraction of a repository.
Sending everything increases cost and noise.
Navigation starts with structure, not size.
#SigMapUnderTheHood #RepoIntelligence #SigMap
Generated code should be obvious.
If agents can't distinguish generated files from handwritten code, navigation becomes harder and edits become riskier.
#AIFriendlyRepos #RepoIntelligence #SigMap
Generated code should be obvious.
If agents can't distinguish generated files from handwritten code, navigation becomes harder and edits become riskier.
#AIFriendlyRepos #RepoIntelligence #SigMap
Good folder names reduce questions.
Bad folder names create exploration.
Every extra search is another chance for an agent to build the wrong mental model.
#AIFriendlyRepos #RepoIntelligence #SigMap
Good folder names reduce questions.
Bad folder names create exploration.
Every extra search is another chance for an agent to build the wrong mental model.
#AIFriendlyRepos #RepoIntelligence #SigMap
Repositories aren't collections of files.
They're networks of relationships.
The better an agent understands those relationships, the better its decisions become.
#CodeRelationships #RepoIntelligence #SigMap
Repositories aren't collections of files.
They're networks of relationships.
The better an agent understands those relationships, the better its decisions become.
#CodeRelationships #RepoIntelligence #SigMap
Two files can look unrelated.
A shared dependency can connect them in unexpected ways.
Repository intelligence is about discovering those hidden links.
#CodeRelationships #RepoIntelligence #SigMap
Two files can look unrelated.
A shared dependency can connect them in unexpected ways.
Repository intelligence is about discovering those hidden links.
#CodeRelationships #RepoIntelligence #SigMap
Search finds symbols.
Relationships explain behavior.
That's the difference between locating code and understanding it.
#CodeRelationships #RepoIntelligence #SigMap
Search finds symbols.
Relationships explain behavior.
That's the difference between locating code and understanding it.
#CodeRelationships #RepoIntelligence #SigMap
The safest change isn't always the smallest.
It's the one with the best-understood dependencies.
#BlastRadius #RepoIntelligence #SigMap
The safest change isn't always the smallest.
It's the one with the best-understood dependencies.
#BlastRadius #RepoIntelligence #SigMap
Finding a function isn't enough.
The agent still has to answer:
"Can I safely change this?"
Understanding boundaries is part of navigation.
#RepoIntelligence #SigMap
Finding a function isn't enough.
The agent still has to answer:
"Can I safely change this?"
Understanding boundaries is part of navigation.
#RepoIntelligence #SigMap
Agents don't read repositories.
They sample them.
The quality of those samples determines the quality of the solution.
#RepoIntelligence #ContextEngineering #SigMap
Agents don't read repositories.
They sample them.
The quality of those samples determines the quality of the solution.
#RepoIntelligence #ContextEngineering #SigMap
Agents don't usually fail because they can't write code.
They fail because they misunderstand the repository.
Understanding comes before implementation.
#AIAgents #RepoIntelligence #SigMap
Agents don't usually fail because they can't write code.
They fail because they misunderstand the repository.
Understanding comes before implementation.
#AIAgents #RepoIntelligence #SigMap
Repository:
VS Code
Question:
"How is a command registered?"
The answer spans multiple files.
Tracing references is much faster than reading directories one by one.
#RealWorldSigMap #VSCode #RepoIntelligence
Repository:
VS Code
Question:
"How is a command registered?"
The answer spans multiple files.
Tracing references is much faster than reading directories one by one.
#RealWorldSigMap #VSCode #RepoIntelligence
Most repositories contain thousands of files.
Most coding tasks touch a handful.
Retrieval is often an exercise in finding the smallest useful context.
#TokenEconomics #RepoIntelligence #SigMap
Most repositories contain thousands of files.
Most coding tasks touch a handful.
Retrieval is often an exercise in finding the smallest useful context.
#TokenEconomics #RepoIntelligence #SigMap
A common misconception:
Token reduction means less context.
Not necessarily.
Sometimes it means replacing 10 files with a repository map that contains the same signal.
#TokenEconomics #RepoIntelligence #SigMap
A common misconception:
Token reduction means less context.
Not necessarily.
Sometimes it means replacing 10 files with a repository map that contains the same signal.
#TokenEconomics #RepoIntelligence #SigMap
Git hooks can make the map react to actual change instead of time.
post-checkout, post-commit, and diff-scoped updates are much closer to how agents need context to behave:
fresh, local, and proportional to the change.
#RepoIntelligence #SigMap
Git hooks can make the map react to actual change instead of time.
post-checkout, post-commit, and diff-scoped updates are much closer to how agents need context to behave:
fresh, local, and proportional to the change.
#RepoIntelligence #SigMap
The best repository maps don't just show code.
They show relationships.
Navigation becomes easier when agents understand connections before opening files.
#AgentNavigation #RepoIntelligence #AIAgents
The best repository maps don't just show code.
They show relationships.
Navigation becomes easier when agents understand connections before opening files.
#AgentNavigation #RepoIntelligence #AIAgents
A repository isn't a collection of files.
It's a network.
The fastest route to a fix is rarely found by reading files one by one.
#AgentNavigation #RepoIntelligence #SigMap
A repository isn't a collection of files.
It's a network.
The fastest route to a fix is rarely found by reading files one by one.
#AgentNavigation #RepoIntelligence #SigMap
Imagine entering a city without a map.
You can still reach your destination.
You'll just waste time taking wrong turns.
Repository navigation works the same way.
#AgentNavigation #AIAgents #RepoIntelligence
Imagine entering a city without a map.
You can still reach your destination.
You'll just waste time taking wrong turns.
Repository navigation works the same way.
#AgentNavigation #AIAgents #RepoIntelligence
Level 1: Where is the code?
Level 2: How is it connected?
Level 3: Who owns it?
Level 4: Is it safe to change?
Most tools stop at Level 1.
The interesting work starts at Levels 2–4.
#RepoIntelligence #AIAgents #SigMap
Level 1: Where is the code?
Level 2: How is it connected?
Level 3: Who owns it?
Level 4: Is it safe to change?
Most tools stop at Level 1.
The interesting work starts at Levels 2–4.
#RepoIntelligence #AIAgents #SigMap
Repository intelligence is the layer between:
Raw code
and
Useful context.
Without it, agents search.
With it, agents navigate.
#RepoIntelligence #AIAgents #SigMap
Repository intelligence is the layer between:
Raw code
and
Useful context.
Without it, agents search.
With it, agents navigate.
#RepoIntelligence #AIAgents #SigMap