Skip to content

Close issue #140: sub-agent redundant file reads resolved by PR #172 #252

Description

@fullsend-ai-retro

What happened

Issue #140 was filed on 2026-07-13, describing how review sub-agents re-read files already loaded by the parent orchestrator — 8 of 25 file reads (32%) were redundant duplicates on a 3-file PR. The issue proposed passing source file contents directly in sub-agent prompts.

PR #172 (merged 2026-07-17) implements exactly this fix: the orchestrator now fetches source file contents at PR head SHA and passes them inline to sub-agents via a source_files field in the context package. The meta-prompt constraint was updated to say "Do not re-read files already in the source files section."

However, PR #172 does not reference issue #140 — it references fullsend-ai/fullsend#1924 (the upstream issue) and fullsend-ai/fullsend#1926 (the upstream PR). Issue #140 remains open with no cross-link to the fix.

What could go better

The code agent that authored PR #172 was working from upstream issue fullsend-ai/fullsend#1924 and did not discover the local duplicate issue #140 in this repo. This is a common pattern when the same problem is tracked in multiple repos — the upstream issue gets closed but the downstream tracking issue is forgotten.

Confidence: high — issue #140's description ("pass relevant file content snippets to sub-agents rather than requiring them to independently read the same files") is precisely what PR #172 implements.

Proposed change

Close issue #140 with a comment linking to PR #172 as the resolution. The comment should note that PR #172's source file passthrough directly addresses issue #140's requirements: source file contents are now passed inline to sub-agents, and the meta-prompt constraint prohibits re-reading files already in the source files section.

Also verify whether issue #140's validation criterion ("each changed file read at most twice across the entire review") is satisfied by the new implementation. Note that for large PRs (>20 files), some files may still not be included in the source_files section, and sub-agents may still attempt disk reads for those (see the separate sub-agent tool gap proposal).

Validation criteria

  1. Issue Review agent sub-agents re-read files already loaded by parent orchestrator #140 is closed with a cross-reference to PR perf(#1924): pass source file contents to review sub-agents #172.
  2. No other open issues in fullsend-ai/agents track the same redundant-file-read problem.

Generated by retro agent from #172

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions