-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
Problem
Three tool reliability issues affecting agent effectiveness:
-
sql-classify.ts:
computeSqlFingerprintreferences undefinedcorevariable after safe-import refactor, silently breaking fingerprinting. Fallback classifier defaults to "read" for unknown statements (should be "write" for safety). Fallback doesn't handle multi-statement SQL. -
edit.ts: When
oldStringnot found, error message provides no context for self-correction. Substring matching inbuildNotFoundMessagecan latch onto short irrelevant lines. -
webfetch.ts: No caching of failed URLs — agent retries 404s repeatedly. Error messages don't tell the model whether to retry. URLs with auth tokens in query strings leak into error messages.
Expected Behavior
- sql-classify should gracefully degrade with correct security guarantees in fallback mode
- Edit tool should provide nearest-match snippets to help the model self-correct
- Webfetch should cache permanent failures and provide actionable error messages
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels