Skip to content

feat(queen): /queen/public-credits - whose lane carried each accepted issue - #527

Merged
dmitrii-f-t27 merged 1 commit into
fix/queen-worker-provider-and-prompt-sizefrom
feat/queen-lane-credits
Oct 3, 2026
Merged

dmitrii-f-t27 merged 1 commit into
fix/queen-worker-provider-and-prompt-sizefrom
feat/queen-lane-credits

Conversation

@dmitrii-f-t27

Copy link
Copy Markdown
Collaborator

Why

  • The spec-authors board in gHashTag/trinity credits a commit to its GitHub author.
  • A swarm commit reaches t27 master as the squash of a queen-<issue> PR, authored by whoever merged it. So every bee's work counted as the merger's own: 514 merged Queen PRs since 2026-09-17.
  • The owner (2026-10-03): credit that work to the person whose provider key the bee ran on.

What

  • GET /queen/public-credits returns { measuredAt, repo, credits: [{ issue, github, at }] }.
    • Each entry is the GitHub login that claimed the lane of an issue's latest accepted turn, read from queen_dispatch and queen_dispatch_history.
    • An unclaimed lane, or an owner name that is not a login, is left out.
  • TRIOS_KEY_OWNERS_SINCE (login=YYYY-MM-DD): a lane is a slot, not a key. Turns from before a login lent its lanes are not credited. Set to dmitrii-f-t27=2026-09-17, the day the pool moved off the operator's plan onto our keys.
  • The endpoint is public-read like /queen/public-leaderboard: issue numbers and logins only. The route-guard pins are re-measured: 47→48 mounts, 9→10 public-read.

Tests

  • tests/api/queen-lane-credits.test.ts (4) and route-guard pins.
  • All queen-* API tests plus route tests pass locally.

🤖 Generated with Claude Code

… issue

The spec-authors board credits a commit to its GitHub author, and a swarm
commit reaches master as the squash of a queen-<issue> pull request authored
by whoever merged it, so every bee's work read as the merger's own. The owner,
2026-10-03: credit it to the person whose provider key the bee ran on.

For each accepted issue: the GitHub login that claimed the lane of its latest
accepted turn. A lane is a slot, not a key, so TRIOS_KEY_OWNERS_SINCE
(login=YYYY-MM-DD) keeps turns from before a login lent that lane uncredited.
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown

✅ Tests passed — 2500/2560

Suite Passed Failed Skipped
✅ agent 87/87 0 0
✅ build 9/9 0 0
✅ cdp-protocol 5/5 0 0
✅ eval 93/93 0 0
✅ server-agent 280/280 0 0
✅ server-api 1349/1408 0 59
✅ server-browser 6/6 0 0
✅ server-integration 10/11 0 1
✅ server-lib 279/279 0 0
✅ server-pglive 25/25 0 0
✅ server-root 68/68 0 0
✅ server-skills 31/31 0 0
✅ server-tools 244/244 0 0
✅ shared 14/14 0 0

View workflow run

@dmitrii-f-t27
dmitrii-f-t27 merged commit 02f7348 into fix/queen-worker-provider-and-prompt-size Oct 3, 2026
17 of 18 checks passed
@github-actions
github-actions Bot deleted the feat/queen-lane-credits branch October 4, 2026 05:15
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