Repository navigation
feat(send): pick any agent; Send asks which one when nothing names a target - #159
Merged
Merged
Conversation
…en nothing names one P now lists every agent Send can reach: running Pi sessions and, inside Herdr, every pane with an agent (herdr agent list, labelled by workspace and tab), never the review's own pane. Agents in the review's folder come first, then by name, then by pid or pane id. A review launched on its own, with no delivery command, opens the same picker on Send when an agent is within reach, with a Copy to clipboard row above the agents. With none within reach Send copies as before. Document and code reviews behave the same.
backnotprop
enabled auto-merge
November 15, 2026 22:52
The FallbackCopy struct was gated on unix but its Delivery impl was not, so the Windows test build failed with E0425. The tests drive a fake herdr that is a POSIX shell script, which Windows cannot run, so they stay Unix-only; one cfg on a module now covers the fixture, its impl and the tests together.
This was referenced Nov 20, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Document review and code review now work the same way:
--deliver-to): unchanged, Send goes to that agent.Plists every reachable agent: running Pi sessions, plus every Herdr pane with an agent (herdr agent list, labelled with workspace › tab · pane). The review's own pane is left out, a Pi that Herdr also lists shows once, and the order stays put: agents in the review's folder first, then by name.Send N new ▸ choose agent (E). With no agents, Send copies as before, and a delivery command still wins.Rex and hc agents aren't listed yet: their targets are tied to the process a launcher named.
ui/pi_picker.rsbecomesui/agent_picker.rs. Newherdr/agents.rsruns the read-onlyherdr agent list,workspace listandtab list.Tested: unit and flow tests against a fake
herdr(753 pass). Also tested end to end on an isolated Herdr 0.9.5:plannotator-tui reviewin one pane showedchoose agent, the picker listed the claude in the other pane, and Enter delivered throughherdr agent prompt. Herdr accepted it and the agent received it.