usemagpie.ai/docs/contributors, /docs/zh/contributors and
/docs/ja/contributors list each person the release notes' thanks line
would (the previous commit's rules), with the versions their reports,
ideas or code went into, newest first: three shown, the rest under
"N more", each linking its release. A name with a known GitHub login
links it; the platform a report came from (Discord, X, …) sits under it.
How it is built: wrangler.jsonc's build runs `node credits-cli.mjs wall`
at each deploy. It reads every tag's commits from git, the issue authors
from GitHub (reusing the last build's answers), and writes
public/contributors.json and the table in each language,
public/contributors/{en,zh,ja}.html (gitignored). worker.js puts that
table into the page's #wall with HTMLRewriter; without it the page keeps
a line pointing at the release notes. A build that can't read git leaves
the last list. The page says how names are found (only as already public
in the history, no emails, no maintainer, agents or bots) and how to be
left off: Discord, an issue, or a PR to site/contributors-exclude.txt.
Every docs page's footer and the home page's (foot.contrib in zh, ja, de)
link it. Styles reuse docs.css's table and tokens.
Run (mote, node 22): node --test site/*.test.mjs 77/77. The wall on a
clone of origin/main c991733d with a real token: 1338 people over 5933
released commits in 19s, ~1MB of table a language, no email address in
it.
Broken by hand: withWall matching /docs/contributors only → the
injection test red on /docs/zh/contributors; ja/docker.html's footer link
removed → the footer test red on it.
Not tried: the page in a browser before deploy (the worker's rewriter is
stood in for in the test; the deployed pages are checked after).
A release's notes ended with the install block and named nobody, though
the commits behind them credit their reporters. site/credits-cli.mjs
thanks <from>..<to> prints an English line and a Chinese one ("Thanks to
A, B and C, whose reports and code went into this release" / "感谢 A、B
和 C:…"), linking the contributors page, or nothing when no one is
credited. yetone/magpie-releases' publish job puts each at the end of its
language's part (that repo's own commit).
Who is credited (site/credits.mjs, no imports so the worker can use it):
- a subject's brackets: "(NAME on Discord|X|…)", "(A and B on Discord)",
"(willz, Discord)", "(spotted by @login in #N)", a quote after ":" cut;
- the GitHub authors of the issues and PRs it names, #N, plugins#N,
plugins #N (GraphQL, GH_TOKEN, 100 a query); one GitHub can't give is
left out, never guessed, and a bot is no one;
- commit authors and Co-authored-by people, not the maintainer, agents
(Claude, Cursor Agent, Instinct Agent, glm-5.3-flash, a @localhost
address) or a merge. Emails only tell an agent apart; none is written.
A bare word ("(mrwl666)", "(axelburks)", "(#3305, LoKi)") is a person
only when it is a handle with digits or the same name is credited plainly
elsewhere: over the whole history that drops "Image #59", "#860 flake",
"memory, Osal", "Neon, Notion", "magpie-releases#18", "(P3)", "𝕏 user".
site/contributors-exclude.txt leaves out whoever asks.
Run (mote, node 22): node --test site/*.test.mjs 74/74 (credits.test.mjs
12, real subjects from git log as fixtures). The thanks CLI on a blobless
clone of origin/main with a real token: v0.1.2579..2580 → Chixi_Fang;
v0.1.2560..2569 → faketrader, skygunner, vincent (#3656's co-authors),
StringKe (#3491), qikamatata, axelburks, infinitex233 (#4532),
samson910022 (#4738), each checked against the commits; v0.1.2578..2579
→ nothing. The release step's own script run there with VERSION=0.1.2580:
the English line after Install, the Chinese after 安装 (DeepSeek stubbed),
no line on a ref without the script, a warning and no line when the CLI
exits 3.
Broken by hand: the agent/model co-author check removed → test 8 red;
Markdown escaping removed → test 10 red; the gate on unsure names in
credit() removed → tests 2, 3, 6 red.
Not tried: a real release run in magpie-releases (the next tag is).