appstore-precheck 1.19.0 → 1.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/README.md +81 -39
  3. package/package.json +2 -2
  4. package/skills/appstore-precheck/SKILL.md +41 -146
  5. package/skills/appstore-precheck/guidelines-baseline.json +284 -35
  6. package/skills/appstore-precheck/guidelines-fingerprints.json +307 -93
  7. package/skills/appstore-precheck/references/finding-commentary.md +93 -0
  8. package/skills/appstore-precheck/references/methodology.md +56 -19
  9. package/skills/appstore-precheck/references/optional-review.md +56 -0
  10. package/skills/appstore-precheck/references/pierre-deep-review.md +292 -47
  11. package/skills/appstore-precheck/references/review-catalog.json +500 -13
  12. package/skills/appstore-precheck/references/screenshot-vision-review.md +8 -8
  13. package/skills/appstore-precheck/references/simulator-dynamic-review.md +73 -12
  14. package/skills/appstore-precheck/references/typesafe.md +15 -0
  15. package/skills/appstore-precheck/scripts/artifact-review.sh +10 -0
  16. package/skills/appstore-precheck/scripts/augment-json.py +29 -0
  17. package/skills/appstore-precheck/scripts/build-run.sh +5 -0
  18. package/skills/appstore-precheck/scripts/coverage-sections.sh +6 -0
  19. package/skills/appstore-precheck/scripts/dynamic-run.sh +94 -9
  20. package/skills/appstore-precheck/scripts/dynamic.sh +25 -1
  21. package/skills/appstore-precheck/scripts/evidence.sh +8 -3
  22. package/skills/appstore-precheck/scripts/findings.sh +8 -0
  23. package/skills/appstore-precheck/scripts/lib/artifact-review.py +518 -0
  24. package/skills/appstore-precheck/scripts/lib/asc-client.py +293 -0
  25. package/skills/appstore-precheck/scripts/lib/build-evidence.py +50 -0
  26. package/skills/appstore-precheck/scripts/lib/build-exec.py +50 -0
  27. package/skills/appstore-precheck/scripts/lib/build-plan.py +106 -0
  28. package/skills/appstore-precheck/scripts/lib/build-plan.sh +15 -0
  29. package/skills/appstore-precheck/scripts/lib/build-run.py +177 -0
  30. package/skills/appstore-precheck/scripts/lib/coverage-run.sh +23 -0
  31. package/skills/appstore-precheck/scripts/lib/coverage-sections.py +250 -0
  32. package/skills/appstore-precheck/scripts/lib/dyn-demo-login.py +111 -0
  33. package/skills/appstore-precheck/scripts/lib/dyn-device.sh +32 -4
  34. package/skills/appstore-precheck/scripts/lib/dyn-explore.py +316 -0
  35. package/skills/appstore-precheck/scripts/lib/dyn-guideline-capture.py +301 -0
  36. package/skills/appstore-precheck/scripts/lib/dyn-guidelines.py +112 -0
  37. package/skills/appstore-precheck/scripts/lib/dyn-guidelines.sh +23 -0
  38. package/skills/appstore-precheck/scripts/lib/dyn-process.py +75 -0
  39. package/skills/appstore-precheck/scripts/lib/dyn-quorum.sh +28 -30
  40. package/skills/appstore-precheck/scripts/lib/dyn-scrub.py +77 -0
  41. package/skills/appstore-precheck/scripts/lib/dyn-signals.sh +2 -2
  42. package/skills/appstore-precheck/scripts/lib/metadata-review.py +369 -0
  43. package/skills/appstore-precheck/scripts/lib/optin-scan.sh +79 -0
  44. package/skills/appstore-precheck/scripts/lib/optional-records.py +60 -0
  45. package/skills/appstore-precheck/scripts/lib/runtime-blocking.py +26 -0
  46. package/skills/appstore-precheck/scripts/lib/safe_write.py +70 -0
  47. package/skills/appstore-precheck/scripts/lib/scan-guidelines.sh +109 -0
  48. package/skills/appstore-precheck/scripts/lib/static-guidelines.py +370 -0
  49. package/skills/appstore-precheck/scripts/lib/static-reader.py +39 -0
  50. package/skills/appstore-precheck/scripts/metadata-review.sh +4 -0
  51. package/skills/appstore-precheck/scripts/opt-in-review.py +160 -0
  52. package/skills/appstore-precheck/scripts/runtime-review.sh +5 -0
  53. package/skills/appstore-precheck/scripts/scan.sh +58 -24
  54. package/skills/appstore-precheck/scripts/semantic/client.py +3 -1
  55. package/skills/appstore-precheck/scripts/semantic/collect.py +82 -38
  56. package/skills/appstore-precheck/scripts/semantic/engine.py +165 -127
  57. package/skills/appstore-precheck/scripts/semantic/questions.py +5 -1
  58. package/skills/appstore-precheck/scripts/semantic/review_v4.py +81 -0
@@ -1,5 +1,8 @@
1
1
  # Methodology: App Store Precheck
2
2
 
3
+ Coverage inventory: 93/102 leaf sections (91%); 93 touched, 2 positive-only; 71 static vectors, 56 deep-review checks, 20 dynamic checks, 5 vision checks, 9 human-only sections.
4
+ Coverage means sections touched, not automatic verification.
5
+
3
6
  The detailed reference behind the skill. Read the section you need; you do not need to read this
4
7
  whole file to run the skill.
5
8
 
@@ -8,7 +11,7 @@ whole file to run the skill.
8
11
  - [Phase 0: Guideline drift check](#phase-0-guideline-drift-check)
9
12
  - [Phase 1: Rejection vectors](#phase-1-rejection-vectors)
10
13
  - [Phase 3: Pierre explains every finding](#phase-3-pierre-explains-every-finding)
11
- - [Phase 4: Pierre deep review (29 checks)](#phase-4-pierre-deep-review-29-semantic-checks)
14
+ - [Phase 4: Pierre deep review (56 checks)](#phase-4-pierre-deep-review-56-semantic-checks)
12
15
  - [Auto-detection rules](#auto-detection-rules)
13
16
  - [Verdict thresholds](#verdict-thresholds)
14
17
  - [Evidence strength and confidence](#evidence-strength-and-confidence)
@@ -83,23 +86,23 @@ citable like any sub-section; every link and citation resolves `N.0` back to `#N
83
86
  | 2 | **5.1.1 Purpose Strings** | Every imported sensitive framework (FamilyControls, CoreLocation, AVFoundation, Photos, Contacts, HealthKit) has a non-empty `NS*UsageDescription` in Info.plist |
84
87
  | 3 | **5.1.2 ATT** | If `AppTrackingTransparency`/`ATTrackingManager` is used, `NSUserTrackingUsageDescription` is present |
85
88
  | 4 | **2.3.10 Other platforms** | No "Android" / "Google Play" / competitor store names in store metadata |
86
- | 5 | **2.3.1 Metadata limits** | name ≤30, subtitle ≤30, keywords ≤100, promotional_text ≤170, description ≤4000 (Unicode codepoints, matching ASC) |
87
- | 6 | **2.3.7 Localized parity** | Every detected locale has name + subtitle + description + keywords |
89
+ | 5 | **2.3.7 / ASC Metadata limits** | name ≤30, subtitle ≤30, keywords ≤100, promotional_text ≤170, description ≤4000 (Unicode codepoints, matching ASC) |
90
+ | 6 | **2.3 Localized parity** | Every detected locale has name + subtitle + description + keywords |
88
91
  | 7 | **2.3.3 Screenshots** | Each locale folder has at least one screenshot (warns if <3) |
89
92
  | 8 | **3.1.2 Trial disclosure** | If trial wording exists, a trial→paid auto-renew disclosure key exists |
90
93
  | 9 | **3.1.2 Auto-renew disclosure** | A subscription disclosure string exists and covers each locale |
91
94
  | 10 | **3.1.2 Required links** | The paywall view contains Restore Purchases + Terms of Use (EULA) + Privacy Policy |
92
95
  | 11 | **2.5.1 Private API** | No banned identifiers (`UIWebView`, `setSelectionIndicatorImage`, `_UIBackdropView`, `NSURLConnection`, …) |
93
96
  | 12 | **4.2 Minimum functionality** | At least one navigation hub (`TabView` / `NavigationStack` / `NavigationSplitView`) |
94
- | 13 | **5.1.5 Sensitive APIs** *(opt-in)* | If FamilyControls is used and `optionalChecks.familyControls` is on, a reviewer-notes justification exists |
97
+ | 13 | **Review preparation: Sensitive APIs** *(opt-in)* | If FamilyControls is used and `optionalChecks.familyControls` is on, a reviewer-notes justification exists |
95
98
  | 14 | **4.8 Sign in with Apple** *(advisory)* | If a third-party social login SDK (Google, Facebook, Auth0, …) is used, Sign in with Apple is offered too |
96
- | 15 | **3.1.1(a) External purchase link** *(advisory)* | If StoreKit External Purchase APIs or the entitlement are present, the 3.1.1(a) disclosure/reporting requirements are flagged |
99
+ | 15 | **3.1.1(a) External purchase link** *(advisory)* | If StoreKit External Purchase APIs or the entitlement are present, review offering, storefront, distribution and applicable agreements before determining entitlement/disclosure/reporting duties |
97
100
  | 16 | **5.1.2 Tracking SDK / IDFA** *(advisory)* | If an ad / attribution SDK (AdMob, AppLovin, AppsFlyer, Adjust, Branch, ironSource, Unity Ads, Vungle, Chartboost, InMobi, Mintegral, Pangle, Singular, Kochava, Tenjin) or raw IDFA access is present but no ATT prompt is, it is flagged (the reverse of vector 3). Per-SDK coverage: [`tests/test-sdk-signals.sh`](../../../tests/test-sdk-signals.sh) |
98
101
  | 17 | **Export compliance** *(advisory)* | If a checked-in Info.plist lacks `ITSAppUsesNonExemptEncryption`, set it (true/false) to skip the App Store Connect encryption-export question |
99
102
  | 18 | **2.3 Support / Privacy URL** *(advisory)* | fastlane metadata has a non-empty `support_url.txt` and `privacy_url.txt` across locales, with no placeholder URLs |
100
103
  | 19 | **5.1.1 Privacy manifest** *(advisory)* | If an analytics SDK (Firebase, Amplitude, Mixpanel, Sentry, Segment, Bugsnag, App Center, Datadog, PostHog, Heap, Countly, Matomo, Smartlook, Instabug, New Relic, Embrace) is linked but `PrivacyInfo.xcprivacy` declares no collected data types or tracking domains, it is flagged. Per-SDK coverage: [`tests/test-sdk-signals.sh`](../../../tests/test-sdk-signals.sh) |
101
104
  | 20 | **2.1 Placeholder content** *(advisory)* | No lorem ipsum / TODO / FIXME / `example.com` / "insert X here" / changeme in store metadata |
102
- | 21 | **3.1.1 Third-party payment SDK** *(advisory)* | If a third-party payment SDK (Stripe, Braintree, PayPal, Square, Adyen, …) is linked, flag it: digital goods/services must use in-app purchase (allowed only for physical goods/services) |
105
+ | 21 | **3.1.1 Third-party payment SDK** *(advisory)* | If a third-party payment SDK (Stripe, Braintree, PayPal, Square, Adyen, …) is linked, review the offering, storefront, distribution and applicable 3.1.1/3.1.3 exceptions; SDK presence alone establishes no violation |
103
106
  | 22 | **1.2 UGC moderation** *(advisory)* | If user-generated-content signals (post/comment/upload, chat SDKs) are present but no report/block/moderation affordance is found, flag the missing 1.2 safety controls |
104
107
  | 23 | **1.6 App Transport Security** *(advisory)* | `NSAllowsArbitraryLoads=true` in Info.plist disables ATS app-wide |
105
108
  | 24 | **4.9 Apple Pay recurring** *(advisory)* | If the recurring Apple Pay API (`PKRecurringPaymentRequest`) is used: verify the renewal term, what's provided, charges, and cancel disclosure |
@@ -112,8 +115,8 @@ citable like any sub-section; every link and citation resolves `N.0` back to `#N
112
115
  | 31 | **2.1 Demo account** *(advisory)* | If a credential login (`SecureField` / a Login/SignIn view) is present but no demo account/credentials for App Review are found (fastlane `review_information` or `.reviewPrepNotes`) |
113
116
  | 32 | **2.5.2 Executable code** *(advisory)* | A native hot-patch / remote-code framework (JSPatch, Rollout, DynamicCocoa) that downloads code which changes features. Allowed JS-bundle OTA (React Native CodePush) is not flagged |
114
117
  | 33 | **2.5.4 Background modes** *(advisory)* | A mode declared in `UIBackgroundModes` (location, audio, voip, fetch, processing, bluetooth, remote-notification) with no matching API used in Swift |
115
- | 34 | **3.1.5(a) Cryptocurrency** *(advisory)* | A crypto wallet / exchange / mining signal (WalletConnect, web3swift, TrustWalletCore, mining libraries) with its entity/licensing and no-on-device-mining requirements |
116
- | 35 | **4.2.3 Web wrapper** *(advisory)* | A `WKWebView` in a project with very few Swift files — heuristic for a thin wrapper around a website. The most false-positive-prone of the batch, so WARN/verify |
118
+ | 34 | **3.1.5 Cryptocurrency** *(advisory)* | A crypto wallet / exchange / mining signal (WalletConnect, web3swift, TrustWalletCore, mining libraries) with its entity/licensing and no-on-device-mining requirements |
119
+ | 35 | **4.2 Web wrapper** *(advisory)* | A `WKWebView` in a project with very few Swift files — heuristic for a thin wrapper around a website. The most false-positive-prone of the batch, so WARN/verify |
117
120
  | 36 | **4.2.7 Remote desktop** *(advisory)* | A remote-desktop / host-mirroring signal (VNC/RDP libraries); host-mirroring apps must only show the owner's host and be free or use IAP |
118
121
  | 37 | **4.4.2 Safari extension** *(advisory)* | A Safari content-blocker / web extension (`com.apple.Safari.*` extension point); must use the APIs as intended and not hide analytics/ads |
119
122
  | 38 | **5.1.1(v) Account deletion** *(advisory)* | Account creation (`signUp`/`createUser`/`createAccount`/…) detected but no in-app account-deletion path (`deleteAccount`/`closeAccount`/…). This is the real 5.1.1(v) Account Sign-In rule |
@@ -123,7 +126,7 @@ citable like any sub-section; every link and citation resolves `N.0` back to `#N
123
126
  | 42 | **2.3.3 Screenshot format/dimensions** *(advisory)* | Reads each in-repo screenshot's magic bytes and, for PNGs, its IHDR pixel dimensions; WARNs on a file whose content does not match its extension, a truncated PNG, or a PNG whose size matches no known App Store screenshot size (either orientation). JPEG dimensions are not parsed (format-checked only). WARN-only — never forces a RED verdict. |
124
127
  | 43 | **5.1.1(iv) Permission priming** *(advisory)* | Custom pre-permission screens whose consent CTA steers users toward granting access ("Allow and continue", "Grant access to start", bare "Enable notifications" buttons) near a runtime permission request; Apple requires neutral wording ("Continue"/"Next"). Post-denial "Enable X in Settings" guidance is excluded. Source-language strings only (String Catalogs + hardcoded literals; English + common tr/de/fr/es steering patterns) |
125
128
  | 44 | **3.1.2 Trial-emphasized paywall CTA** *(advisory)* | Paywall purchase buttons that promote the free trial over the billed price ("Continue with free trial", "Start your free trial") and "free-trial toggle" paywalls (a Toggle next to trial wording) — the 2026 App Review rejection wave under 3.1.2. A CTA that already shows the price is excluded; the fix is a neutral CTA ("Continue"/"Subscribe") with price + renewal term legible next to it. Source-language strings only (English + common tr/de/fr/es trial patterns, both word orders) |
126
- | 45 | **2.3.1 Pricing language in name/subtitle** *(advisory)* | "Free", "% off", "sale", "discount", or a currency amount in `name.txt` / `subtitle.txt` (2.3.1 / 2.3.7 accurate metadata): prices vary by storefront and belong in the price field. Hyphen compounds ("ad-free") are excluded; keywords and descriptions are not scanned. The offline complement to `fastlane precheck`'s pricing rules (Phase 2 needs ASC credentials; this does not) |
129
+ | 45 | **2.3.7 Pricing language in name/subtitle** *(advisory)* | "Free", "% off", "sale", "discount", or a currency amount in `name.txt` / `subtitle.txt` (2.3.7 accurate metadata): prices vary by storefront and belong in the price field. Hyphen compounds ("ad-free") are excluded; keywords and descriptions are not scanned. The offline complement to `fastlane precheck`'s pricing rules (Phase 2 needs ASC credentials; this does not) |
127
130
  | 46 | **5.1.1(ii) Generic purpose strings** *(advisory)* | Non-empty `NS*UsageDescription` values that are very short (<20 chars) or restate the permission without the user-facing feature ("This app needs camera access"). Vector 2 checks presence; this checks substance. Static complement to deep-review check 18 |
128
131
  | 47 | **5.1.1 Third-party AI consent** *(advisory)* | An external AI endpoint/SDK (OpenAI, Anthropic, Gemini, Mistral, OpenRouter, Groq, Perplexity, Together) is in the code but no user-facing string names the provider — since 2026 App Review expects a consent screen naming the AI provider and what data is shared (5.1.1 / 5.1.2(i)). The endpoint URL literal itself does not count as a mention |
129
132
  | 48 | **3.1.2 Paywall urgency/scarcity** *(advisory)* | Fake-urgency purchase pressure near the paywall: "limited time" / "only today" / "last chance" copy (multilingual), or a countdown timer combined with discount wording in a paywall view (3.1.2 / 2.3.1 misleading purchase pressure) |
@@ -134,6 +137,26 @@ citable like any sub-section; every link and citation resolves `N.0` back to `#N
134
137
  | 53 | **3.1.2 EULA link in metadata** *(IAP-gated)* | Every locale’s App Store `description.txt` contains a functional Terms of Use (EULA) URL — auto-renewable-subscription apps are rejected without one in the app metadata (a custom EULA set in App Store Connect also satisfies Apple, but the description link is the checkable signal) |
135
138
  | 54 | **4.3(b) Saturated category** *(advisory)* | The app name / subtitle / keywords place it in a category Apple names in 4.3(b) (dating, flashlight, sound effects, wallpaper, simple timers, fortune telling, drinking games, kama sutra, fart, burp) — exposure, not a violation; the differentiation question is deep-review check 30 |
136
139
  | 55 | **2.5.5 IPv6-only** *(advisory)* | A legacy IPv4-only BSD socket API (`inet_addr`, `inet_aton`, `gethostbyname`, `sockaddr_in`, `AF_INET`) or a hardcoded IPv4 literal in source or a plist. App Review runs on an IPv6-only NAT64 network: DNS64 synthesizes hostnames, but a literal has nothing to synthesize from and the IPv4 API cannot address that network. Excludes loopback, `0.0.0.0`, `255.x` masks, CIDR ranges, version-looking values and comment lines |
140
+ | 56 | **2.3.12 release-notes-specificity** *(advisory)* | Empty update notes, placeholders or duplicated description require review. Bug-fix notes and empty initial 1.0 notes are allowed; unknown version lowers confidence. |
141
+ | 57 | **2.4.4 device-restart-instructions** *(advisory)* | English quoted source strings and String Catalog/resource text only; contextual review remains necessary. |
142
+ | 58 | **2.5.6 browser-engine** *(advisory)* | Dependency-name and deprecated UIWebView type-use signals only; regional browser entitlements and shipping target require review. UIWebView is WARN, not FAIL. |
143
+ | 59 | **2.5.11 intent-handler-parity** *(advisory)* | Legacy declarations and handler parity only; modern AppIntent is deliberately exempt from legacy plist registration. |
144
+ | 60 | **2.5.12 call-filter-controls** *(advisory)* | Filter/directory APIs only: normal VoIP CallKit is deliberately excluded. Labels may exist on unreachable UI. |
145
+ | 61 | **2.5.13 face-authentication** *(advisory)* | Face API and authentication terms must coexist in one file; LocalAuthentication presence elsewhere suppresses the warning, without proving correct authentication. |
146
+ | 62 | **2.5.15 document-browser-access** *(advisory)* | Custom file-browser signals without system Files/iCloud access require review. UIDocumentPicker, fileImporter and UIDocumentBrowser are compliant signals. |
147
+ | 63 | **2.5.16 extension-bundle-parity** *(advisory)* | Discovered extension/App Clip manifests only; absent or variable bundle identifiers are SKIP pending resolved build settings. |
148
+ | 64 | **2.5.17 matter-extension** *(advisory)* | Matter source import or setup entitlement without a discovered Matter extension; generated target settings may need manual inspection. |
149
+ | 65 | **2.5.18 extension-advertising** *(advisory)* | Imports in extension/App Clip manifest directories only; pbxproj link-phase target resolution is not audited. No extension means SKIP. |
150
+ | 66 | **4.2.1 ar-integration-depth** *(advisory)* | Low-confidence source footprint proxy: one AR usage file and fewer than two view declarations; does not establish functionality quality. |
151
+ | 67 | **4.2.3 companion-app-required** *(advisory)* | App query schemes plus a quoted install-to-continue instruction; arbitrary canOpenURL control/data flow is not inferred. |
152
+ | 68 | **4.5.5 game-center-id-sharing** *(advisory)* | Game Center identifier and network/analytics API must coexist in one file; explicitly no assertion of actual data flow. |
153
+ | 69 | **4.5.6 metadata-emoji** *(advisory)* | Low-confidence embedded emoji artwork filenames/assets require visual/license review. Metadata emoji characters are permitted; icon pixels remain unaudited. |
154
+ | 70 | **4.7.2 miniapp-native-bridge** *(advisory)* | All four signals must coexist in one file: handler, remote JS URL, evaluation and native-sensitive API. Does not resolve bridge access control. |
155
+ | 71 | **5.2.4 apple-endorsement-claims** *(advisory)* | Narrow English endorsement/official-product patterns; authorized claims still require human confirmation. Ordinary iPhone compatibility text stays clean. |
156
+
157
+ New source checks skip compiled bundles and pruned dependencies. Unreadable or incomplete
158
+ inputs produce additive coverage gaps: source/manifest reads are bounded to 2 MiB and
159
+ localization resources to 8 MiB. UTF-16 strings are decoded; unreadable files are skipped individually and reported with relative paths. No readable source yields SKIP; a negative signal among remaining readable files is not proof about skipped files.
137
160
 
138
161
  Vectors 8–10 only run when in-app-purchase signals are detected (StoreKit / RevenueCat import,
139
162
  or a paywall view). Otherwise the scanner emits a single PASS and skips them. Vectors 16–52, 54 and 55 (plus the IAP-gated 53) are
@@ -194,24 +217,22 @@ finds; Pierre explains.
194
217
 
195
218
  ---
196
219
 
197
- ## Phase 4: Pierre deep review (31 semantic checks)
220
+ ## Phase 4: Pierre deep review (56 semantic checks)
198
221
 
199
- After Phase 3, Pierre runs the **Review Simulator**: 31 evidence-based checks the static scanner
200
- cannot fully judge — **23 Tier A** (high-confidence) plus **8 Tier B v1** heuristic checks (items
201
- **4, 5, 7, 10, 15, 29, 30, 31** in the checklist: 2.1 review notes, 2.2, 2.3.4, 2.3.9, 4.5.1–4.5.3,
202
- 5.6.1/5.6.3, 4.3 differentiation, 4.0 design minimum). Full procedure, output format, and per-check steps are in
222
+ After Phase 3, Pierre runs the **Review Simulator**: 56 evidence-based checks the static scanner
223
+ cannot fully judge: Tier A cross-reads, Tier B heuristics and Tier C host vision. Full procedure and per-check evidence requirements are in
203
224
  [`pierre-deep-review.md`](pierre-deep-review.md).
204
225
 
205
- **Verdict impact:** none. Phase 4 emits `REVIEW-PASS:` or `REVIEW-FINDING: <guideline> WARN — …`.
226
+ **Verdict impact:** none. Phase 4 uses the reference outcome definitions, separating missing evidence, unsupported inspection, unexecuted checks and evidence-backed non-applicability from PASS/FINDING.
206
227
  These are advisory; FAIL/WARN counts and GREEN/YELLOW/RED come only from Phases 0–2.
207
228
 
208
229
  **Coverage:** deepens scan hits where applicable (e.g. 5.1.1 purpose strings → 5.1.1(ii) quality;
209
- §22 UGC keyword → 1.2.1 moderation UI) and adds net-new semantic areas (2.3.5 screenshots,
210
- 5.1.1(i) privacy policy fetch, 2.3.11–13 locale consistency, etc.). Guideline numbers touched
230
+ §22 UGC keyword → 1.2 moderation UI) and adds net-new semantic areas (2.3.3 screenshots,
231
+ 5.1.1(i) privacy policy fetch, 2.3 locale consistency, etc.). Guideline numbers touched
211
232
  are tracked in `guidelines-baseline.json` → `covered_by_pierre_deep_review`.
212
233
 
213
- **Presentation (Phase 5):** after Phase 3 commentary, show Phase 4 summary (N of 31 findings) and
214
- every `REVIEW-FINDING` with Pierre's 2–3 sentence explanation. Tier B v1 findings are heuristic.
234
+ **Presentation (Phase 5):** after Phase 3 commentary, show Phase 4 summary (N of 56 findings) and
235
+ every `REVIEW-FINDING` with Pierre's 2–3 sentence explanation. Tier B findings are heuristic; new v4 checks emit FINDING, SKIP or no signal, never PASS.
215
236
 
216
237
  ---
217
238
 
@@ -442,6 +463,22 @@ completeness test (`is_gap_record`, convention: ids ending in `-not-audited`).
442
463
  | 53 | `subscription-eula-metadata` | metadata | review-risk | — |
443
464
  | 54 | `saturated-category` | metadata | judgment-call | — |
444
465
  | 55 | `ipv4-literal` | source | review-risk | — |
466
+ | 56 | `release-notes-specificity` | metadata | judgment-call | — |
467
+ | 57 | `device-restart-instructions` | source | judgment-call | — |
468
+ | 58 | `browser-engine` | source | judgment-call | — |
469
+ | 59 | `intent-handler-parity` | source | judgment-call | — |
470
+ | 60 | `call-filter-controls` | source | judgment-call | — |
471
+ | 61 | `face-authentication` | source | judgment-call | — |
472
+ | 62 | `document-browser-access` | source | judgment-call | — |
473
+ | 63 | `extension-bundle-parity` | source | judgment-call | — |
474
+ | 64 | `matter-extension` | source | judgment-call | — |
475
+ | 65 | `extension-advertising` | source | judgment-call | — |
476
+ | 66 | `ar-integration-depth` | source | judgment-call | — |
477
+ | 67 | `companion-app-required` | source | judgment-call | — |
478
+ | 68 | `game-center-id-sharing` | source | judgment-call | — |
479
+ | 69 | `metadata-emoji` | resource | judgment-call | — |
480
+ | 70 | `miniapp-native-bridge` | source | judgment-call | — |
481
+ | 71 | `apple-endorsement-claims` | metadata | judgment-call | — |
445
482
 
446
483
  *Generated from `scripts/evidence.sh`; `tests/test-evidence.sh` keeps it honest.*
447
484
 
@@ -0,0 +1,56 @@
1
+ # Explicit optional review tiers
2
+
3
+ The default scan reads the project and emits static findings. These optional tiers
4
+ require an explicit CLI choice; they are not evidence that every guideline passed.
5
+
6
+ ```bash
7
+ # Read an existing artifact, without executing it.
8
+ bash skills/appstore-precheck/scripts/scan.sh --dir /path/to/project \
9
+ --app /path/to/Debug-iphonesimulator/App.app --no-runtime --format json
10
+
11
+ # Local metadata only; ASC access and URL checks require their separate options.
12
+ bash skills/appstore-precheck/scripts/scan.sh --dir /path/to/project \
13
+ --metadata --format json --out /path/outside/project/review
14
+
15
+ # Explicitly execute build scripts in a disposable source copy.
16
+ bash skills/appstore-precheck/scripts/build-run.sh --repo /path/to/project \
17
+ --out /path/outside/project/build
18
+ ```
19
+
20
+ `--app` without `--no-runtime` requests simulator execution. `--build` requests both
21
+ an isolated build and runtime review unless `--no-runtime` is supplied. The dynamic
22
+ runner itself never builds. Missing tools or an ambiguous project/scheme produce
23
+ SKIP with the reason; an existing `.app` can be supplied instead. Expo preparation
24
+ requires a locked package manager install before generating its iOS project.
25
+
26
+ Build scripts are arbitrary code. The temporary source copy is not an OS or network
27
+ sandbox. Release scripts may upload dSYMs. The child environment is restricted and
28
+ credential files are excluded, but do not supply ASC/demo credentials to an untrusted
29
+ build. Compiler output is retained in the reported artifact directory's `build.log`.
30
+ Approved Flutter plugin and xcframework version links are materialized in the copy;
31
+ other source links are refused. Build evidence reports whether source hashes changed.
32
+
33
+ `--out` must be outside the input project. Text and JSON reports identify retained
34
+ output; automatically allocated SARIF output is removed after rendering. Reports
35
+ contain paths, screenshots and compiler diagnostics and should be treated as private.
36
+ The JSON additions contain tier summaries and pointers, not a guideline text corpus.
37
+
38
+ Repository `dynamic.build` and `dynamic.demoLogin` require
39
+ `APPSTORE_PRECHECK_TRUST_CONFIG=1`. Explicit CLI flags authorize the corresponding
40
+ operation. The GitHub Action clears repository trust on each scan invocation.
41
+
42
+ Demo login also requires `PRECHECK_DEMO_AUTHORIZED_TEST=1`,
43
+ `PRECHECK_DEMO_ENVIRONMENT=test` or `sandbox`, `PRECHECK_DEMO_USERNAME`,
44
+ `PRECHECK_DEMO_PASSWORD`, `PRECHECK_DEMO_SUCCESS_TEXT` and
45
+ `PRECHECK_DEMO_FAILURE_TEXT`. Field labels can be set with `PRECHECK_DEMO_USER_FIELD`,
46
+ `PRECHECK_DEMO_PASSWORD_FIELD` and `PRECHECK_DEMO_SUBMIT`. Values containing Maestro
47
+ expressions are refused. Credentials are used only in a private temporary flow and
48
+ are not retained in reports. A rejected login is a FINDING; missing or ambiguous
49
+ postconditions are SKIP, never a fabricated successful authentication.
50
+
51
+ `--dynamic-blocking` is a separate, explicit escalation option. Only launch failure
52
+ with a dead process or crash log, or an explicit rejected demo login, can qualify.
53
+ The validator requires three unanimous fresh-erase observations on an owned device;
54
+ driver failures, a uniform screenshot alone, dry runs and mixed results cannot qualify.
55
+ Other runtime observations remain advisory. Debug evidence cannot clear a requirement
56
+ for shipping-build verification. The verdict/token implementation remains unchanged.