From ead5da4ab3148ae3bfec875a574fd14b83bf92ff Mon Sep 17 00:00:00 2001 From: CRT Date: Thu, 15 Oct 2026 20:13:42 +0800 Subject: [PATCH 001/353] release: npm publish + deprecate run by themselves with a granular access token from ~/.storebound-keys/npm-token (0600; npm reads it through a temporary userconfig, never argv, logs or the checkout); bun tools/release.ts npm-token saves it once from the clipboard, npm-publish publishes this checkout's version --- tools/release.ts | 64 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/tools/release.ts b/tools/release.ts index 43c868f..162654c 100644 --- a/tools/release.ts +++ b/tools/release.ts @@ -9,6 +9,8 @@ // /Applications; everything it made is deleted at the end // bun tools/release.ts --resume --yes after a stop past the push: HEAD is origin/main, tagged v, // with that version; skips the bump and continues from step 4 +// bun tools/release.ts npm-token once: the npm granular token from the clipboard to ~/.storebound-keys +// bun tools/release.ts npm-publish npm publish + deprecate of this checkout's version with that token // bun tools/release.ts mac-acceptance the macOS acceptance runs for this checkout's CLI key (cached) // // Without --yes: the checks and the plan only. With --yes, in order: @@ -227,6 +229,8 @@ async function main(): Promise { const argv = process.argv.slice(2); const has = (f: string) => argv.includes(f); const yes = has('--yes'); + if (argv[0] === 'npm-token') { npmTokenSetup(); return; } + if (argv[0] === 'npm-publish') { const t = npmToken() ?? fail(`no npm token: bun tools/release.ts npm-token`); await npmRelease(COPIES[0]!.read(readFileSync(join(ROOT, 'package.json'), 'utf8'))!, t); return; } if (argv[0] === 'mac-acceptance') { const key = cliKey(ROOT); console.log(await macAcceptance(key, join(RELEASES, 'logs', `acceptance-${key}`))); return; } const rehearsal = has('--rehearsal'); const resume = has('--resume'); @@ -372,10 +376,68 @@ async function main(): Promise { writeFileSync(tf, `${JSON.stringify({ version, sha, tPush, tPublished, phases }, null, 2)}\n`); console.log(`\nstorebound ${version}: ${rehearsal ? 'rehearsal done and cleaned up' : 'released'}. Times (from the tag push):\n${table}\n start of this command to tag push: ${Math.round((tPush - t0) / 1000)} s; timings in ${tf.replace(HOME, '~')}`); if (!rehearsal) { - console.log(`\nThe owner's step (npm), from this checkout at ${tag}: + const npm = npmToken(); + if (npm) await phase('npm publish + deprecate (token)', async () => npmRelease(version, npm)); + else console.log(`\nnpm (no token in ${NPM_TOKEN_FILE.replace(HOME, '~')}: \`bun tools/release.ts npm-token\` sets it up once), from this checkout at ${tag}: npm publish npm deprecate storebound@"<${version}" "storebound ${version} is out: npx storebound@${version}"`); } } +// --------------------------------------------------------------------------------------------------------------------- +// npm with a granular access token (the owner's decision 2026-10-15: releases publish to npm by themselves). The token +// lives only in ~/.storebound-keys/npm-token (0600); npm reads it from the environment through a temporary userconfig +// that names ${NPM_TOKEN}, so it is never written into the checkout, a log or argv. +const NPM_TOKEN_FILE = join(KEYS, 'npm-token'); + +function npmToken(): string | null { + const v = process.env.NPM_TOKEN ?? (existsSync(NPM_TOKEN_FILE) ? readFileSync(NPM_TOKEN_FILE, 'utf8') : ''); + const t = v.trim(); + return /^npm_[A-Za-z0-9]{20,}$/.test(t) ? t : null; +} + +function npmRun(args: string[], token: string): { code: number; out: string } { + const dir = mkdtempSync(join(tmpdir(), 'sb-npm-')); + try { + const rc = join(dir, 'npmrc'); + writeFileSync(rc, '//registry.npmjs.org/:_authToken=${NPM_TOKEN}\n', { mode: 0o600 }); + const r = spawnSync('npm', args, { cwd: ROOT, encoding: 'utf8', timeout: 10 * 60_000, env: { ...process.env, NPM_TOKEN: token, NPM_CONFIG_USERCONFIG: rc } }); + const out = `${r.stdout ?? ''}${r.stderr ?? ''}`.split(token).join('npm_***'); + return { code: r.status ?? 1, out }; + } finally { rmSync(dir, { recursive: true, force: true }); } +} + +async function npmRelease(version: string, token: string): Promise { + const who = npmRun(['whoami'], token); + if (who.code !== 0) fail(`npm token refused (npm whoami): ${who.out.trim().split('\n').slice(-2).join(' ')}; make a new one: bun tools/release.ts npm-token`); + const pub = npmRun(['publish'], token); + if (pub.code !== 0 && !/previously published|cannot publish over/i.test(pub.out)) fail(`npm publish failed: ${pub.out.trim().split('\n').slice(-4).join(' ')}`); + // the registry lags a little after a publish; wait (timeout, heartbeat) until it serves the version as latest + const end = Date.now() + 5 * 60_000; + let last = 0; + for (;;) { + const r = spawnSync('npm', ['view', 'storebound', 'dist-tags.latest'], { encoding: 'utf8', timeout: 30_000 }); + if ((r.stdout ?? '').trim() === version) break; + if (Date.now() > end) fail(`npm: ${version} published but the registry still serves ${(r.stdout ?? '').trim()} as latest after 5 min`); + if (Date.now() - last > HEARTBEAT_MS) { last = Date.now(); say(`npm: waiting for the registry to serve ${version}`); } + await new Promise(res => setTimeout(res, 5_000)); + } + const dep = npmRun(['deprecate', `storebound@<${version}`, `storebound ${version} is out: npx storebound@${version}`], token); + if (dep.code !== 0) fail(`npm deprecate failed: ${dep.out.trim().split('\n').slice(-3).join(' ')}`); + say(`npm: storebound@${version} published and older versions deprecated`); +} + +/** One-time setup: the token from the clipboard (macOS pbpaste) into ~/.storebound-keys/npm-token, never printed. */ +function npmTokenSetup(): void { + const r = spawnSync('pbpaste', [], { encoding: 'utf8' }); + const t = (r.stdout ?? '').trim(); + if (!/^npm_[A-Za-z0-9]{20,}$/.test(t)) fail('the clipboard holds no npm token (npm_...): copy the token on npmjs.com first, then run this again'); + mkdirSync(KEYS, { recursive: true }); + writeFileSync(NPM_TOKEN_FILE, `${t}\n`, { mode: 0o600 }); + spawnSync('pbcopy', [], { input: '' }); + const who = npmRun(['whoami'], t); + if (who.code !== 0) fail(`saved, but npm refuses it: ${who.out.trim().split('\n').slice(-2).join(' ')}`); + console.log(`npm token saved to ${NPM_TOKEN_FILE.replace(HOME, '~')} (0600; clipboard cleared); npm account: ${who.out.trim()}`); +} + if (import.meta.main) await main(); From 9171cb11292bf2a55f03eb2eb8981a683c06565c Mon Sep 17 00:00:00 2001 From: CRT Date: Thu, 15 Oct 2026 22:49:35 +0800 Subject: [PATCH 002/353] scan: the email detector skips server / config identities (a service account or OIDC email of a Pub/Sub push, SMTP / sender / admin addresses, values from the environment); a game's rtdn: { audience; email; token } in apps/server/src/config.ts was flagged as App Privacy Email Address --- cli/lib/scan/rules.ts | 10 +++++++++- tests/scan.test.ts | 5 ++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/cli/lib/scan/rules.ts b/cli/lib/scan/rules.ts index 9b83b21..9d02a3d 100644 --- a/cli/lib/scan/rules.ts +++ b/cli/lib/scan/rules.ts @@ -100,6 +100,14 @@ export const PLAY_TARGET_SDK_SINCE = '2026-08-31'; export function codeLine(re: RegExp): RegExp { return new RegExp(`^(?!\\s*import[\\s{*'"])(?!.*\\b(?:require|import)\\s*\\(\\s*['"\`])(?!.*\\bfrom\\s*['"\`]).*?(?:${re.source})`, `${re.flags.replace('m', '')}m`); } +/** codeLine, minus server / config identities on the line: a service account or OIDC email of a Pub/Sub push, SMTP / + * sender / admin addresses and values read from the environment are the operator's, never data collected from users + * (a game: `rtdn: { audience: ...; email: ...; token: ... }` in apps/server/src/config.ts was flagged). */ +export function userLine(re: RegExp): RegExp { + const skip = '(?!.*(?:audience|[Oo][Ii][Dd][Cc]|[Pp]ub[Ss]ub|pubsub|[Ss]ervice[_ -]?[Aa]ccount|client_email|rtdn|RTDN|[Ss][Mm][Tt][Pp]|reply[_-]?[Tt]o|[Ss]ender|admin[_A-Za-z]*[Ee]mail|[Ee]mail[_A-Za-z]*[Ff]rom|process\\.env|Bun\\.env|import\\.meta\\.env|Deno\\.env|getenv|ENV\\[))'; + const c = codeLine(re); + return new RegExp(c.source.replace(/^\^/, `^${skip}`), c.flags); +} export const SIGNALS = { appleSignIn: /ASAuthorizationAppleIDProvider|SignInWithAppleButton|AppleAuthenticationButton|AppleAuthentication\.signInAsync|appleAuth\.performRequest|SignInWithApple|OAuthProvider\(\s*['"]apple\.com|AppleAuthProvider|signInWithApple|AppleAuthManager/, thirdPartyLogin: /GIDSignIn|GoogleSignin\.signIn|GoogleSignIn\(|GoogleAuthProvider|signInWithGoogle|FacebookAuthProvider|LoginManager\(\)\.logIn|LoginManager\.logInWithPermissions|signInWithFacebook|FacebookLogin|TwitterAuthProvider|GithubAuthProvider|OAuthProvider\(\s*['"](microsoft\.com|yahoo\.com|twitter\.com|github\.com)/, @@ -111,7 +119,7 @@ export const SIGNALS = { // real evidence that the app collects an email address: an email input or keyboard, an `email` property in a request // body / schema / type (not a quoted constant or label), an email validation, an email endpoint or an email sign-in // call. Accounts alone never mean email (a username with a device token has none). - email: /type\s*[:=]\s*["'{]*email["'}]|inputMode=["']email["']|keyboardType=["']?email-address|autoComplete=["']email|textContentType=["']?(emailAddress|\.emailAddress)|UITextContentType\.emailAddress|\.keyboardType\(\.emailAddress\)|keyboardType\s*=\s*\.emailAddress|TextInputType\.emailAddress|TYPE_TEXT_VARIATION_EMAIL_ADDRESS|KeyboardType\.Email\b|(?]Delete (my |your )?account|\brevokeToken\b|auth\.admin\.deleteUser|Hesab(ı|ımı) sil/i), restore: /restoreCompletedTransactions|AppStore\.sync\(|restorePurchases|restoreTransactions|RestoreTransactions|getAvailablePurchases|\brestorePurchase\b|\.restore\(\)|Restore Purchases|syncPurchases|Purchases\.shared\.restore|store\.restore\b|queryPurchasesAsync/i, subscriptionCode: /subscriptionPeriod|Product\.SubscriptionInfo|\.autoRenewable\b|entitlements\.active|SubscriptionStoreView|ProductType\.Subscription|ProductType\.SUBS|BillingClient\.ProductType\.SUBS/, diff --git a/tests/scan.test.ts b/tests/scan.test.ts index 44f6dbf..22b3e92 100644 --- a/tests/scan.test.ts +++ b/tests/scan.test.ts @@ -389,7 +389,10 @@ describe('monorepo: username accounts without email, plugins in apps/native/node 'const RE = /^[^\\s@]+@[^\\s@]+$/', "fetch('/api/auth/forgot-password')", 'auth.createUserWithEmailAndPassword(a, b)', 'Auth.auth().createUser(withEmail: e, password: p)', 'keyboardType="email-address"', 'request.requestedScopes = [.fullName, .email]']; const no = ["const ROUTES = { register: '/register', usernameCheck: '/username/check' }", "contactEmail: 'support@example.com'", "email: 'privacy@example.com'", - "labels = { email: 'E-mail' }", 'register(username)', "fetch('/api/v1/session')"]; + "labels = { email: 'E-mail' }", 'register(username)', "fetch('/api/v1/session')", + // server / config identities, not user data (a game apps/server/src/config.ts) + ' rtdn: { audience: string | null; email: string | null; token: string | null };', ' email: process.env.RTDN_EMAIL ?? null,', + ' pubsub: { email: cfg.serviceAccount },', ' smtp: { host, email: env.SMTP_USER },']; for (const s of yes) expect({ s, hit: SIGNALS.email.test(s) }).toEqual({ s, hit: true }); for (const s of no) expect({ s, hit: SIGNALS.email.test(s) }).toEqual({ s, hit: false }); }); From a1647e95520e2f4bb49458e7f6f371e2ef4fe26c Mon Sep 17 00:00:00 2001 From: CRT Date: Thu, 15 Oct 2026 22:51:02 +0800 Subject: [PATCH 003/353] scan: an email hit whose line or the 3 lines above (doc comment, enclosing interface) name a server / config identity is not user data (a game apps/server/src/iap/rtdn.ts: email: string | null under 'Push service account email') --- cli/lib/scan/declare.ts | 6 ++++-- cli/lib/scan/rules.ts | 12 ++++++++++++ tests/scan.test.ts | 6 +++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/cli/lib/scan/declare.ts b/cli/lib/scan/declare.ts index 323ffbf..c381d65 100644 --- a/cli/lib/scan/declare.ts +++ b/cli/lib/scan/declare.ts @@ -8,7 +8,7 @@ import { ACCOUNT_CREATION, ACCOUNT_SIGN_UP, accountCreationOf, APPLE_PRIVACY, ap import { REQUIRED_REASON_APIS } from '../privacy-manifest'; import { IOS_PERMISSIONS } from './permissions'; import { grep, grepOwn, type Hit, lineOf, type ProjectFacts } from './project'; -import { SIGNALS } from './rules'; +import { SIGNALS, userFacing } from './rules'; export type DeclArea = 'dataSafety' | 'appPrivacy' | 'att' | 'privacyManifest'; export interface DeclItem { area: DeclArea; what: string; value: string; status: 'detected' | 'ask'; evidence: Hit[]; note?: string } @@ -83,7 +83,9 @@ export function proposeDeclarations(p: ProjectFacts, c: ShipConfig | null, confi if (accounts) { markAccount('PSL_USER_ACCOUNT', signUp.length ? signUp : [cfgAt(/accounts\s*:/, 'from config (accounts.enabled)')], 'accounts'); for (const s of signUpCfg) for (const t of ACCOUNT_SIGN_UP[s]?.data ?? []) if (t !== 'PSL_USER_ACCOUNT') markAccount(t, [cfgAt(/signUp\s*:/, `accounts.signUp: ${s}`)], `accounts.signUp ${s}`); - const em = grepOwn(p, SIGNALS.email, 2); + const all = grepOwn(p, SIGNALS.email, 30); + // server / config identities (a Pub/Sub push service account, SMTP, env values) are not collected from users + const em = { built: all.built, hits: userFacing(p.sources, all.hits).slice(0, 2) }; if (em.hits.length && !em.built) markAccount('PSL_EMAIL', em.hits, 'email in the sources'); else if (!detected.has('PSL_EMAIL')) { if (em.hits.length) items.push({ area: 'dataSafety', what: 'PSL_EMAIL', value: 'collected? an email field shows up only in built output', status: 'ask', evidence: em.hits.slice(0, 1), note: 'check the source; not written' }); diff --git a/cli/lib/scan/rules.ts b/cli/lib/scan/rules.ts index 9d02a3d..75df08a 100644 --- a/cli/lib/scan/rules.ts +++ b/cli/lib/scan/rules.ts @@ -108,6 +108,18 @@ export function userLine(re: RegExp): RegExp { const c = codeLine(re); return new RegExp(c.source.replace(/^\^/, `^${skip}`), c.flags); } +/** A hit whose own line or the 3 lines above it (doc comment, the enclosing interface / object key) name a server or + * config identity: a game's `email: string | null;` in `interface RtdnAuthConfig` under "Push service account email + * ...". Pure. */ +export const SERVER_IDENTITY = /audience|\boidc\b|pub\/?sub|service[_ -]?account|client_email|\brtdn|\bsmtp|reply[_-]?to|\bsender\b|admin[_a-z]*email|email[_a-z]*from|process\.env|bun\.env|import\.meta\.env|deno\.env|getenv/i; +export function userFacing(sources: { path: string; text: string }[], hits: H[]): H[] { + const text = new Map(sources.map(s => [s.path, s.text.split('\n')])); + return hits.filter(h => { + const lines = text.get(h.file); + if (!lines) return true; + return !SERVER_IDENTITY.test(lines.slice(Math.max(0, h.line - 4), h.line).join('\n')); + }); +} export const SIGNALS = { appleSignIn: /ASAuthorizationAppleIDProvider|SignInWithAppleButton|AppleAuthenticationButton|AppleAuthentication\.signInAsync|appleAuth\.performRequest|SignInWithApple|OAuthProvider\(\s*['"]apple\.com|AppleAuthProvider|signInWithApple|AppleAuthManager/, thirdPartyLogin: /GIDSignIn|GoogleSignin\.signIn|GoogleSignIn\(|GoogleAuthProvider|signInWithGoogle|FacebookAuthProvider|LoginManager\(\)\.logIn|LoginManager\.logInWithPermissions|signInWithFacebook|FacebookLogin|TwitterAuthProvider|GithubAuthProvider|OAuthProvider\(\s*['"](microsoft\.com|yahoo\.com|twitter\.com|github\.com)/, diff --git a/tests/scan.test.ts b/tests/scan.test.ts index 22b3e92..2b81bc7 100644 --- a/tests/scan.test.ts +++ b/tests/scan.test.ts @@ -13,7 +13,7 @@ import { runScan } from '../cli/lib/scan'; import { PLAY_REFS } from '../cli/lib/scan/play-rules'; import { vaguePurpose } from '../cli/lib/scan/permissions'; import { detectProject, isBuilt, parsePlist } from '../cli/lib/scan/project'; -import { SIGNALS } from '../cli/lib/scan/rules'; +import { SIGNALS, userFacing } from '../cli/lib/scan/rules'; import { localSwiftPackages, nativeIosPlugins, workspaceDirs } from '../cli/lib/node-packages'; import type { ScanFinding } from '../cli/lib/scan/rules'; import { matchesSdk, SDKS, versionAtLeast } from '../cli/lib/scan/sdks'; @@ -395,6 +395,10 @@ describe('monorepo: username accounts without email, plugins in apps/native/node ' pubsub: { email: cfg.serviceAccount },', ' smtp: { host, email: env.SMTP_USER },']; for (const s of yes) expect({ s, hit: SIGNALS.email.test(s) }).toEqual({ s, hit: true }); for (const s of no) expect({ s, hit: SIGNALS.email.test(s) }).toEqual({ s, hit: false }); + // multi-line: the identity is named in the doc comment above (a game apps/server/src/iap/rtdn.ts) + const rtdn = 'export interface RtdnAuthConfig {\n /** OIDC audience of the push subscription. */\n audience: string | null;\n /** Push service account email the token must carry. */\n email: string | null;\n}\nconst body = { email: form.email };'; + const src = [{ path: 'rtdn.ts', text: rtdn }]; + expect(userFacing(src, [{ file: 'rtdn.ts', line: 5 }, { file: 'rtdn.ts', line: 7 }]).map(h => h.line)).toEqual([7]); }); test('built output is low trust', () => { expect(isBuilt('apps/native/web/bundle/routes-AbC12345.js')).toBe(true); From 728b216dcce82889c1c965d73373b01aef344886 Mon Sep 17 00:00:00 2001 From: CRT Date: Thu, 15 Oct 2026 22:51:31 +0800 Subject: [PATCH 004/353] tests: the rtdn email fixture keeps the user-data line out of the service-account comment's window --- tests/scan.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scan.test.ts b/tests/scan.test.ts index 2b81bc7..0bc0606 100644 --- a/tests/scan.test.ts +++ b/tests/scan.test.ts @@ -396,9 +396,9 @@ describe('monorepo: username accounts without email, plugins in apps/native/node for (const s of yes) expect({ s, hit: SIGNALS.email.test(s) }).toEqual({ s, hit: true }); for (const s of no) expect({ s, hit: SIGNALS.email.test(s) }).toEqual({ s, hit: false }); // multi-line: the identity is named in the doc comment above (a game apps/server/src/iap/rtdn.ts) - const rtdn = 'export interface RtdnAuthConfig {\n /** OIDC audience of the push subscription. */\n audience: string | null;\n /** Push service account email the token must carry. */\n email: string | null;\n}\nconst body = { email: form.email };'; + const rtdn = 'export interface RtdnAuthConfig {\n /** OIDC audience of the push subscription. */\n audience: string | null;\n /** Push service account email the token must carry. */\n email: string | null;\n}\n\nexport async function signUp(form: Form) {\n // the sign-up request\n const body = { email: form.email };'; const src = [{ path: 'rtdn.ts', text: rtdn }]; - expect(userFacing(src, [{ file: 'rtdn.ts', line: 5 }, { file: 'rtdn.ts', line: 7 }]).map(h => h.line)).toEqual([7]); + expect(userFacing(src, [{ file: 'rtdn.ts', line: 5 }, { file: 'rtdn.ts', line: 10 }]).map(h => h.line)).toEqual([10]); }); test('built output is low trust', () => { expect(isBuilt('apps/native/web/bundle/routes-AbC12345.js')).toBe(true); From dcca4e86e4ba980f6e6c7cbf61c620cca40ca444 Mon Sep 17 00:00:00 2001 From: CRT Date: Fri, 16 Oct 2026 00:09:06 +0800 Subject: [PATCH 005/353] storebound 0.8.8: version in package.json and every copy, CHANGELOG 0.8.8 section --- .claude-plugin/marketplace.json | 2 +- .claude-plugin/plugin.json | 2 +- .codex-plugin/plugin.json | 2 +- CHANGELOG.md | 2 ++ apps/desktop/package.json | 2 +- apps/desktop/src-tauri/Cargo.lock | 2 +- apps/desktop/src-tauri/Cargo.toml | 2 +- apps/desktop/src-tauri/tauri.conf.json | 2 +- gemini-extension.json | 2 +- package.json | 2 +- 10 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 81f2d6f..9838cdd 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -9,7 +9,7 @@ "name": "storebound", "source": ".", "description": "Take a mobile app or game from nothing to Submit for review on both stores: skills for every store step and questionnaire plus the storebound CLI and MCP server.", - "version": "0.8.7", + "version": "0.8.8", "category": "development", "tags": [ "mobile", diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index f4238f1..638028c 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "storebound", - "version": "0.8.7", + "version": "0.8.8", "description": "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every questionnaire (Data safety, App access and demo accounts, account deletion, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa's own toolchain, open-sourced.", "author": { "name": "CRTkafa" diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index 102d28d..1ac6add 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "storebound", - "version": "0.8.7", + "version": "0.8.8", "description": "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every questionnaire (Data safety, App access and demo accounts, account deletion, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa's own toolchain, open-sourced.", "author": { "name": "CRTkafa" diff --git a/CHANGELOG.md b/CHANGELOG.md index b984278..cb1debc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 0.8.8 · 2026-10-15 + - **Console pages as absolute deep links.** Every finding, fix hint, error and plan step that points to an App Store Connect or Play Console page now prints the readable path plus the absolute URL of that page for the app (`cli/lib/console-links.ts`; apple.appId, play.developerId and play.appId pick the app, the app list otherwise). diff --git a/apps/desktop/package.json b/apps/desktop/package.json index f33d390..7485f8d 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@storebound/desktop", - "version": "0.8.7", + "version": "0.8.8", "private": true, "license": "MIT", "type": "module", diff --git a/apps/desktop/src-tauri/Cargo.lock b/apps/desktop/src-tauri/Cargo.lock index 4fa47e0..fe5ffb3 100644 --- a/apps/desktop/src-tauri/Cargo.lock +++ b/apps/desktop/src-tauri/Cargo.lock @@ -4010,7 +4010,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "storebound-desktop" -version = "0.8.7" +version = "0.8.8" dependencies = [ "base64 0.22.1", "getrandom 0.3.4", diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml index 8bbd304..4d009bf 100644 --- a/apps/desktop/src-tauri/Cargo.toml +++ b/apps/desktop/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "storebound-desktop" -version = "0.8.7" +version = "0.8.8" description = "storebound desktop: every game's releases on both stores in one window" license = "MIT" edition = "2021" diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json index 2eea2d9..312b828 100644 --- a/apps/desktop/src-tauri/tauri.conf.json +++ b/apps/desktop/src-tauri/tauri.conf.json @@ -2,7 +2,7 @@ "$schema": "https://schema.tauri.app/config/2", "productName": "storebound", "mainBinaryName": "storebound-desktop", - "version": "0.8.7", + "version": "0.8.8", "identifier": "dev.storebound.desktop", "build": { "frontendDist": "../dist", diff --git a/gemini-extension.json b/gemini-extension.json index 476c9c7..05df329 100644 --- a/gemini-extension.json +++ b/gemini-extension.json @@ -1,6 +1,6 @@ { "name": "storebound", - "version": "0.8.7", + "version": "0.8.8", "description": "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every questionnaire (Data safety, App access and demo accounts, account deletion, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa's own toolchain, open-sourced.", "contextFileName": "GEMINI.md", "mcpServers": { diff --git a/package.json b/package.json index 4b35f3b..f214abf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "storebound", - "version": "0.8.7", + "version": "0.8.8", "description": "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every store questionnaire (incl. account deletion and App Review demo accounts), privacy, icons, screenshots and previews, TestFlight. After launch: crash vitals, review replies, price sheets, analytics and Product Page Optimization. One config, a CLI (Node 20+ or Bun), an MCP server and Agent Skills for your AI coding agent.", "license": "MIT", "author": "CRTkafa", From 220e9bb072e077017f3fe3defaf1e7ec9c16cfb6 Mon Sep 17 00:00:00 2001 From: CRT Date: Fri, 16 Oct 2026 05:50:37 +0800 Subject: [PATCH 006/353] play: an edit Play will not send for review (400 'set changesNotSentForReview to true', a game 1.0.1 (5) after a rejection) is validated and committed again on the same edit with changesNotSentForReview=true; dry runs validate that way and say so; prints the Publishing overview link (owner's button), records it in .storebound/ for play status; --not-sent-for-review on release / upload / rollout / listing / images and MCP / desktop; pitfall 72 --- CHANGELOG.md | 10 +++ cli/data/flags.json | 28 +++++-- cli/lib/args.ts | 2 +- cli/listing-store.ts | 2 +- cli/mcp-tools.ts | 11 ++- cli/play/client.ts | 48 ++++++++++-- cli/play/images.ts | 4 +- cli/play/listing.ts | 4 +- cli/play/release.ts | 6 +- cli/play/review-pending.ts | 62 +++++++++++++++ cli/play/rollout.ts | 4 +- cli/play/status.ts | 17 +++- cli/play/upload.ts | 4 +- cli/serve.ts | 10 +-- docs/commands.md | 4 +- docs/pitfalls.md | 1 + skills/store-pitfalls/SKILL.md | 18 +++++ tests/helpers/fake-stores.ts | 7 ++ tests/play-not-sent-for-review.test.ts | 104 +++++++++++++++++++++++++ 19 files changed, 305 insertions(+), 41 deletions(-) create mode 100644 cli/play/review-pending.ts create mode 100644 tests/play-not-sent-for-review.test.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index cb1debc..040af4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ ## Unreleased +- **Play edits Play will not send for review are committed anyway.** After a rejection, with other pending changes or + managed publishing, Play answers validate / commit with 400 "Changes cannot be sent for review automatically. Please + set the query parameter changesNotSentForReview to true". storebound now validates and commits the same edit again + with that parameter (a dry run validates that way and says the real run will commit so), then prints "committed; + Play did not send it for review: press Send changes for review in Publishing overview: " (the owner's button). + `--not-sent-for-review` on `play release`, `upload`, `rollout`, `listing` and `images` (MCP / desktop + `not_sent_for_review`) sets it from the start. The API cannot read that changes wait to be sent, so storebound records + its commit in `.storebound/` and `play status` shows "changes committed