Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions tests/cases/subagent/parallel_subagent/parallel_subagent.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,23 @@ source: tests/vcr_test.rs
expression: result.display
---
:N view message · type to steer · Ctrl+O interactive · Ctrl+C interrupt
Session 78a8341f-35a8-4668-994f-9d073fd51d89 (claude-haiku-4-5-20251001)
Session fd6b5a86-78b4-49f1-8669-3b5c760ba1d2 (claude-haiku-4-5-20251001)

[1] Thinking...
[2] ▶ Task Read README.md file
[3] ▶ Task Read notes.txt file
[2/1] ▶ Read /private/var/folders/21/3gpj27c974j5vc436plct78w0000gn/T/cove...
[3/1] ▶ Read /private/var/folders/21/3gpj27c974j5vc436plct78w0000gn/T/cove...
[2] ▶ Agent Read and summarize README.md
[3] ▶ Agent Read and summarize notes.txt
[2/1] ▶ Read /tmp/coven-vcr-parallel_subagent/README.md
[3/1] ▶ Read /tmp/coven-vcr-parallel_subagent/notes.txt
[4] Thinking...
## Summary

Both files were successfully read:
**README.md:** Contains minimal information describing this as a "Test Project" created for testing parallel subagent display functionality in coven.

**README.md**: Contains a brief project description. It's titled "Test Project" and describes itself as "a minimal project for testing parallel subagent display in coven."
**notes.txt:** Contains a single line indicating this is test notes for a parallel subagent test case.

**notes.txt**: Contains a single line of test notes stating: "These are test notes for the parallel subagent test case."
Both files appear to be part of a test setup for the coven system's parallel subagent feature.

Both files are minimal, as expected for a test project setup.


Done $0.05 · 8.5s · 3 turns (:N to view)
Done $0.02 · 9.2s · 3 turns (:N to view)
Enter follow up · :N view message · Ctrl+O interactive · Esc skip
>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[run]
prompt = "Use the Task tool to spawn TWO subagents in parallel (in the same message): one that reads README.md and one that reads notes.txt. Summarize both results. Do not use any other tools directly."
prompt = "Use the Agent tool to spawn TWO subagents in parallel (in the same message): one that reads README.md and one that reads notes.txt. Summarize both results. Do not use any other tools directly."

[files]
"README.md" = "# Test Project\n\nA minimal project for testing parallel subagent display in coven."
Expand Down
386 changes: 179 additions & 207 deletions tests/cases/subagent/parallel_subagent/parallel_subagent.vcr

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions tests/cases/subagent/subagent/subagent.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ source: tests/vcr_test.rs
expression: result.display
---
:N view message · type to steer · Ctrl+O interactive · Ctrl+C interrupt
Session fc830a07-8f51-4fb0-9072-99dca4d35ed5 (claude-haiku-4-5-20251001)
Session b1af3ffb-cbbd-4afb-8775-fa8013d19c01 (claude-haiku-4-5-20251001)

[1] Thinking...
[2] ▶ Task Read README.md and summarize in one sentence
[2/1] ▶ Read /private/var/folders/21/3gpj27c974j5vc436plct78w0000gn/T/cove...
[2] ▶ Agent Read and summarize README.md
[2/1] ▶ Read /tmp/coven-vcr-subagent/README.md
[3] Thinking...
The subagent has summarized the README.md: **This is a minimal test project created for testing subagent display in coven.**
The subagent read README.md and summarized it as: **This is a minimal test project designed for testing subagent display in coven.**


Done $0.02 · 5.5s · 2 turns (:N to view)
Done $0.03 · 10.3s · 2 turns (:N to view)
Enter follow up · :N view message · Ctrl+O interactive · Esc skip
>
2 changes: 1 addition & 1 deletion tests/cases/subagent/subagent/subagent.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[run]
prompt = "Use the Task tool to spawn a subagent that reads README.md and summarizes it in one sentence. Do not use any other tools."
prompt = "Use the Agent tool to spawn a subagent that reads README.md and summarizes it in one sentence. Do not use any other tools."

[files]
"README.md" = "# Test Project\n\nA minimal project for testing subagent display in coven."
304 changes: 178 additions & 126 deletions tests/cases/subagent/subagent/subagent.vcr

Large diffs are not rendered by default.

21 changes: 11 additions & 10 deletions tests/cases/subagent/subagent_error/subagent_error.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@ source: tests/vcr_test.rs
expression: result.display
---
:N view message · type to steer · Ctrl+O interactive · Ctrl+C interrupt
Session dccf4c6e-2792-4d85-9f29-bbc4f4997b2b (claude-haiku-4-5-20251001)
Session 0d266755-516a-4a5f-91c0-700325f41119 (claude-haiku-4-5-20251001)

[1] Thinking...
[2] ▶ Task Read README.md and nonexistent.txt in parallel
[2/1] ▶ Read /private/var/folders/21/3gpj27c974j5vc436plct78w0000gn/T/cove...
[2/2] ▶ Read /private/var/folders/21/3gpj27c974j5vc436plct78w0000gn/T/cove...
✗ File does not exist.
[2] ▶ Agent Read README.md and nonexistent.txt in parallel
[2/1] ▶ Read /tmp/coven-vcr-subagent_error/README.md
[2/2] ▶ Read /tmp/coven-vcr-subagent_error/nonexistent.txt
✗ File does not exist. Note: your current working directory is /tmp/c...
[3] Thinking...
Done! The subagent successfully made parallel Read calls to both files:
- **README.md** was read successfully (contains "# Test Project" and description text)
- **nonexistent.txt** returned an error as expected (file doesn't exist)
Done! The subagent successfully read both files in parallel:

Both Read calls were executed simultaneously in a single function_calls block.
- **README.md**: Contains "Test Project" - a minimal project for testing
- **nonexistent.txt**: File does not exist (returned an error as expected)

The agent made both Read tool calls simultaneously in a single block, as requested.

Done $0.02 · 7.7s · 2 turns (:N to view)

Done $0.02 · 8.2s · 2 turns (:N to view)
Enter follow up · :N view message · Ctrl+O interactive · Esc skip
>
2 changes: 1 addition & 1 deletion tests/cases/subagent/subagent_error/subagent_error.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[run]
prompt = "Use the Task tool to spawn a subagent that reads both README.md and nonexistent.txt simultaneously using parallel Read tool calls. Do not use any other tools yourself."
prompt = "Use the Agent tool to spawn a subagent that reads both README.md and nonexistent.txt simultaneously using parallel Read tool calls. Do not use any other tools yourself."

[files]
"README.md" = "# Test Project\n\nA minimal project for testing."
Loading