SYNTHESIS NOTE
TopicsAgent Harnessthis note

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.

Synthesis note · 2026-07-17 · sourced from Agent Harness
Where does agent reliability actually come from? How do you navigate synthesis across fragmented research topics?

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 What are the three distinct layers of 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 explicit behavior maps help weaker planners compete with stronger models?.

Inquiring lines that read this note 5

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.

Do harness improvements transfer across model scales or memorize shortcuts? How do prompt structure and constraints affect model instruction reliability? Does externalizing cognitive work and state improve agent reliability?

Related concepts in this collection 2

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
12 direct connections · 68 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

behavior localization across distributed source is the central bottleneck in evolving agent harnesses