@@ -816,18 +816,21 @@ tablet view. These are hard resource ceilings, not pagination: the subset never
816816silently presents a partial folder.
817817
818818Before normal-mode resolution, ` listBranches(locator) ` reads repository
819- metadata for ` default_branch ` , then serially reads the public branches endpoint
820- with ` per_page=100 ` and increasing ` page ` . It publishes only a complete
819+ metadata for ` default_branch ` and a positive numeric repository ` id ` , then
820+ serially reads the public branches endpoint with ` per_page=100 ` and increasing
821+ ` page ` . It publishes only a complete
821822` GithubBranchCatalog ` : at most 512 exact names over six pages, 512 KiB per
822823branch page, and 2 MiB across branch-page bodies. Invalid/duplicate names,
823824malformed metadata or pagination, a 513th name, or a further page fails without
824825publishing accumulated names. ` Link ` metadata is accepted only when its next
825- URL is HTTPS on exact host ` api.github.com ` , has the exact repository branches
826- path and expected page parameters, and advances by one; the returned URL is
827- never followed directly. The adapter constructs the next request from its
828- validated locator and page number. The reported default is first and selected;
829- remaining branches use ` String.compareTo ` . An empty catalog is displayed and
830- cannot Browse in branch mode.
826+ URL is HTTPS on exact host ` api.github.com ` , has either the locator-derived
827+ ` /repos/{owner}/{repo}/branches ` path or GitHub's canonical
828+ ` /repositories/{id}/branches ` path for that metadata identity, carries only
829+ the expected page parameters, and advances by one; the returned URL is never
830+ followed directly. The adapter constructs the next request from its validated
831+ locator and page number. The reported default is first and selected; remaining
832+ branches use ` String.compareTo ` . An empty catalog is displayed and cannot
833+ Browse in branch mode.
831834
832835The normal ref control is a searchable branch-only chooser. A localized
833836advanced action exposes the retained manual branch/tag/commit field, including
0 commit comments