Repository navigation
fix(docs): README denies named hub packages and accounts - #1297
Merged
Lorenzobattistela merged 1 commit intoOct 3, 2026
Merged
Lorenzobattistela merged 1 commit into
Lorenzobattistela merged 1 commit into
Conversation
Fixes bendlang#1295 The limitations list said "The hub has no names, versions, accounts or search yet. Packages are hashes." Three of those four claims are stale: - guide/GUIDE.md documents `import <name>@<version>/main.bend as P` and `bend main.bend --publish <name>@<version>` after `bend login`. - bend2/main.ts backs them: `bend login` writes the Bender key, `cli_link` calls `hub_name`, `--publish <name>@<version>` runs `hub_check`, and its help already reads "a name needs login". So the bullet now says what is actually true - a package is a hash unless its author names and versions it after logging in - which is also the shape the surrounding limitations take. The bullet says nothing about search. bend2/main.ts has no search verb, but the hub UI lives in the sibling bend-lang.com checkout, so whether search exists there is not answerable from this repo, and bendlang#1295 scopes that claim out separately rather than asking me to restate it. README.md is 2980 ttok against the permanent 4000 cap in gates/repo.ts.
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.
Summary
The README limitations list said:
Three of those four claims are stale against this same tree.
guide/GUIDE.md:530-532documentsimport <name>@<version>/main.bend as Pandbend main.bend --publish <name>@<version>afterbend login.bend2/main.tsimplements all of it:bend loginwrites the Bender key (:67,:133),cli_linkcallshub_name(:544-549),--publish <name>@<version>parses a name and runshub_check(:248-253,:495-539), and the help text already reads "publish the file and its imports; a name needs login" (:41) and "log in to Bender for --publish @…" (:43).The replacement bullet states what is actually true and keeps the shape of the surrounding limitations:
Fixes #1295.
What I did not change, and why
The original bullet also claimed no search. I dropped that claim rather than restating it:
bend2/main.tshas no search verb (grep -c -i search bend2/main.ts→0), but the hub UI lives in the siblingbend-lang.comcheckout named inAGENTS.md, which I could not read, so whether search exists there is not answerable from this repo. #1295 scopes search out separately, so this PR asserts nothing about it. If search does not exist, it is a one-clause follow-up.Verification
README.mdis 2980 ttok against the permanent 4000 cap ingates/repo.ts:43(allow("README.md", 4000)), measured withttokas that gate does. Before: 2977.guide/change — noteguide/GUIDE.mdis already at 7968/8000 ttok, so I deliberately kept away from it.README.md,guide/GUIDE.mdandbend2/main.tsata950fd68(the commit fix(docs): README denies named hub packages and accounts documented by the guide #1295 pins) and again at currentmain; the stale bullet is unchanged between them, so the report holds againstmain.Contract Routing
No contract touched. Documentation-only, outside every gate in
gates/except theREADME.mdttok cap checked above.