Repository navigation
Description
Context
The harness efficiency benchmark characterised nanocoder as "read- and search-heavy, planning and delegating to subagents" and found we spend about as much as Claude Code on tokens and time while landing in the same quality band as harnesses that spend a third as much.
Delegation is part of that cost, and on the benchmark's workload it looks net-negative.
Problem
On a focused, well-scoped bug fix, delegating to a subagent is close to pure overhead:
- the parent pays for the delegation round-trip
- the subagent starts cold and re-explores context the parent already had loaded
- the result comes back summarised, so the parent sometimes re-reads to verify
The benchmark's eight tasks were all focused bug fixes, which is exactly the shape where delegation costs most and buys least.
Discussion
This is a design question rather than a defect, so opening it for discussion rather than as a defined fix.
Options worth weighing:
- Gate delegation on some measure of task scope, so it engages on genuinely broad work and stays out of the way on single-file fixes.
- Adjust
source/app/prompts/sections/subagents.mdto set a higher bar for when delegation is worth it, which is the cheapest thing to try first. - Pass more parent context into the subagent so it does not start cold, trading a larger up-front payload for less re-exploration.
- Leave it alone on the grounds that the benchmark's task shape is unrepresentative of real usage, which is a legitimate reading.
Worth noting the counterargument: the benchmark graded on a coarse 0-3 scale over bug fixes only, and cannot detect quality that exploration and delegation might buy on open-ended work. We should be careful not to optimise away something valuable because one benchmark's task shape did not reward it.
Related
Part of the broader efficiency review. The mechanical wins in the other issues are less debatable and should probably land first, so we can re-measure before touching delegation behaviour.
Activity
will-lamerton commentedon Aug 3, 2026
Part of #772.