Skip to content

feat(queen): a lane can be signed with a GitHub login - #511

Merged
gHashTag merged 1 commit into
feat/queen-supervisorfrom
feat/leaderboard-github-names
Sep 23, 2026
Merged

gHashTag merged 1 commit into
feat/queen-supervisorfrom
feat/leaderboard-github-names

Conversation

@gHashTag

@gHashTag gHashTag commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

TRIOS_KEY_OWNERS="1=@alex" now travels to the board as github: "alex", so the leaderboard can show a face and link the profile instead of a bare string. This project lives on GitHub — the issues, the branches, the pull requests a bee opens are all there — so the person who lends a lane is nearly always someone with an account there.

The login is validated against GitHub's own rule (alphanumerics and single hyphens, never at either end, at most 39 characters), because the handle becomes a link to a person's profile and the URL of their avatar: a display name that merely contains an @ must not be able to point the board at a stranger's account. @alex/../torvalds, @alex.png, mail@example.com and a 40-character handle are each refused by name in the test.

Nothing is fetched from GitHub here: the handle travels as text and the page builds the avatar URL, so a leaderboard read never waits on GitHub or a rate limit.

Checks

  • bun test apps/server/tests/api/queen-leaderboard.test.ts — 9 pass, 37 expect() calls.

Board side: gHashTag/trinity#1132.

🤖 Generated with Claude Code

This project lives on GitHub - the issues, the branches, the pull requests a
bee opens are all there - so the person who lends a lane is nearly always
someone with a GitHub account. `TRIOS_KEY_OWNERS="1=@alex"` now travels to the
board as `github: "alex"`, and the page can show a face and link the profile
instead of a bare string.

The login is validated against GitHub's own rule (alphanumerics and single
hyphens, never at either end, at most 39 characters) because the handle becomes
a link to a person's profile and the URL of their avatar: a display name that
merely contains an `@` must not be able to point the board at a stranger's
account. `@alex/../torvalds`, `@alex.png`, `mail@example.com` and a 40-character
handle are all refused by name in the test.

Nothing is fetched from GitHub: the handle travels as text and the page builds
the avatar URL, so a leaderboard read never waits on GitHub or a rate limit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@gHashTag
gHashTag merged commit ce13b7e into feat/queen-supervisor Sep 23, 2026
3 of 18 checks passed
@github-actions

Copy link
Copy Markdown

⚠️ No test results were produced

View workflow run

@github-actions
github-actions Bot deleted the feat/leaderboard-github-names branch September 27, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant