- `/repos/{repo}` permissions: `push` and `pull` were set twice; the later `true`, after the spread, already won. The earlier pair is removed (javascript:S1534). Same object.
- `base64url`: `.replace(/=/g, '')` in place of `.replace(/=+$/, '')` (javascript:S8786). Base64 only uses `=` as end padding, so the result is the same.
Chrome warns because Safe Browsing lists some craft.wiki pages as phishing, and
the Worker's sign-in page was a bare "Craft Wiki sign-in" title served from an
/api/ path with no branding, no explanation and no security headers. Give it the
wiki's branding, say that the password prompt belongs to discord.com, and send a
CSP with framing, referrer and content-type headers.
Add a script and a daily workflow that report Google's verdict for the domain,
so a listing is noticed without waiting for a browser to show it.
Save the session where Sveltia looks for it and open the editor when no editor window answers, and show text instead of a blank page. Run the Worker test file directly, because the directory form ran no tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a Worker that signs editors in with Discord, checks the Senior Contributor role, and serves the editor's GitHub API with a server-side token limited to wiki content. GitHub tokens pass through unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>