Repository navigation
A patch release, all of it from one 0.9.0 session on a large monorepo. The @
attachment shipped in 0.9.0 worked -- 241 lines of a PRD read into the turn --
and then three separate defects threw it away: the loop sent the model hunting
for a file it had already been given, the terminal reported a failed search as
a hit, and the context guard refused a re-read the context guard had asked for.
Fixed
-
A file the user attached is not missing. The user attached a PRD with
@
and the model askedread_filefor its basename. The ordinary not-found
message -- right for every other miss -- told it to useglob. It globbed
three times, asked GitHub, concluded the file did not exist, and started
writing a replacement, with the whole document sitting in its own history. A
failed call whose path matches something attached this turn now says so. Only
on a failure, so a workspace file that happens to share a basename with an
attachment is still read normally. -
A search that found nothing said it found one thing.
globanswers an
empty search with the sentenceNo files match '**/*.tex'., and the status
line counted lines, so a miss rendered as1 path. The transcript printed
1 paththree times while the model went on -- correctly -- concluding the
file was not there.grep,list_filesandcodebase_searchhad the same
hole. -
A read the loop elided is read again rather than refused. Eliding leaves a
note reading "Call it again if you still need it", and the repeat guard
answered exactly that call with "you already ran this". The loop freed the
file, asked the model to fetch it back, refused when it did, and handed back
the text it had just freed -- paying a round trip to end up where it started,
and counting the recovery towards the bound for a model going in circles. One
qwen2.5-coder:7bturn spent two minutes there. A repeat is now only a repeat
while the first result is still in the window; a second one with the result
gone is still refused, because read/elide/read/elide is a cycle of its own.
Small windows only -- deduplication is off above 65k, so this never bit 14b.
Changed
-
A tool result is shown rather than counted. A count on its own is a
receipt: it says a call happened and nothing about what it found.241 lines
is not an answer toread_file, and one count was not even true. The first
lines of a result are now drawn under the call, hung off a connector, with the
count moved to the line that says there is more -- so a result that fits gets
no count at all. Lines are cut to the terminal rather than wrapped, because a
wrapped line restarts in column zero and puts the tail of a tool result where
the model's prose goes.--verboseis the same block drawn longer rather than
a second layout. -
A lone multi-line argument is spread over lines. A
bashheredoc is the
argument most worth reading and the one the single-line rendering mangled
worst: newlines escaped, then cut at sixty characters, which is the opening of
a script and none of what it does. Only a lone one, sowrite_filekeeps its
generated content on the one line where it belongs.