Origin: allow renaming repositories (or document why it isn't supported)

Describe the request

I can’t find any way to rename an Origin repository. Repo Settings → General, the origin CLI (origin repo edit only covers default branch, visibility and merge settings) and the Update Repo API (PATCH /v1/origin/repos/{owner}/{repo}, which doesn’t accept a name) all lack a rename option.

The docs, API reference and forum don’t explain why. The API docs even say a repository “keeps its ID across a rename”, which suggests renaming is expected.

Please add repository renaming to Origin, ideally with redirects from the old URL and without breaking cloud agents or Projects already attached to the repo. If it isn’t planned, please document the limitation and the reason, so people know to pick names carefully, as the docs already advise for codebase names.

Right now the only workaround is to create a new repo and move the code, which loses the link to existing agents and Projects.

Hey @Alex_Greig,

Repo renaming is something the team is actively working on! A rename touches a lot of the backend: git, API and web URLs all need to keep resolving, and anything already attached to the repo, like cloud agents and Projects, has to keep working. The team is taking care to get that right.

The “keeps its ID across a rename” line in the API docs reflects that design: a renamed repo stays the same repository, so its links to existing work aren’t lost.

No ETA to share, but we’re working on it.