Skip to content

[FIX] read_file failures and sequential read loops regressed after #782/#757 #970

Description

@dimokru

Problem (observed in real usage)

The agent is again failing on read_file and falling into repeated sequential read loops, after fixes #782 and #757 were closed as completed.

Evidence (aggregated, anonymized)

Impact on real tasks

Sequential read loops waste turns and context budget and prevent the agent from exploring codebases efficiently. File access failures block reading configs, logs, and source files, which stalls almost every coding or debugging task.

Proposed direction

  1. Root-cause why read_file failures rose after the prior fixes: revisit path resolution, batch-read routing, and repo_map prompting.
  2. Make repo_map / batch read_file usage a loop_guard-enforced fallback after 3 consecutive read_file calls.
  3. Record a realized-impact ledger verdict for [FIX] read_file failures and repeated sequential reads block file access #782/[UX] read_file still loops sequentially instead of using repo_map / batch reads #757 showing the regression.

Value

  • Impact: 0.75
  • Effort: 0.4
  • Priority Score: 1.26

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-regressionPost-merge signal not verified — needs a focused regressionrejectedNot accepted by evolution — see closing comment

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions