repo transfer moves the page record but not its git repo (log empty, REPO_NOT_FOUND, Files tab empty) until transferred back
adom-wiki repo transfer moves the page record but not the page's git repository. Observed on adom-wiki-cli 1.7.53 (local) and 1.7.37 (container) on 2026-10-22.
Repro
Page adom/factoryos (permanent id pg_t7pnjwqw5m, private, 43 commits, head f812d23).
adom-wiki repo transfer pg_t7pnjwqw5m --to-user drew2
The call returns ok with owner: drew2, visibility: private, commit_count: 43, last_commit_hash: f812d23.... After it:
adom-wiki repo log drew2/factoryos --limit 1 --json -> {"log": []}
adom-wiki repo log pg_t7pnjwqw5m --limit 1 --json -> {"log": []}
adom-wiki repo download drew2/factoryos --extract d -> REPO_NOT_FOUND "No browsable repo for drew2/factoryos ... published as a release tarball"
adom-wiki repo show drew2/factoryos app/package.json -> 404 File not found
adom-wiki branch list drew2/factoryos -> 0 branches, default null
GET /api/pages/drew2/factoryos/files -> {"files": []}
The page metadata still reports 43 commits, so the record and the repo disagree. The Files tab is empty and anything that reads the repo (sync loops, downloads, PRs) breaks.
Recovery
Transferring back restores everything, history included, which suggests the repo is stored by owner/slug and was not moved or re-linked:
adom-wiki repo transfer pg_t7pnjwqw5m --to-org adom -> repo log returns f812d23 again, files back
Expected
A transfer moves (or re-links) the git repo with the page, so repo log, repo download, repo show, branches and the Files tab keep working under the new owner. If that cannot be done, the transfer should refuse with an error rather than report success and leave the page without its repo.
Impact
factoryOS's deploy container polls this page every 2 minutes; during the window the probe failed. We want the page drew2-private now and adom-org private later, so this blocks both moves. Not urgent while the page stays under adom.