Fix child agent harness in pill bar hover card
Before:
After:
Description
The orchestration pill bar's hover card was reading the harness chip from conversation.server_metadata(), which for a freshly spawned local child agent is either None or reflects the parent's Warp harness — so a Claude Code (or any non-Oz) child agent always showed 'Warp'.
Switch to conversation.orchestration_harness(), which prefers the spawn-time orchestration_harness_type field stamped by start_new_child_conversation and falls back to server_metadata only when that's not set. Now the chip matches the badge.
Linked Issue
Fixes https://linear.app/warpdotdev/issue/QUALITY-725/orchestration-pill-bar-hover-card-shows-wrong-harness-for-claude-agent
- [x] Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes).
Testing
cargo fmt✓cargo clippy -p warp --bin warp --all-features --tests -- -D warnings✓- [x] I have manually tested my changes locally with
./script/run
Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode
CHANGELOG-BUG-FIX: Fixed orchestration pill bar hover card showing the wrong harness for non-Warp child agents (e.g. Claude Code).
Co-Authored-By: Oz [email protected]
@advait-m
I'm starting a first review of this pull request.
You can view the conversation on Warp.
I completed the review and no human review was requested for this pull request.
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
Was the mismatch only temporary?
Was the mismatch only temporary?
It wasn't actually - I believe due to us not refreshing it perhaps