feat: add daily product intelligence and versioned site assets (#64)

Adds privacy-safe aggregate product intelligence, reviewed/versioned website assets, and a dispatch-only rollout until the dedicated Sentry token is verified. Independent review blockers were fixed in 8bc47e4; app checks, website production build, Android CI, and iOS CI are green.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Den
2026-07-15 11:59:40 -07:00
committed by GitHub
parent cbe00c3222
commit 5c14ce0a5d
46 changed files with 4539 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
import { createHash } from "node:crypto"
import { readFile } from "node:fs/promises"
import { resolve } from "node:path"
const root = resolve(import.meta.dirname, "..")
const directory = resolve(root, "public/screenshots/v0.4.7")
const manifest = JSON.parse(await readFile(resolve(directory, "manifest.json"), "utf8"))
for (const screenshot of manifest.screenshots) {
const file = resolve(directory, screenshot.file)
const contents = await readFile(file)
const hash = createHash("sha256").update(contents).digest("hex")
if (hash !== screenshot.sha256) {
throw new Error(`${screenshot.file} does not match its approved Play checksum`)
}
}
console.log(`Verified ${manifest.screenshots.length} approved screenshots.`)