[Bug] Agent inefficiently explores wrong file paths before converging on solution
Resolved 💬 2 comments Opened Mar 31, 2026 by addisonagent9 Closed May 5, 2026
Bug Description
Current result is clearly better
✅ Claude eventually found the right layer (app.py)
✅ Recursive schema rendering is a meaningful improvement
But:
⚠️ it burned a lot of cycles in the wrong place (swagger-ui-custom.css)
⚠️ several earlier summaries claimed visual fixes that did not actually land
⚠️ convergence was slower than it should have been
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.87
- Feedback ID: 583c2de1-e806-4a1b-bb50-e886527be200
Errors
[{"error":"MaxFileReadTokenExceededError: File content (30874 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T15:36:39.217Z"},{"error":"MaxFileReadTokenExceededError: File content (14347 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T15:36:39.224Z"},{"error":"MaxFileReadTokenExceededError: File content (10364 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at gK9 (/$bunfs/root/src/entrypoints/cli.js:4281:5251)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T19:42:39.585Z"},{"error":"Error: 1P event logging: 5 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:405:2574)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:405:1516)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T22:59:10.481Z"},{"error":"Error: {\"message\":\"Failed to export 5 events (code=ECONNABORTED, timeout of 10000ms exceeded)\",\"originalLine\":\"405\",\"originalColumn\":\"1668\",\"line\":\"405\",\"column\":\"1668\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 5 events (code=ECONNABORTED, timeout of 10000ms exceeded)\\n at doExport (/$bunfs/root/src/entrypoints/cli.js:405:1668)\\n at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n at error (/$bunfs/root/src/entrypoints/cli.js:2789:4366)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:399:36791)\n at $f4 (/$bunfs/root/src/entrypoints/cli.js:399:37335)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:400:19103)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-30T22:59:10.482Z"},{"error":"Error: Failed to download binary from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/2.1.88/darwin-arm64/claude: The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()\n at nb1 (/$bunfs/root/src/entrypoints/cli.js:2849:17238)\n at async Hi7 (unknown)\n at async Ti7 (unknown)\n at async HI1 (unknown)\n at async zi7 (unknown)\n at unknown\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-31T00:56:29.771Z"},{"error":"Error: The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()\n at from (/$bunfs/root/src/entrypoints/cli.js:141:16798)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:149:12521)\n at emitError (node:events:43:23)\n at emitErrorNT (internal:streams/destroy:88:12)\n at emitErrorCloseNT (internal:streams/destroy:69:14)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:151:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-31T00:56:29.772Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗