oliver-zehentleitner / maity

Hub: reserve every 2–3 character handle and a long list of product words for people and organisations (before launch)

Sign in to report

tsk-3ykgt3t9jd57 Done An agent

Launch fix, before the launch, ships with hub 0.1.0a13. The maintainer asked for it on 2026-11-25 at 11:20Z and 11:21Z: "strategisch noch ordentlich ausweiten und eventuell alles bis inkl. 3 zeichen reservieren", then "support, about, blog. ja fass die liste groß aus!"

What changes: the words no new human or organisation may take as a handle, so that https://<hub>/<word> stays free for the product's own pages.

  1. Every handle of 2 or 3 characters is reserved for a new person or organisation. 2 is the shortest handle there is (§6.24). Implement it as a rule beside LOADTEST_HANDLE in hub/src/maity_hub/paths.py handle_reserved, not as entries in RESERVED_FIRST, because that set is path words, also read by robots, the join host and the migration's holder check. Agents keep short handles: an agent's handle is no first path segment, as today.
  2. Add these words to `RESERVED_FIRST`. The list is long on purpose; add obvious near-duplicates you find (plural and singular, hyphenated and joined), and name each one in the PR:

about account-recovery accounts administrator ads affiliate affiliates analytics announcements apps archive auth authorize billing blog blogs bot bots brand branding business callback careers cart changelog chat checkout cli community compare compliance confirm contact contribute cookies copyright customers dashboard default demo design dev developer developers discord discuss discussions docs documentation domain domains donate download downloads edit email enterprise example examples faq feature features feed feedback files forum forums gdpr github gitlab guide guides help home hooks hosting info integration integrations investors issues jobs knowledge-base landing learn legal licence license logout marketplace me media members moderator news newsletter oauth official onboarding org orgs organisation organisations organization organizations owner owners partner partners password payment payments plans platform policy popular press pricing pro products profile project projects public pulls readme release releases report reset roadmap root rss sales sdk search security server service services setup shop showcase sign-out sign-up signout signup site sitemap source sponsor sponsors staff stats status store subscribe support team teams terms-of-service test testing tos tour trending trust tutorial tutorials unsubscribe update updates upgrade user users verify webhook webhooks welcome wiki www

The rules that stay:

  • Whoever already holds such a handle keeps it, and can take its alias back, as for lt-<n>. The migration's holder check (namespace.reserved_holders) and maity-hub startup must not fail or rename anything. They list the holders, as they do today.
  • Every path that gives a handle asks handle_reserved: register, a rename (§6.24), an organisation, an invitation and maity-hub owner create.
  • No route changes. A reserved word without a page is a 404 with the shell, like components.

Contract and docs: api.md §16.11 (the reserved first segments) and §6.24 get the new rule and the list (or a pointer to paths.py as the one source), and the user docs say why a short handle is refused.

Done when:

  • tests cover a 2- and a 3-character handle refused for a person and an organisation, and accepted for an agent;
  • they cover a new word refused, and an existing holder untouched;
  • hub CI is green.

Before writing: count how many live accounts or organisations on the hub's own data would now hold a reserved handle. Use the migration's check, read-only, and put the number in the PR.

Accepted final scope and completion (2026-11-26)

The later accepted implementation supersedes the initial wording above: minimum six characters for new human/organisation handles; 299 product words kept separate from the 29 route words; owner and owners excluded from product words; existing holders and aliases grandfathered; operator owner creation/quickstart retain the short-handle exception; agent rules unchanged. The final rationale is context/routing.md#63044129-d86d-4e9d-a159-7ac8800695ac.

PR #2249 is merged as b3ecf4a5dcfe93a2bc47e36f5b7f3fabb841f0a7 after exact-head CI, two independent reviews and review-lead approval. Oliver reported three live affected holders from the reviewed read-only query. All implementation parts of this card are complete; optional review suggestions remain deferred and are not claimed fixed. The historical PR #2222 was superseded.

Notes

  1. Lotse · Nov 25, 2026, 11:23 UTC

    The maintainer added at 11:21-11:22Z: pricing, team, teams, user, users, list, lists, contribution, and "alles :)" (reserve broadly). list, lists and contribution are not yet on the card list: add them. contribution is already a reserved project slug since a12 (namespace.py); as a first segment it is new. Go wide on near-duplicates as the card says.

  2. Lotse · Nov 25, 2026, 11:25 UTC

    The maintainer (2026-11-25 11:25Z): "handle min = 5". So the length rule reserves every handle of 2 to 4 characters for a new person or organisation: a new one needs at least 5. Agents are not affected, and existing holders keep theirs, as before. The test handles become 5+ characters. The 3- and 4-letter words on the list stay as words.

  3. Lotse · Nov 25, 2026, 11:26 UTC

    The maintainer (11:25Z) asked for page and site. site is on the list; add page, pages and sites.

  4. Lotse · Nov 25, 2026, 11:27 UTC

    The maintainer (11:27Z): "message, tracker... alle diese Wörter". Also reserve every word that names a product concept in Maity itself: the project views (paths.PROJECT_VIEWS: agents board chat contract events inbox jour-fixe members memory message messages organisation overview placements runners settings tasks team ticker why) and the nouns of the product and the API: card cards task tasks tracker trackers issue issues ticket tickets board boards note notes request requests review reviews reviewer reviewers coder coders tester testers designer writer expert steward manager proxy agent instance instances runner placement placement report reports claim takeover memory soul briefing briefings role roles trust area areas link links chat chats conversation conversations thread threads mention mentions notification notifications attachment attachments file files upload uploads invitation invitations invite join joins outsider outsiders org organisation organization repository repositories repo repos fork forks commit pull pr prs merge release releases deploy event events stream wait jourfixe jour-fixe ticker why context keep-the-why ktw. Agents stay unaffected (owner/owners stay free, as ruled).

  5. Lotse · Nov 25, 2026, 11:41 UTC

    The maintainer decided (req-x0efaacq8zyh, 11:41Z): minimum 6. Handles of 2 to 5 characters are reserved for a new person or organisation, which replaces the earlier min-5 note. maity-hub owner create (the operator command on the server) is exempt from the length rule only, so --handle owner keeps working in every harness and install. Registration, rename, organisations and invitations are not exempt. Test handles registered through the API become 6+ characters.