Approved automatically by the /admin schedule (at most 500 a day), enabled by admin.
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Desktop and Android 2.4.1 -> 2.5.0 (package.json and its lock,
tauri.conf.json, Cargo.toml, the f2p-tracker entry of Cargo.lock); repo
public-facing version 4.6.1 -> 4.7.0. CHANGELOG: the random games page,
Leave site, Decline quitting the Android app, and the 2026-11-03
dependency pass that waited in [Unreleased]. No legal document changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CLAUDE.md: why /random keeps its picks in memory and only the reader
rolls, the crypto sampling (not Math.random), why the route is top-level,
and the base key a plural needs; how Leave site finds the page before the
site, the watchdog and its three cancel events, the deliberate second click
to close, and why Decline quits through exit(). Both READMEs list the
random page and its modules.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Web: a "Leave site" button on the terms card and on the declined notice.
No page may open the browser's own start page (chrome://newtab,
about:home), so lib/leave-site.ts goes back to the page before the site:
history.go(-(navigation.currentEntry.index + 1)) steps over every entry of
the site's contiguous same-origin run at once. history.go() is silent when
there is nowhere to go, so a 1.5 s watchdog (cancelled by beforeunload,
pagehide and popstate) shows "Nothing to go back to"; when every entry is
the site's that shows at once, and closing the tab is a second, explicit
click, because closing the last tab closes the browser window.
Apps: Decline called getCurrentWindow().close(), which on Android resolves
without closing anything (tao reports a destroyed window only from the
Activity's onDestroy), so Decline did nothing there. It now calls exit()
from @tauri-apps/api/app, which finishes the activity on Android and ends
the process on the desktop; the declined notice appears if the app is
still alive 2 s later. default.json trades core:window:allow-close, which
nothing else used, for core:app:allow-exit. The Leave button is web only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
/random rolls one to five games from the catalogue (five to start with):
any type, online or offline, dead games only when asked, never one marked
unsafe. Roll again avoids the games on screen while enough others remain;
a smaller count keeps the first picks, a larger one adds to them.
- lib/random-pick.ts: crypto.getRandomValues with rejection sampling and a
sparse Fisher-Yates, never Math.random (SonarCloud S2245), plus the pool
rules, read off appidIndex so each game appears once.
- lib/random.svelte.ts: the picks as appids, module-level and memory only,
so Back from a game keeps them and no f2p:* key is needed (a new key
means a privacy-policy edit, which reopens the consent gate). Only the
reader rolls; a revalidation only drops a pick that left the catalogue
or stopped qualifying.
- The page, an entry in the sidebar, drawer and palette (nav.ts) and a
dashboard button. Top-level on purpose: the header search, isActive and
the PWA's globIgnores all treat /games/* specially. The empty state joins
verify-dist's BAKED_EMPTY_STATES; the sitemap ranks the page low.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Approved in /admin by admin.
Reason: pass
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved in /admin by admin.
Reason: pass
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved in /admin by admin.
Reason: Pass
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved in /admin by admin.
Reason: pass
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved in /admin by admin.
Reason: pass
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved in /admin by admin.
Reason: passed
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved in /admin by admin.
Reason: passed
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved in /admin by admin.
Reason: passed
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved in /admin by admin.
Reason: passed
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Takes Dependabot's npm group (#236) and cargo group (#234) together: the
Tauri shell plugin moves to 2.6.0 on both sides, and the CLI refuses a
JavaScript/Rust pair on different minors. Adds the SvelteKit 3.1.1 and
adapter-static 4.0.1 patches (exact pins kept), @types/node 26.6.6, knip
6.44.1 and @lucide/svelte 1.66.0 - everything at least three days old;
newer releases wait for next week's Dependabot run.
wrangler 4.156.0's miniflare pins undici 7.30.1 itself, so the
"miniflare": {"undici": "^7.30.1"} override goes in the same commit, as
CLAUDE.md required. npm audit: only the known deepmerge low advisory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Approved automatically by the /admin schedule (at most 500 a day), enabled by admin.
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved automatically by the /admin schedule (at most 500 a day), enabled by admin.
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved automatically by the /admin schedule (at most 500 a day), enabled by admin.
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved automatically by the /admin schedule (at most 500 a day), enabled by admin.
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.
Approved automatically by the /admin schedule (at most 500 a day), enabled by admin.
Queued for scripts/ingest_new.py, which decides whether each game is actually free, reachable and not already present. This commit is a request, not a publication.