[testnet-ops] Card identity store + pre-bake script (WS E), TESTNET.md #68

Merged
claude merged 6 commits from night2/testnet-ops/identity into night/2026-11-17 2026-11-18 16:13:45 +00:00
6 Commits
Author SHA1 Message Date
claudeandClaude Opus 5.5 26ad4af02e identity-source: WikidataEntity matches #70's shape exactly
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:59:46 -05:00
claudeandClaude Opus 5.5 c9197e1a9f testnet-ops: live identity source (background lane only), deps injected structurally
wikimediaIdentitySource() takes the wikimedia client (#73), the page enrichment and
duel-cards' profile builder (#70) as structural deps, so it imports nothing unmerged.
About 2 Wikidata requests per 50 new cards; transport failures leave cards unknown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:59:19 -05:00
claudeandClaude Opus 5.5 4f9cbfeaae TESTNET.md: test wallets are readable by anyone with issue access
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:41:21 -05:00
claudeandClaude Opus 5.5 c35db68c20 testnet-ops: TESTNET.md secure-context workaround and counts; identity store under WIKIDECK_DATA_DIR
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:40:59 -05:00
claudeandClaude Opus 5.5 47cab9f619 testnet-ops: identity fields match duel-cards CardProfile (links as pageIds, years, cites, subclassOf, description); toProfile()
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 21:46:09 -05:00
claudeandClaude Opus 5.5 36cbaccd42 testnet-ops: card identity store, pre-bake script, testnet guide
server/game/identity.ts freezes each card's off-chain identity (P31, categories,
country, dates, coords, outlinks hash) once per tokenId in node:sqlite and never
rewrites it. scripts/night2/prebake-identity.ts reads the canonical chain from one
node and freezes from cached card files only; live facts plug in via an
IdentitySource on the wikimedia client's background lane (#62). Tests make zero
network calls. docs/night2/TESTNET.md: nodes, wallets, login, mining, autodeploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 21:42:23 -05:00