A repository URL that could not be read produced a pile of messages:
"Does not exist or is not accessible", a "Repository not listed?" label,
two access notes, a private-content warning, an empty branch/commit grid
with "The commit SHA is not valid", a toast, and an enabled-looking
"Create anonymous link" whose reason pointed to the preview.
- Under the URL, one error block per case (malformed URL, missing or no
access, organization restriction or SSO, already anonymized), naming
the source and giving its fix: Manage GitHub access and Try again.
The preview shows the same wording and actions; no toast.
- Drop "Repository not listed?". The landing picker gets a quiet
"Don't see your repository? Manage GitHub access" link instead.
- New anonymizations hide branch/commit, auto-update and the other
sections until the source loads. Edit mode keeps them editable.
- The publication warning shows only once a private source has loaded;
the repository metadata now includes GitHub's `private` flag.
- The primary button is disabled until the source loads, with a short
local reason, and the draft line waits for a loaded source.
- dev-mock: failing, slow, PR, gist and edit-mode fixtures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>