feat(mirror): warn on admin-suspended create; drop sunset collaborator verbs

main

Commit

toothbrush3mo ago

Suspended-mirror warning

When entire repo mirror create re-registers an existing placement that an admin has suspended, it now prints a warning right after the placement message:

It skips the pointless clone-readiness poll (a suspended mirror never becomes ready) and treats the re-create as a non-fatal success (exit 0). The wizard surfaces the same state as a per-mirror "suspended" status. Consumes the new suspended field on the CreatedMirror response (server side: entiredb #2328, deployed).

Drop sunset collaborator grant/revoke verbs

The server sunset POST/DELETE /mirrors/collaborators (grant/revoke); only the GET (list) survives. Refresh the vendored OpenAPI spec from the live core and regenerate the client — which removes the dead GrantMirrorCollaborator / RevokeMirrorCollaborator operations — then delete the CLI verbs that called them:

  • entire repo mirror collaborators add (grant) — removed
  • entire repo mirror collaborators remove (revoke) — removed
  • entire repo mirror collaborators list — kept (GET still live)

The refresh also picks up three new, currently-unused server operations (deleteMe, listRepos, lookupRepoBySlug): additive generated code, no CLI surface yet.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 96479f535945

Checkpoints

Mirror Admin Suspension Warnings and Cleanup

Claude Code
View session
Checkpoint 1