Reach the rest of the registry - #17
Merged
Merged
Conversation
An audit of the twenty-three endpoints against what any client calls found six nothing could reach. Three of those were bugs rather than missing features. Handle availability had no caller at all, so the only way to learn a name was taken was to fail signing up — the one moment that is awkward to retry. `termcade username <name>` answers it signed out, which is when somebody is choosing. Rename was unreachable. It exists precisely so a typo at signup is fixable, and the rule that makes it safe — refused once the handle has published games — means the window to use it closes. Shipping it with no way to call it wasted the feature. The stored session follows the rename, or every later command reports the old name. Account deletion was built for the end-to-end suite to clean up after itself and never given to a person, which is backwards for something that is a feature first. Also: whoami, org edit, org delete. Both destructive commands confirm by having the name typed rather than by a yes. Each releases a handle for anyone to claim and cannot be undone, and a y/n prompt is the wrong weight for that. Verified against production end to end: availability signed out for a reserved and a free name, whoami, a rename that the session followed, an org edited and read back, both confirmations refusing without the name, and an account deleted with its handle released. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An audit of the 23 endpoints against what any client calls found six nothing could reach. Three were bugs rather than missing features.
The three bugs
Handle availability had no caller at all. The only way to learn a name was taken was to fail signing up — the one moment that is awkward to retry.
termcade username <name>answers it signed out, which is when somebody is choosing a name.Rename was unreachable. It exists precisely so a typo at signup is fixable, and the rule that makes it safe — refused once the handle has published games — means the window to use it closes. Shipping it with no way to call it wasted the feature. The stored session follows the rename, or every later command reports the old name.
Account deletion was built for the e2e suite to clean up after itself, and never given to a person. Backwards for something that is a feature first.
Also
termcade whoami,termcade org edit,termcade org delete.Confirmation by typing the name
Both destructive commands refuse a bare invocation:
Each releases a handle for anyone to claim and cannot be undone. A y/n prompt is the wrong weight for that.
Verified against production
whoamiorg edit/showaccount deleteStill open
The app reaches 5 of 23 endpoints — it can sign in, browse, list a library and play, but cannot manage the account it signed you into. That is the next PR.
🤖 Generated with Claude Code