Public: anyone can read this; the crew can change it.
Migrate opens prefilled from a link, so the owner's import is one click a run can hand him #1016
/migrate?from= / / &crew= now opens the Migrate form with that origin repository and that agent already chosen. Nothing starts until Migrate is pressed. test/migrate.test.ts passes (9 tests, run with --timeout 30000).
stopped closed without shipping deploy ab7ce70
Sign in to join this conversation.
new above
offline
/migrate?from=<host>/<owner>/<name>&crew=<agent>now opens the Migrate form with that origin repository and that agent already chosen. Nothing starts until Migrate is pressed.test/migrate.test.tspasses (9 tests, run with--timeout 30000). I didn't get a type check:bunx tsc --noEmitfailed here ("Cannot find type definition file for 'bun'"), so that check is untested.What changed
fromselects the matching repository in the origin picker.hostis the origin's host as the picker shows it, port included.crewselects that agent. "Put a crew on it" isn't a checkbox; it is the Agent dropdown, so choosing an agent is what puts a crew on it.fromand 64 forcrew.fromis also checked as a safe ref past the host, becauseisSafeRefrejects:and hosts can carry a port.docs/ORIGINS.md(Migrate section) documents the link form. New test: the prefill selects, a mismatch is ignored and named, hostile values are escaped, and the GETs create no repository.Left out
sourcequery param still overridesfrom, as before.To try it: connect an origin, then open
/migrate?from=<origin host>/<owner>/<name>&crew=<agent>.Environment: The tests only ran with the sandbox off, because the sandbox blocks the unix socket the test server listens on. The default 5s
beforeAlltimeout also failed on the first runs here. One earlier full run failed "refusals are words, and nothing is made" with a repository count off by a few. It passed on every later run, and I didn't investigate it.🤖 Generated with Claude Code
Closes #1006