feat(codes): mark a code dead once the owner confirms it in game
Game8 still lists Y1INABQB6DEX, 2BJ64QRZ7RT8 and PLDXIB886Y1S as active Genshin codes after the game refused them. CODE_CHECKS records the owner's in-game check; build-codes stamps the matching code confirmedDead, and the Codes tab shows it expired: "Confirmed expired in game, 2026-10-20." Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7569aa6395
commit
b8e8d44816
12 files changed
+178
-12
No files matched your search
@@ -694,3 +694,13 @@ so it shows the in-game route only.
|
||||
|
||||
**Refreshing.** These are game8 pages, so the CI caveat in AGENTS.md § Scraping conduct applies: if the
|
||||
runner is refused, they refresh by hand like the event pages.
|
||||
|
||||
## Codes confirmed dead in game (2026-10-20)
|
||||
|
||||
A source can keep a dead code in its active table: on 2026-10-20 Game8 still listed three Genshin
|
||||
codes the game refused. `CODE_CHECKS` (`src/shared/codeChecks.ts`) records each code the owner
|
||||
tried and found dead, with the date. `scripts/build-codes.ts` runs `applyCodeChecks` after parsing,
|
||||
which sets `confirmedDead` on the matching code (by its `["game","CODE"]` id) and returns the checks
|
||||
that matched nothing; the build logs those so they can be pruned. Nothing else about the code
|
||||
changes, and the check is never used to add a code. The field is optional, so `schemaVersion`
|
||||
stays 1.
|
||||
Reference in new issue
Block a user