You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Read NOT_FOUND suggestions and the on_repeated_failure argument matching #896
The Read tool no longer returns a bare NOT_FOUND: <path> for a missing file. It appends up to five candidate paths: siblings of the nearest existing directory ranked by name similarity, and, when none shares the missing base name, files with that base name found under the containing sandbox directory.
The on_repeated_failure reminder trigger no longer requires byte-identical arguments. For Read it keys on the file path alone. For every other tool it keys on the canonical JSON of the arguments with offset and limit removed, so retries that only change pagination, key order or whitespace count toward the threshold.
The Read section of cli.md (#### Read) describes the NOT_FOUND suggestions and shows an example error with candidate paths
The trigger catalog row for on_repeated_failure in cli.md says the match ignores offset, limit, key order and whitespace, and that Read matches on the file path only
The built-in reminder text quoted anywhere in the docs reads "with the same arguments" instead of "with identical arguments"
Documented Read NOT_FOUND suggestions and on_repeated_failure matching
Gather context (read cli.md, verified behaviour against upstream CLI source)
Understand the request - implementation (docs change)
#### Read: document NOT_FOUND candidate paths + example error
Trigger catalog: add on_repeated_failure row with the normalized-argument matching rules
Reminders schema: document threshold
Validate (lint:md, format:check, build - all pass)
Commit and open PR
What changed in cli.md
#### Read now explains that a missing file no longer returns a bare NOT_FOUND: <path> - the error appends up to five candidate paths (siblings of the nearest existing directory ranked by name similarity, plus files carrying the missing base name found under the containing sandbox directory when no sibling matches it) - and shows an example error with candidates.
Trigger catalog: on_repeated_failure was not in the catalog at all, so this is a new row rather than an edit. It states that matching is on normalized arguments (offset, limit, key order and whitespace ignored, so pagination-only retries and re-serialized arguments still count), that Read matches on file_path alone, plus the post_tool hook requirement, the built-in default threshold of 3, and the reset-on-success behaviour.
Supporting edits so that row makes sense: the reminders YAML schema table gains the threshold field; the built-in repeated-failure reminder text is now quoted - it reads "with the same arguments" - along with its {tool_name} / {count} placeholders; and the built-in-defaults precedence row mentions repeated-failure alongside memory-consult.
I did not reference the upstream PR or issue numbers anywhere in the doc content, per the repo convention against tracker references in docs.
Activity
feat(tools): suggest nearby files on Read NOT_FOUND and normalise the…
edenreich commentedon Oct 2, 2026
@claude can you document this?
inference-gateway-maintainer commentedon Oct 2, 2026
Claude finished @edenreich's task in 11m 15s —— View job •
docs/issue-896-20261002-0237• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-896-20261002-0237?quick_pull=1&title=Issue%20%23896%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23896%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented Read NOT_FOUND suggestions and
on_repeated_failurematchingcli.md, verified behaviour against upstream CLI source)#### Read: document NOT_FOUND candidate paths + example erroron_repeated_failurerow with the normalized-argument matching rulesthresholdlint:md,format:check,build- all pass)What changed in
cli.md#### Readnow explains that a missing file no longer returns a bareNOT_FOUND: <path>- the error appends up to five candidate paths (siblings of the nearest existing directory ranked by name similarity, plus files carrying the missing base name found under the containing sandbox directory when no sibling matches it) - and shows an example error with candidates.Trigger catalog:
on_repeated_failurewas not in the catalog at all, so this is a new row rather than an edit. It states that matching is on normalized arguments (offset,limit, key order and whitespace ignored, so pagination-only retries and re-serialized arguments still count), thatReadmatches onfile_pathalone, plus thepost_toolhook requirement, the built-in default threshold of 3, and the reset-on-success behaviour.Supporting edits so that row makes sense: the reminders YAML schema table gains the
thresholdfield; the built-inrepeated-failurereminder text is now quoted - it reads "with the same arguments" - along with its{tool_name}/{count}placeholders; and the built-in-defaults precedence row mentionsrepeated-failurealongsidememory-consult.I did not reference the upstream PR or issue numbers anywhere in the doc content, per the repo convention against tracker references in docs.
PR: #900
| Branch
inference-gateway-releaser commentedon Oct 4, 2026
🎉 This issue has been resolved in version 0.9.21 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀