When an agent uses subagents to implement code the files changes / lines written aren't counted correctly in the end
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
What version of the IDE extension are you using?
26.814.41407
What subscription do you have?
ChatGPT Pro 20x
Which IDE are you using?
VS Code
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
When an agent uses subagents to implement code the files changes / lines written aren't counted correctly in the end
What steps can reproduce the bug?
Think of some random project / feature and get 5.6 Sol Ultra to build it and delegate work to subagents. When it finishes you will see that the lines reported in the end are only the ones the central agent wrote, not the subagents, thereby creating a misleading picture of the size of the implementation.
What is the expected behavior?
The expected behavior is to see all the lines changed by the agent AND the subagents combined, not just the central agent. It should equal the diff with what it had before the prompt was sent.
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the VS Code extension by asking an agent to delegate implementation to subagents, then compare the reported file and line counts with the final diff against the pre-prompt state. Trace the completion summary or usage-reporting entry point that produces those counts; done means the central agent and all subagent changes are included.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100