Skip to content

Build navigation on first use; whole-file packets; merge ranges - #30

Merged
TheCryptoDonkey merged 1 commit into
mainfrom
feat/fewer-navigation-turns
Sep 23, 2026
Merged

TheCryptoDonkey merged 1 commit into
mainfrom
feat/fewer-navigation-turns

Conversation

@TheCryptoDonkey

Copy link
Copy Markdown
Member

The repeated Pro run (#29) found Context's executor input follows its extra turns: fewer tool bytes than plain in seven of eight tasks, more turns in seven. Three deterministic sources of wasted turns are removed:

  • search, explore and coverage build the index on first use instead of failing (concurrent first calls share one build; a built index is still only replaced by an explicit refresh);
  • a packet build source without startLine/endLine reads from line 1 / to the end of the file (13 failed calls in the run gave only a path);
  • overlapping or adjacent ranges in one file are merged instead of rejected (4 failed calls).

Tool listing 5,586 bytes. Checks: npm run check (185 context-tools tests), navigation smoke, both benchmark gates with recall 1.0. No new saving is claimed; these changes are unmeasured on an executor.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KzXbuBSq88i3Re82qt6c4L

…t ranges

The repeated Pro run showed Context's input following its extra turns. The
index now builds on the first search, explore or coverage call; a build
source without startLine or endLine reads from the start or to the end;
overlapping ranges merge instead of failing.
@TheCryptoDonkey
TheCryptoDonkey merged commit ff90d7f into main Sep 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant