Why is finding distributed behavior code so hard?
When developers need to modify agent harnesses, they struggle to locate all the code implementing a target behavior because behaviors are scattered across files and stages while requests describe what to do, not where to look.
Before a developer or coding agent can change how a harness behaves, they have to find every code location that implements the target behavior. That sounds like ordinary code navigation, but it is uniquely hard for harnesses: production harnesses are large, tightly coupled, and behaviorally distributed — a single behavior is smeared across files, functions, execution stages, and state transitions. Meanwhile modification requests are phrased in terms of what the system should do, and repositories are organized by files, functions, and modules. There is a representational mismatch between the request (behavioral) and the artifact (structural), and closing it is left to the human.
Naming this gap matters because it relocates where the difficulty in harness evolution actually lives. Existing tools — code search, repo indexing, long-context processing — make code easier to inspect but still leave the developer to recover the behavior→implementation mapping themselves. So "harness evolution" is bottlenecked less by generating a good edit than by locating where the edit must go.
This refines the vault's picture of agentic code. Since How do model capability and harness infrastructure relate to agent code?, the harness layer is precisely the part that grows tangled and distributed as it accumulates behaviors — which is why it, not the model, becomes the maintenance bottleneck. The proposed remedy is to reorganize repository knowledge around runtime behavior; see Can better code maps help weaker planners match stronger models?.
Inquiring lines that read this note 9
This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.
Can harness improvements substitute for model scaling?- What makes harnesses more tangled than other types of agent code?
- What makes a harness a first-class object rather than invisible scaffolding?
- Can runtime behavior mapping help localize harness deficiencies?
- Why does the harness layer accumulate distributed behaviors over time?
- What persistent failures remain unsolved despite harness evolution efforts?
- What makes behavior localization the bottleneck in agent harness evolution?
- How do different harness designs produce different agent behaviors from the same model?
Related concepts in this collection 2
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
Can better code maps help weaker planners match stronger models?
Whether explicitly mapping behaviors to their source code can level the playing field between weaker and stronger planning models, and whether this mapping is more valuable than raw model capacity.
the behavior-centric representation that attacks this bottleneck
-
How do model capability and harness infrastructure relate to agent code?
Agent systems blend three distinct code layers—model reasoning, system infrastructure, and agent-created artifacts—but treating them as one obscures where failures actually originate and which levers improve performance.
the harness is the layer that accumulates distributed behavior
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- Harness Handbook: Making Evolving Agent Harnesses Readable,Navigable, and Editable
- Rethinking the Evaluation of Harness Evolution for Agents
- Ouroboros: A Self-Developing Frontier Coding Agent with Reviewed Core Evolution
- HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?
- An Empirical Study of Harness Design for Coding Agents
- Harness Updating Is Not Harness Benefit: Disentangling Evolution Capabilities in Self-Evolving LLM Agents
- What Does a Harness Buy? Tokens, Mostly
- Harness Engineering for Self-Improvement
Original note title
behavior localization across distributed source is the central bottleneck in evolving agent harnesses