Skip to content

Re-record subagent VCR tests with Agent tool#50

Merged
Crazytieguy merged 1 commit intomainfrom
claude/issue-49
Mar 8, 2026
Merged

Re-record subagent VCR tests with Agent tool#50
Crazytieguy merged 1 commit intomainfrom
claude/issue-49

Conversation

@claude
Copy link
Copy Markdown

@claude claude bot commented Mar 7, 2026

Summary

  • Updated subagent test prompts from "Task" to "Agent" tool name
  • Re-recorded all three subagent VCR fixtures (subagent, parallel_subagent, subagent_error) so they exercise the renamed Agent tool
  • Verified [N/M] subagent rendering works correctly with the Agent tool name

The display code (renderer.rs, tool_format.rs) already handled both "Task" and "Agent" names from commit 80ad1a9. This PR ensures the VCR tests actually exercise the Agent tool path.

Fixes #49

Test plan

  • All 150 tests pass
  • cargo fmt --check clean
  • cargo clippy clean
  • Snapshot diffs show TaskAgent in rendered output with [N/M] lines intact

🤖 Generated with Claude Code

Update test prompts to use "Agent" instead of "Task" and re-record
all three subagent VCR fixtures so they exercise the renamed tool.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Crazytieguy Crazytieguy merged commit 255c8e9 into main Mar 8, 2026
6 checks passed
@Crazytieguy Crazytieguy deleted the claude/issue-49 branch March 8, 2026 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent tool doesn't correctly trigger the same rendering that Task used to

1 participant