Public: anyone can read this; the crew can change it.
Talk brings a repository kept elsewhere in to work on, and a tell on a mirror goes to the person's copy #16374
Check · Review · Land · Live done — Landed and live in production.
bring (Talk's list, held behind a confirm: "Bring in to work on: a mirror and your copy, both private here") takes a link or owner/name on a connected origin.
shipped production is serving it deploy 3fede26
Direction fits (Talk's bring, both doors, a how-to in docs/features, README untouched, nothing new in dependencies). Changes needed, all in one round:
- src/actions/bring.ts, bringToWork: a mirror that is already here is reused whatever its visibility. If it was mirrored earlier from a public repository it stays public. Yet the confirm sentence (conversation_ask.ts), broughtWords and docs/features/bring.md all say both are private. Either make the reused mirror private (and say so), or stop claiming it and say what visibility it has. The same holds when startMirror returns an already running job, because that job ignores
private: true. Add a test: a public mirror already present, then bring it, then check what is promised. - src/actions/bring.ts: the 60 s Promise.race timer is never cleared when the mirror settles first. Clear it in a finally block, so every bring does not leave a timer behind.
- Tests that would fail without the code are missing for these branches: the 'still copying' answer (copy undefined, and the first tell making the copy), a mirror the actor cannot read, a failed mirror (done.stage not 'done'), the agent/unverified/unauthorized refusals through the MCP tool, and the bring-work screen's success path (it only tests the connect refusal). Also the tell redirect in tell.ts, for a mirror with an empty
textand for theno_copyfailure. - src/http/mcp/tools/bring.ts:
originin the inputSchema has no maxLength. Add one, matchingrepo.
The rest reads clean: authorization is checked at the door, validation is at the boundary, and bringToWork refuses agents.
Steward note: new head 205282c1 answering the review. (1) Privacy: a reused mirror, or one from a running job without private, is made private through the person's own repository-admin rights, and the answer says "Its mirror here was public; it is private now."; if they do not administer it, bring is refused in words rather than claiming privacy; a reused copy the person made public is said to be public; tested from a public mirror made first. (2) The 60 s timer is cleared in a finally. (3) Tests for still copying, a repository the origin lacks, an unreadable mirror never reused or named, refusals for the crew, an unverified person and no token through MCP, the screen's success path, tell on a mirror with empty text, and no_copy. (4) origin has maxLength 300.
Earlier asks, all met in the diff: (1) privacy: madePrivate makes a reused or racing public mirror private through the person's own admin rights, and refuses in words if they do not administer it. The answer says so, and a test starts from a public mirror. (2) The 60 s timer is cleared in a finally. (3) Tests now cover still copying, a missing repository, an unreadable mirror, the crew, an unverified person and no token through MCP, the TUI success path, an empty tell, and no_copy. (4) origin has maxLength 300, and the bound is also enforced in bringToWork for every door.
The tool is held behind a confirm and is listed in the Talk and held-write tests. The TUI door exists and is tested, and docs/features/bring.md holds the how-to, so the README is untouched. The tell redirect happens at the MCP door, only for a non-empty tell, and the copy is the caller's own fork, so nothing leaks across users.
Non-blocking: one paragraph in docs/features/bring.md runs past the wrap width; bun scripts/gate.ts --fix will rewrap it.
bring(Talk's list, held behind a confirm: "Bring <repo> in to work on: a mirror and your copy, both private here") takes a link orowner/nameon a connected origin. It mirrors the repository private here, whatever its visibility at the origin, which is never touched, then makes the person's copy beside it: their native fork of the mirror,<name>-work, private, a crew seated (bringToWork,workCopyOfin actions/bring.ts). Bringing it again reuses both and says so; nothing is made twice. Every door says it by the origin's name and "your copy".tellon a mirror no longer reaches the runner's "agents do not work on mirrored repositories yet": the action routes it to the person's copy, made when missing, so the issue and the crew's pull are on the copy and nothing is filed at the origin.Toldsays which repository.The terminal's door is "Work on a repository" (palette, a person's).
bringWordsmoves from the bring screen to the action so the tool, the page and both screens share it.tell's line in /llms.txt drops two asides (an example path, what an undo closes it as) so it keeps its budget.Try: in Talk, "bring <origin link to a repo> in", answer Do it, then "make the README say hello" and open the copy's pulls No look: no page changes; an MCP tool, a terminal screen and Talk's confirm No door: the how-to is a new section of docs/features/bring.md beside the bring it extends, and the terminal door is the new Work on a repository screen Replaces: nothing, Talk had no way to bring a repository in or to put the crew on one kept elsewhere Direction: Talk works with origins, the person's repositories hosted elsewhere, the owner's ask of 11-24 (#10262), ahead of #6534
Co-Authored-By: Claude Fable 5 <[email protected]>
--- Part 2 of the origins series (#16370 is part 1). The owner, 2026-11-25: "in my forge i basically have a fork when i start working on it. i could use the crew to iterate on my fork then open a PR upstream". A walk through Talk found the crew refused mirrors ("agents do not work on mirrored repositories yet"). One commit.
For the reviewer, since this creates repositories and routes crew work: please check that both copies are private whatever the origin's visibility, that bringing twice reuses both, and that
tellon a mirror never files on the mirror or the origin.🤖 Generated with Claude Code