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,18 +1,18 @@
1
- # Phase 4: Pierre deep review (31 semantic checks)
1
+ # Phase 4: Pierre deep review (56 semantic checks)
2
2
 
3
3
  After Phase 3 (explaining every scan FAIL/WARN), Pierre runs a **read-only, project-wide
4
- semantic review** of 31 guideline areas the static scanner cannot fully judge. The **23 Tier A**
5
- checks (all 31 except the Tier B items below) are high-confidence; the **8 Tier B v1** checks
6
- **4, 5, 7, 10, 15, 29, 30, and 31** are heuristic advisory (higher false-positive risk, still useful
7
- pre-submit signals).
4
+ semantic review** of 56 catalog checks the static scanner cannot fully judge: **23 Tier A**,
5
+ **26 Tier B**, and **7 Tier C**. The original 31 identities and procedures are retained;
6
+ checks 32–56 add bounded advisory questions. Tier B needs contextual judgment, and Tier C
7
+ requires direct host vision observations. These counts describe review routes, not automated approvals.
8
8
 
9
9
  This is the **Review Simulator** layer: Pierre reads Swift, metadata, entitlements, screenshots,
10
10
  xcstrings, paywall views, review notes, and fetches live privacy/support URLs — then cross-checks
11
11
  claims against evidence.
12
12
 
13
13
  **This phase does not change the GREEN/YELLOW/RED verdict.** Verdict counts come only from
14
- Phases 0–2 (`FAIL:` / `WARN:` lines). Phase 4 emits `REVIEW-PASS:` or `REVIEW-FINDING:` lines
15
- that Pierre explains in Phase 5 presentation.
14
+ Phases 0–2 (`FAIL:` / `WARN:` lines). Phase 4 emits advisory review lines
15
+ that Pierre explains in Phase 5 presentation; checks 32–56 never emit PASS.
16
16
 
17
17
  ## Rules
18
18
 
@@ -25,23 +25,28 @@ typed judgments nor their advisory output changes the scanner verdict or upload
25
25
  - **Read-only:** never modify project files.
26
26
  - **Evidence-based:** cite `file:line`, metadata path, screenshot filename, or fetched URL text.
27
27
  If you cannot read something (private URL, missing file), say so — do not invent findings.
28
- - **All 31 checks, every run:** report each item as `REVIEW-PASS:` or `REVIEW-FINDING:` — no skipping.
28
+ - **All 56 checks, every run:** report an outcome for every item. Missing evidence is `REVIEW-NEEDS-REVIEW`, unsupported inspection is `REVIEW-UNSUPPORTED`, and unexecuted checks are `REVIEW-NOT-RUN`; none is PASS. For checks 32–56, use `REVIEW-SKIP` for these gaps.
29
29
  - **REVIEW-FINDING severity:** always `WARN` (advisory). Never emit `REVIEW-FINDING: … FAIL`.
30
30
  A deep-review issue informs the human; it does not block the token by itself.
31
- - **Tier B checks (4, 5, 7, 10, 15, 29, 30, 31):** prefer `REVIEW-PASS: … — not applicable` when the signal is absent;
31
+ - **Tier B checks (see catalog tier fields):** require affirmative applicability evidence; absent repository signals alone do not prove non-applicability;
32
32
  when flagging, use cautious language ("may trigger review questions") — these are heuristics.
33
33
  - **Deepen scan hits:** when Phase 1 already flagged a guideline, Phase 4 still runs the matching
34
34
  deep check and adds semantic context (do not repeat the machine line verbatim — add what the
35
35
  scanner could not see).
36
36
  - **WebFetch:** use `WebFetch` (or equivalent) on `privacy_url.txt` and `support_url.txt` when
37
- present. If fetch fails, `REVIEW-FINDING: … WARN — could not fetch privacy policy; verify manually`.
37
+ present. If fetch fails, `REVIEW-NEEDS-REVIEW: … — privacy policy unavailable`.
38
38
  - **Screenshots:** read at least one PNG/JPEG per primary locale; compare visible UI/features to
39
39
  metadata claims.
40
40
  - **Language:** write Pierre's 2–3 sentence explanations in the user's conversation language.
41
41
 
42
42
  ## Output format
43
43
 
44
- For each of the 31 checks (in table order):
44
+ For the original checks 1–31 (in table order), preserve the legacy PASS/FINDING forms
45
+ for supported conclusions. Use REVIEW-NEEDS-REVIEW, REVIEW-NOT-RUN, REVIEW-UNSUPPORTED
46
+ or REVIEW-NOT-APPLICABLE when inspection is blocked, unexecuted or provably outside
47
+ the applicable scope. Report those counts separately from PASS and FINDING;
48
+ missing evidence never establishes compliance.
49
+
45
50
 
46
51
  ```
47
52
  REVIEW-PASS: <guideline> — <one-line why it looks OK, with evidence pointer>
@@ -57,36 +62,46 @@ Pierre: <2–3 sentences: why Apple cares, what you found, what to fix or verify
57
62
  If a check is **not applicable** (e.g. no HealthKit, no VPN, no contest copy), still report:
58
63
 
59
64
  ```
60
- REVIEW-PASS: <guideline> — not applicable (<reason>)
65
+ REVIEW-NOT-APPLICABLE: <guideline> — <evidence-backed reason>
61
66
  ```
62
67
 
63
- "Not applicable" is only for checks whose subject matter is entirely absent from the
64
- project (no HealthKit import, no VPN entitlement, no contest copy anywhere). When the
68
+ "Not applicable" requires sufficiently complete scope and evidence that the subject is absent
69
+ or an explicit platform/distribution predicate excludes it. A missing repository signal is insufficient. When the
65
70
  material a check inspects exists and is clean — release notes present but free of beta
66
71
  language, a review prompt present but using the system API — report a plain
67
72
  `REVIEW-PASS` with the evidence pointer, not "not applicable".
68
73
 
74
+
75
+ For checks 32–56, use only `REVIEW-FINDING: <guideline> WARN — ...`,
76
+ `REVIEW-NO-SIGNAL: <guideline> — ...`, or `REVIEW-SKIP: <guideline> — <missing input/reason>`.
77
+ No signal means the supplied scope yielded no concrete concern; it is not a compliance pass.
78
+ Read every catalog `evidence_inputs` and `required_context` field as a mandatory gate.
79
+ Unknown applicability, storefront, age declaration, source authority, licensing or ownership
80
+ must remain SKIP; source presence never establishes these external facts.
81
+ Jev is text-only and must SKIP every Tier C check even if a bundle names image files.
82
+ A host with image access must directly inspect the supplied images and cite its observations.
83
+
69
84
  ---
70
85
 
71
- ## The 31 checks (guideline order)
86
+ ## The 56 checks (stable catalog order)
72
87
 
73
88
  | # | Guideline | Deep question | Primary sources |
74
- |---|-----------|---------------|-----------------|
75
- | 1 | **1.2.1** | UGC present → is there a real report/block/moderation UI flow, not just keywords in copy? | Swift navigation, moderation views, §22 scan context |
89
+ |---|---|---|---|
90
+ | 1 | **1.2** | UGC present → is there a real report/block/moderation UI flow, not just keywords in copy? | Swift navigation, moderation views, §22 scan context |
76
91
  | 2 | **1.4.1** | Health/medical/wellness claims in metadata or UI without appropriate disclaimers or HealthKit compliance? | metadata, Swift HealthKit usage, onboarding copy |
77
92
  | 3 | **2.1** | Metadata/marketing claims match implemented features (AI, offline, ad-block, sync, etc.)? | metadata, description, Swift feature grep |
78
93
  | 4 | **2.1** | Login-gated app → App Review demo account / notes **actionable** (credentials, steps, not placeholder)? | `review_information/`, `.reviewPrepNotes`, §31 scan context |
79
94
  | 5 | **2.2** | Store-facing copy or UI still says beta / test / preview / work-in-progress? | metadata, release_notes, Swift UI strings |
80
- | 6 | **2.3.2** | Primary category plausible for app type (game vs utility vs health, etc.)? | fastlane `primary_category`, metadata tone, code structure |
95
+ | 6 | **2.3.5** | Primary category plausible for app type (game vs utility vs health, etc.)? | fastlane `primary_category`, metadata tone, code structure |
81
96
  | 7 | **2.3.4** | App preview assets present → features shown match the shipped app and metadata? | preview video paths, metadata, Swift UI |
82
- | 8 | **2.3.5** | Screenshots show features the app actually ships; no misleading device frames or competitor UI? | screenshot images, metadata, Swift UI |
83
- | 9 | **2.3.6** | Pricing/subscription language in metadata matches paywall (free vs paid, trial terms)? | metadata, paywall Swift, xcstrings |
84
- | 10 | **2.3.9** | Incentivized review copy ("rate 5 stars", "review for reward") in metadata or UI? | metadata, onboarding, paywall, §25 scan context |
85
- | 11 | **2.3.11–2.3.13** | Cross-locale metadata consistent (feature lists, trial terms, support/privacy URLs, pricing claims)? | all `fastlane/metadata/*` locales |
97
+ | 8 | **2.3.3 / 2.3.1(a)** | Screenshots show features the app actually ships; no misleading device frames or competitor UI? | screenshot images, metadata, Swift UI |
98
+ | 9 | **2.3.2 / 3.1.2(c)** | Pricing/subscription language in metadata matches paywall (free vs paid, trial terms)? | metadata, paywall Swift, xcstrings |
99
+ | 10 | **3.2.2(x) / 5.6.3** | Incentivized review copy ("rate 5 stars", "review for reward") in metadata or UI? | metadata, onboarding, paywall, §25 scan context |
100
+ | 11 | **2.3** | Cross-locale metadata consistent (feature lists, trial terms, support/privacy URLs, pricing claims)? | all `fastlane/metadata/*` locales |
86
101
  | 12 | **3.1.1** | Digital goods sold or unlocked via external purchase links (web checkout, Stripe in WebView)? | Swift WebView/paywall, metadata, entitlements |
87
102
  | 13 | **3.1.2** | Subscription/trial/auto-renew/cancel disclosures are **legible sentences**, not keyword stubs? | paywall views, xcstrings, String Catalog |
88
- | 14 | **4.2.1–4.2.2** | App is more than a thin shell: meaningful navigation, native affordances, not a lone WebView brochure? | Swift UI structure, §12/§35 scan context |
89
- | 15 | **4.5.1–4.5.3** | Push or HomeKit entitlement → used as intended (no spam-push promises; HomeKit without home UI)? | entitlements, Info.plist, metadata, Swift |
103
+ | 14 | **4.2 / 4.2.2** | App is more than a thin shell: meaningful navigation, native affordances, not a lone WebView brochure? | Swift UI structure, §12/§35 scan context |
104
+ | 15 | **2.5.1 / 4.5.3 / 4.5.4** | Push or HomeKit entitlement → used as intended (no spam-push promises; HomeKit without home UI)? | entitlements, Info.plist, metadata, Swift |
90
105
  | 16 | **4.8** | Third-party login present → Sign in with Apple offered, or a documented exempt case (enterprise, existing account, etc.)? | login Swift, SDK imports, §14 scan context |
91
106
  | 17 | **5.1.1(i)** | Privacy policy text (fetched) matches data collection in code, PrivacyInfo, and App Privacy narrative? | fetch privacy URL, PrivacyInfo, SDK imports |
92
107
  | 18 | **5.1.1(ii)** | Purpose strings are specific and tied to a visible feature (not empty, generic, or copy-paste)? | Info.plist, permission usage in Swift |
@@ -95,22 +110,47 @@ language, a review prompt present but using the system API — report a plain
95
110
  | 21 | **5.1.1(iv)** | Custom pre-permission priming screens use neutral CTA copy ("Continue"/"Next") — no steering toward Allow/Grant/Enable? | priming/onboarding views, xcstrings CTA strings, §42 scan context |
96
111
  | 22 | **5.1.2** | ATT prompt, `NSUserTrackingUsageDescription`, privacy policy tracking section, and ad SDK usage align? | Info.plist, policy fetch, ad SDK imports |
97
112
  | 23 | **5.1.3** | HealthKit data not used for advertising/marketing; sync paths respect health-data rules? | HealthKit + analytics/ad SDK co-use |
98
- | 24 | **5.1.4** | Kids-audience signals → parental gate before external links/purchases/account areas? | metadata kids wording, parental gate UI |
113
+ | 24 | **1.3 / 5.1.4** | Kids-audience signals → parental gate before external links/purchases/account areas? | metadata kids wording, parental gate UI |
99
114
  | 25 | **5.4** | VPN/NetworkExtension → on-screen disclosure text visible in UI strings (not only Info.plist)? | Swift strings, NetworkExtension usage |
100
- | 26 | **5.2.1–5.2.3** | Obvious third-party trademark/brand misuse in metadata, assets, or UI copy? | metadata, asset filenames, Swift strings |
101
- | 27 | **5.3.1–5.3.3** | Contest/sweepstakes/lottery copy → official rules/eligibility/disclosure present in metadata? | description, keywords, in-app contest UI |
102
- | 28 | **5.6.2–5.6.3** | Developer identity consistent: app name, support URL content, bundle/marketing domain match? | fetch support URL, metadata, legal/footer copy |
115
+ | 26 | **5.2.1** | Obvious third-party trademark/brand misuse in metadata, assets, or UI copy? | metadata, asset filenames, Swift strings |
116
+ | 27 | **5.3.1 / 5.3.2** | Contest/sweepstakes/lottery copy → official rules/eligibility/disclosure present in metadata? | description, keywords, in-app contest UI |
117
+ | 28 | **1.5 / 5.6.2** | Developer identity consistent: app name, support URL content, bundle/marketing domain match? | fetch support URL, metadata, legal/footer copy |
103
118
  | 29 | **5.6.1 / 5.6.3** | Rating/review manipulation dark patterns (withhold features until 5 stars, direct write-review links without `requestReview`)? | Swift, metadata, §25 scan context |
104
119
  | 30 | **4.3** | In a category Apple names as saturated (4.3(b)), is the app meaningfully different from the incumbents, and free of 4.3(a) per-variant bundle ids? | entry point, main views, `project.pbxproj` targets, §54 scan context |
105
120
  | 31 | **4.0** | Would the app pass Apple's minimum design bar: usable iPad / large-text layout, no clipped, overlapping or placeholder UI, no degraded or non-functional screens? | SwiftUI/UIKit layout code, `Info.plist` device family + orientations, screenshot assets |
121
+ | 32 | **1.1.1** | Does observed content attack or humiliate a named person or protected group? | screenshots, metadata, source-strings |
122
+ | 33 | **1.1.2** | Does realistic violent imagery conflict with the documented game context and age declaration? | screenshots, metadata |
123
+ | 34 | **1.1.3** | Does the observed offering encourage harmful use of weapons or hazardous substances? | screenshots, metadata |
124
+ | 35 | **1.1.4** | Does observed sexual content or the advertised matching purpose warrant a content-policy review? | screenshots, metadata |
125
+ | 36 | **1.1.5** | Does the supplied text contain inflammatory religious targeting or a quotation contradicted by its supplied source? | metadata, source-strings |
126
+ | 37 | **1.1.6** | Does a concrete implementation mismatch support a deceptive capability claim such as fabricated scanning or sensor data? | metadata, source-strings, source |
127
+ | 38 | **1.2.1** | Does a creator-content offering mislabel its content or move it outside the described in-app experience? | metadata, source |
128
+ | 39 | **1.4.2** | Does a dosage-calculation offering lack the documented institutional source appropriate to its claims? | metadata, source-strings |
129
+ | 40 | **1.4.3** | Does the supplied offering promote or sell tobacco, vaping goods, or illegal drugs within its documented context? | metadata, source-strings, SDK |
130
+ | 41 | **1.4.4** | Does a checkpoint-location feature use a source other than the documented law-enforcement source? | metadata, source-strings |
131
+ | 42 | **1.4.5** | Does the observed challenge or wagering copy encourage actions likely to physically harm participants? | metadata, source-strings |
132
+ | 43 | **2.3.6** | Does visible content materially contradict the supplied current age-rating declaration? | screenshots, metadata |
133
+ | 44 | **2.5.8** | Does the product promise to replace the device home screen beyond a clearly described in-app simulation? | metadata, source-strings, source |
134
+ | 45 | **2.5.9** | Does implemented behavior or user-facing copy override system controls outside the documented app-local context? | source, source-strings |
135
+ | 46 | **3.1.3** | Does the supplied external-purchase flow contradict the documented offering, storefront, and claimed exception? | source, metadata |
136
+ | 47 | **3.1.4** | Does a hardware-gated content unlock exceed the documented relationship between the hardware and its function? | source, metadata |
137
+ | 48 | **3.2.1** | Does the documented promotion, gift-card, or wallet model contradict the bounded permitted purpose claimed by the developer? | metadata, source |
138
+ | 49 | **4.2.6** | Do observed template reuse and the supplied ownership relationship support concern about a generic third-party app submission? | screenshots, metadata, source |
139
+ | 50 | **4.5.1** | Does the implementation use an Apple store feed beyond its documented display purpose? | source, source-strings |
140
+ | 51 | **4.7.1** | Do documented mini-app data practices contradict the containing app privacy declaration? | source, privacy-manifest |
141
+ | 52 | **4.7.3** | Does a mini-app bridge transfer host permissions or personal data beyond the supplied consent boundary? | source |
142
+ | 53 | **4.10** | Does the paywall charge solely for access to a built-in device capability rather than a documented added service? | source-strings, source |
143
+ | 54 | **5.2.3** | Does the offered media-downloading or sharing flow conflict with the documented authorization for third-party content? | source, metadata |
144
+ | 55 | **5.2.5** | Do the observed icon, name, and interface create a concrete misleading resemblance to an Apple product? | icon, name, screenshots |
145
+ | 56 | **5.3.3** | Does the supplied StoreKit flow sell credits used for documented real-money gambling or lottery participation? | source, metadata |
106
146
 
107
147
  ---
108
148
 
109
149
  ## Per-check procedure (detail)
110
150
 
111
- ### 1 — 1.2.1 UGC moderation UI
151
+ ### 1 — 1.2 UGC moderation UI
112
152
 
113
- 1. If no UGC signals (posts, comments, chat, uploads), mark not applicable.
153
+ 1. Establish UGC scope (posts, comments, chat, uploads) from feature and runtime evidence. Mark not applicable only when sufficient evidence excludes UGC.
114
154
  2. Search Swift for report/block/flag/moderate flows and screens reachable from content.
115
155
  3. Compare to metadata promises ("community", "share", "chat").
116
156
  4. Flag if UGC exists but moderation is only mentioned in text, not implemented in UI.
@@ -144,7 +184,7 @@ language, a review prompt present but using the system API — report a plain
144
184
  2. Exclude legitimate internal keys and developer log strings not shown to users.
145
185
  3. Flag any store-facing copy implying the App Store build is unfinished or a beta.
146
186
 
147
- ### 6 — 2.3.2 Category fit
187
+ ### 6 — 2.3.5 Category fit
148
188
 
149
189
  1. Read primary category if present in fastlane or `.appstore-precheck.json`.
150
190
  2. Infer app type from code (game loop, utility, reader, social).
@@ -153,11 +193,11 @@ language, a review prompt present but using the system API — report a plain
153
193
  ### 7 — 2.3.4 App preview consistency *(Tier B v1)*
154
194
 
155
195
  1. Look for app preview assets under `fastlane/metadata/*/preview*` or `*.mov` / `*.mp4` in metadata trees.
156
- 2. If no preview assets in-repo, mark not applicable (previews may live only in App Store Connect).
196
+ 2. If no preview assets in-repo, report REVIEW-NEEDS-REVIEW until the ASC asset inventory establishes whether previews exist.
157
197
  3. If previews exist: compare visible features/captions to metadata and Swift UI; flag previews
158
198
  showing features absent from the build.
159
199
 
160
- ### 8 — 2.3.5 Screenshots vs reality
200
+ ### 8 — 2.3.3 Screenshots vs reality
161
201
 
162
202
  1. Open ≥1 screenshot per primary locale.
163
203
  2. List visible features (tabs, paywall, login, maps, etc.).
@@ -166,19 +206,19 @@ language, a review prompt present but using the system API — report a plain
166
206
  wrong device frame, misleading marketing, metadata mismatch), follow
167
207
  `screenshot-vision-review.md` (sibling file in this same `references/` directory).
168
208
 
169
- ### 9 — 2.3.6 Pricing language
209
+ ### 9 — 2.3.2 / 3.1.2(c) Pricing language
170
210
 
171
211
  1. Compare metadata "free", trial, and price claims to paywall/subscription UI strings.
172
212
  2. Flag "completely free" metadata when IAP/paywall exists without clear disclosure.
173
213
 
174
- ### 10 — 2.3.9 Incentivized review *(Tier B v1)*
214
+ ### 10 — 3.2.2(x) / 5.6.3 Incentivized review *(Tier B v1)*
175
215
 
176
216
  1. Grep metadata, onboarding, and paywall strings for: `rate us`, `leave a review`, `5 star`,
177
217
  `five star`, `review and get`, `gift card`, `reward for review`, `write a review to unlock`.
178
218
  2. Cross-check scan §25 (custom review prompt) — Phase 4 adds semantic context if §25 passed.
179
219
  3. Flag quid-pro-quo review incentives or star-rating manipulation copy.
180
220
 
181
- ### 11 — 2.3.11–2.3.13 Locale parity (semantic)
221
+ ### 11 — 2.3 Locale parity (semantic)
182
222
 
183
223
  1. Beyond scan's file-presence check: compare trial terms, feature bullets, and pricing claims across locales.
184
224
  2. Flag material omissions (trial mentioned in en-US only, different feature lists).
@@ -186,7 +226,7 @@ language, a review prompt present but using the system API — report a plain
186
226
  ### 12 — 3.1.1 External digital purchase
187
227
 
188
228
  1. Search for external checkout URLs, Stripe/PayPal in WebView, "subscribe on our website".
189
- 2. Flag digital unlocks that bypass StoreKit without 3.1.1(a) entitlement context.
229
+ 2. Establish the offering, storefront, distribution and applicable 3.1.1(a)/3.1.3 exception with dated evidence. US links do not universally require entitlements. Missing context is REVIEW-NEEDS-REVIEW; a payment SDK alone is not a violation.
190
230
 
191
231
  ### 13 — 3.1.2 Disclosure quality
192
232
 
@@ -194,12 +234,12 @@ language, a review prompt present but using the system API — report a plain
194
234
  2. Flag if trial/auto-renew/cancel info is a single keyword, lorem, or unreadably dense.
195
235
  3. Require human-readable sentences covering trial length, renewal, and cancellation path.
196
236
 
197
- ### 14 — 4.2.1–4.2.2 Minimum functionality (semantic)
237
+ ### 14 — 4.2 / 4.2.2 Minimum functionality (semantic)
198
238
 
199
239
  1. Map primary user journeys (launch → core action).
200
240
  2. Flag single-screen WebView brochure, template placeholder flows, or no native navigation beyond §12 minimum.
201
241
 
202
- ### 15 — 4.5.1–4.5.3 Push / HomeKit abuse *(Tier B v1)*
242
+ ### 15 — 2.5.1 / 4.5.3 / 4.5.4 Push / HomeKit abuse *(Tier B v1)*
203
243
 
204
244
  1. Read entitlements and Info.plist for push notifications and HomeKit.
205
245
  2. **Push:** if push entitlement present, scan metadata/UI for spam patterns ("notify every hour",
@@ -217,7 +257,7 @@ language, a review prompt present but using the system API — report a plain
217
257
 
218
258
  1. Fetch privacy URL from primary locale metadata.
219
259
  2. Compare policy statements to: PrivacyInfo collected types, tracking domains, location/camera/health SDK usage.
220
- 3. Flag direct contradictions ("we do not collect location" + CoreLocation).
260
+ 3. Flag a contradiction only with verified location collection/sharing evidence; a CoreLocation import alone cannot establish collection.
221
261
 
222
262
  ### 18 — 5.1.1(ii) Purpose string quality
223
263
 
@@ -270,17 +310,17 @@ language, a review prompt present but using the system API — report a plain
270
310
  1. If NetworkExtension/NEVPNManager: search UI strings for data-collection disclosure required at launch/settings.
271
311
  2. Flag VPN capability with no user-visible disclosure copy.
272
312
 
273
- ### 26 — 5.2.1–5.2.3 IP / trademarks
313
+ ### 26 — 5.2.1 IP / trademarks
274
314
 
275
315
  1. Scan metadata and visible strings for other companies' brands used as if owned.
276
316
  2. Flag likely trademark misuse (not generic descriptive use).
277
317
 
278
- ### 27 — 5.3.1–5.3.3 Contests
318
+ ### 27 — 5.3.1 / 5.3.2 Contests
279
319
 
280
320
  1. If sweepstakes/contest/giveaway language: check for rules, eligibility, sponsor, no-purchase-necessary.
281
321
  2. Flag contest marketing without rules in metadata or in-app.
282
322
 
283
- ### 28 — 5.6.2–5.6.3 Developer identity
323
+ ### 28 — 1.5 / 5.6.2 Developer identity
284
324
 
285
325
  1. Fetch support URL; confirm it resolves and shows developer contact or support path.
286
326
  2. Compare app name, support domain, and privacy policy domain for consistency.
@@ -323,8 +363,8 @@ Guideline 4.0 is the intro prose of the Design section, and it is Apple's **sing
323
363
  removal reason** (42,252 removals in the 2024 App Store Transparency Report, ahead of every
324
364
  numbered sub-section). It rejects apps that are not "simple, refined, innovative, and easy to use"
325
365
  or that "stop working or offer a degraded experience". No grep can judge that; this check reads
326
- the layout code with the reviewer's eyes. Heuristic by nature — prefer *not applicable* over a
327
- vague finding.
366
+ the layout code with the reviewer's eyes. Heuristic by nature — report missing runtime or visual evidence as
367
+ `REVIEW-NEEDS-REVIEW`; a clean source read alone does not establish design compliance.
328
368
 
329
369
  1. **iPad and large-text layout.** If `UIDeviceFamily` includes iPad (or the app does not opt
330
370
  out), look for iPad-hostile layouts: hardcoded frame widths, `UIScreen.main.bounds`
@@ -337,12 +377,213 @@ vague finding.
337
377
  3. **Consistency with screenshots.** Where check 8 found screenshots, the shipped UI should not
338
378
  look obviously less finished than what is marketed (empty states, missing icons).
339
379
  4. Flag as `REVIEW-FINDING: 4.0 WARN — …` only with a concrete `file:line`; otherwise
340
- `REVIEW-PASS: 4.0 — not applicable / no signal`. Quote Apple's own wording via
380
+ report `REVIEW-NEEDS-REVIEW: 4.0 — runtime/visual evidence required` unless sufficient
381
+ evidence supports PASS. Quote Apple's own wording via
341
382
  `guideline-cite.sh 4.0` (the page anchors it as `#4`, not `#4.0`).
342
383
 
343
384
  What this check cannot do: see the running app. iPad rotation, real Dynamic Type rendering and
344
385
  actual crashes belong to Phase 6 (the local simulator tier), not to a source read.
345
386
 
387
+ ### 32 — 1.1.1 content-defamatory *(Tier C)*
388
+
389
+ 1. Read screenshots, metadata, source-strings; record concrete evidence pointers.
390
+ 2. Establish the stated applicability and source scope; if unknown or conflicting, emit `REVIEW-SKIP`.
391
+ 3. Does observed content attack or humiliate a named person or protected group?
392
+ 4. Inspect the images directly as a host; text-only inference must SKIP.
393
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
394
+
395
+ ### 33 — 1.1.2 content-graphic-violence *(Tier C)*
396
+
397
+ 1. Read screenshots, metadata; record concrete evidence pointers.
398
+ 2. Establish age_rating, content_context; if unknown or conflicting, emit `REVIEW-SKIP`.
399
+ 3. Does realistic violent imagery conflict with the documented game context and age declaration?
400
+ 4. Inspect the images directly as a host; text-only inference must SKIP.
401
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
402
+
403
+ ### 34 — 1.1.3 content-weapons *(Tier C)*
404
+
405
+ 1. Read screenshots, metadata; record concrete evidence pointers.
406
+ 2. Establish the stated applicability and source scope; if unknown or conflicting, emit `REVIEW-SKIP`.
407
+ 3. Does the observed offering encourage harmful use of weapons or hazardous substances?
408
+ 4. Inspect the images directly as a host; text-only inference must SKIP.
409
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
410
+
411
+ ### 35 — 1.1.4 content-sexual *(Tier C)*
412
+
413
+ 1. Read screenshots, metadata; record concrete evidence pointers.
414
+ 2. Establish the stated applicability and source scope; if unknown or conflicting, emit `REVIEW-SKIP`.
415
+ 3. Does observed sexual content or the advertised matching purpose warrant a content-policy review?
416
+ 4. Inspect the images directly as a host; text-only inference must SKIP.
417
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
418
+
419
+ ### 36 — 1.1.5 content-religious *(Tier B)*
420
+
421
+ 1. Read metadata, source-strings; record concrete evidence pointers.
422
+ 2. Establish quotation_context; if unknown or conflicting, emit `REVIEW-SKIP`.
423
+ 3. Does the supplied text contain inflammatory religious targeting or a quotation contradicted by its supplied source?
424
+ 4. Do not infer observed behavior or external facts from source symbols alone.
425
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
426
+
427
+ ### 37 — 1.1.6 content-false-features *(Tier B)*
428
+
429
+ 1. Read metadata, source-strings, source; record concrete evidence pointers.
430
+ 2. Establish the stated applicability and source scope; if unknown or conflicting, emit `REVIEW-SKIP`.
431
+ 3. Does a concrete implementation mismatch support a deceptive capability claim such as fabricated scanning or sensor data?
432
+ 4. Do not infer observed behavior or external facts from source symbols alone.
433
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
434
+
435
+ ### 38 — 1.2.1 creator-content-boundary *(Tier B)*
436
+
437
+ 1. Read metadata, source; record concrete evidence pointers.
438
+ 2. Establish the stated applicability and source scope; if unknown or conflicting, emit `REVIEW-SKIP`.
439
+ 3. Does a creator-content offering mislabel its content or move it outside the described in-app experience?
440
+ 4. Do not infer observed behavior or external facts from source symbols alone.
441
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
442
+
443
+ ### 39 — 1.4.2 drug-dosage-source *(Tier B)*
444
+
445
+ 1. Read metadata, source-strings; record concrete evidence pointers.
446
+ 2. Establish publisher_source; if unknown or conflicting, emit `REVIEW-SKIP`.
447
+ 3. Does a dosage-calculation offering lack the documented institutional source appropriate to its claims?
448
+ 4. Do not infer observed behavior or external facts from source symbols alone.
449
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
450
+
451
+ ### 40 — 1.4.3 tobacco-vape-drugs *(Tier B)*
452
+
453
+ 1. Read metadata, source-strings, SDK; record concrete evidence pointers.
454
+ 2. Establish sales_context; if unknown or conflicting, emit `REVIEW-SKIP`.
455
+ 3. Does the supplied offering promote or sell tobacco, vaping goods, or illegal drugs within its documented context?
456
+ 4. Do not infer observed behavior or external facts from source symbols alone.
457
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
458
+
459
+ ### 41 — 1.4.4 dui-checkpoints *(Tier B)*
460
+
461
+ 1. Read metadata, source-strings; record concrete evidence pointers.
462
+ 2. Establish checkpoint_source; if unknown or conflicting, emit `REVIEW-SKIP`.
463
+ 3. Does a checkpoint-location feature use a source other than the documented law-enforcement source?
464
+ 4. Do not infer observed behavior or external facts from source symbols alone.
465
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
466
+
467
+ ### 42 — 1.4.5 physical-risk-bets *(Tier B)*
468
+
469
+ 1. Read metadata, source-strings; record concrete evidence pointers.
470
+ 2. Establish the stated applicability and source scope; if unknown or conflicting, emit `REVIEW-SKIP`.
471
+ 3. Does the observed challenge or wagering copy encourage actions likely to physically harm participants?
472
+ 4. Do not infer observed behavior or external facts from source symbols alone.
473
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
474
+
475
+ ### 43 — 2.3.6 age-rating-consistency *(Tier C)*
476
+
477
+ 1. Read screenshots, metadata; record concrete evidence pointers.
478
+ 2. Establish age_rating; if unknown or conflicting, emit `REVIEW-SKIP`.
479
+ 3. Does visible content materially contradict the supplied current age-rating declaration?
480
+ 4. Inspect the images directly as a host; text-only inference must SKIP.
481
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
482
+
483
+ ### 44 — 2.5.8 alternate-home-screen *(Tier B)*
484
+
485
+ 1. Read metadata, source-strings, source; record concrete evidence pointers.
486
+ 2. Establish the stated applicability and source scope; if unknown or conflicting, emit `REVIEW-SKIP`.
487
+ 3. Does the product promise to replace the device home screen beyond a clearly described in-app simulation?
488
+ 4. Do not infer observed behavior or external facts from source symbols alone.
489
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
490
+
491
+ ### 45 — 2.5.9 system-switch-override *(Tier B)*
492
+
493
+ 1. Read source, source-strings; record concrete evidence pointers.
494
+ 2. Establish the stated applicability and source scope; if unknown or conflicting, emit `REVIEW-SKIP`.
495
+ 3. Does implemented behavior or user-facing copy override system controls outside the documented app-local context?
496
+ 4. Do not infer observed behavior or external facts from source symbols alone.
497
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
498
+
499
+ ### 46 — 3.1.3 other-purchase-eligibility *(Tier B)*
500
+
501
+ 1. Read source, metadata; record concrete evidence pointers.
502
+ 2. Establish storefront, purchase_exception, offering; if unknown or conflicting, emit `REVIEW-SKIP`.
503
+ 3. Does the supplied external-purchase flow contradict the documented offering, storefront, and claimed exception?
504
+ 4. Do not infer observed behavior or external facts from source symbols alone.
505
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
506
+
507
+ ### 47 — 3.1.4 hardware-specific-content *(Tier B)*
508
+
509
+ 1. Read source, metadata; record concrete evidence pointers.
510
+ 2. Establish hardware_relationship; if unknown or conflicting, emit `REVIEW-SKIP`.
511
+ 3. Does a hardware-gated content unlock exceed the documented relationship between the hardware and its function?
512
+ 4. Do not infer observed behavior or external facts from source symbols alone.
513
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
514
+
515
+ ### 48 — 3.2.1 business-model-acceptable *(Tier B)*
516
+
517
+ 1. Read metadata, source; record concrete evidence pointers.
518
+ 2. Establish business_model; if unknown or conflicting, emit `REVIEW-SKIP`.
519
+ 3. Does the documented promotion, gift-card, or wallet model contradict the bounded permitted purpose claimed by the developer?
520
+ 4. Do not infer observed behavior or external facts from source symbols alone.
521
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
522
+
523
+ ### 49 — 4.2.6 template-app *(Tier C)*
524
+
525
+ 1. Read screenshots, metadata, source; record concrete evidence pointers.
526
+ 2. Establish content_owner, publisher_relationship; if unknown or conflicting, emit `REVIEW-SKIP`.
527
+ 3. Do observed template reuse and the supplied ownership relationship support concern about a generic third-party app submission?
528
+ 4. Inspect the images directly as a host; text-only inference must SKIP.
529
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
530
+
531
+ ### 50 — 4.5.1 apple-rss-usage *(Tier B)*
532
+
533
+ 1. Read source, source-strings; record concrete evidence pointers.
534
+ 2. Establish feed_purpose; if unknown or conflicting, emit `REVIEW-SKIP`.
535
+ 3. Does the implementation use an Apple store feed beyond its documented display purpose?
536
+ 4. Do not infer observed behavior or external facts from source symbols alone.
537
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
538
+
539
+ ### 51 — 4.7.1 miniapp-privacy-parity *(Tier B)*
540
+
541
+ 1. Read source, privacy-manifest; record concrete evidence pointers.
542
+ 2. Establish miniapp_present, miniapp_data_practices; if unknown or conflicting, emit `REVIEW-SKIP`.
543
+ 3. Do documented mini-app data practices contradict the containing app privacy declaration?
544
+ 4. Do not infer observed behavior or external facts from source symbols alone.
545
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
546
+
547
+ ### 52 — 4.7.3 miniapp-data-sharing *(Tier B)*
548
+
549
+ 1. Read source; record concrete evidence pointers.
550
+ 2. Establish miniapp_present, sharing_consent; if unknown or conflicting, emit `REVIEW-SKIP`.
551
+ 3. Does a mini-app bridge transfer host permissions or personal data beyond the supplied consent boundary?
552
+ 4. Do not infer observed behavior or external facts from source symbols alone.
553
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
554
+
555
+ ### 53 — 4.10 monetize-builtin-capability *(Tier B)*
556
+
557
+ 1. Read source-strings, source; record concrete evidence pointers.
558
+ 2. Establish paid_feature; if unknown or conflicting, emit `REVIEW-SKIP`.
559
+ 3. Does the paywall charge solely for access to a built-in device capability rather than a documented added service?
560
+ 4. Do not infer observed behavior or external facts from source symbols alone.
561
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
562
+
563
+ ### 54 — 5.2.3 media-download-facilitation *(Tier B)*
564
+
565
+ 1. Read source, metadata; record concrete evidence pointers.
566
+ 2. Establish media_authorization; if unknown or conflicting, emit `REVIEW-SKIP`.
567
+ 3. Does the offered media-downloading or sharing flow conflict with the documented authorization for third-party content?
568
+ 4. Do not infer observed behavior or external facts from source symbols alone.
569
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
570
+
571
+ ### 55 — 5.2.5 apple-product-confusion *(Tier C)*
572
+
573
+ 1. Read icon, name, screenshots; record concrete evidence pointers.
574
+ 2. Establish the stated applicability and source scope; if unknown or conflicting, emit `REVIEW-SKIP`.
575
+ 3. Do the observed icon, name, and interface create a concrete misleading resemblance to an Apple product?
576
+ 4. Inspect the images directly as a host; text-only inference must SKIP.
577
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
578
+
579
+ ### 56 — 5.3.3 iap-for-gambling-credit *(Tier B)*
580
+
581
+ 1. Read source, metadata; record concrete evidence pointers.
582
+ 2. Establish gambling_context; if unknown or conflicting, emit `REVIEW-SKIP`.
583
+ 3. Does the supplied StoreKit flow sell credits used for documented real-money gambling or lottery participation?
584
+ 4. Do not infer observed behavior or external facts from source symbols alone.
585
+ 5. Emit a cited advisory FINDING, bounded NO-SIGNAL, or SKIP; never PASS.
586
+
346
587
  ---
347
588
 
348
589
  ## Phase 5 presentation
@@ -351,6 +592,10 @@ After Phase 4, include in the final report:
351
592
 
352
593
  1. Trilingual verdict block (from scan counts only).
353
594
  2. Phase 3 commentary (every scan FAIL/WARN).
354
- 3. Phase 4 summary table: 31 checks → count of `REVIEW-FINDING` vs `REVIEW-PASS` (note Tier B items 4, 5, 7, 10, 15, 29, 30, 31 if any fired). The 5 screenshot-vision checks (S1–S5) report as a separate "+5 vision checks" sub-block, outside the "of 31" count.
595
+ 3. Phase 4 summary table: 56 checks → separate counts for PASS (legacy checks only), FINDING, NO-SIGNAL, SKIP, NEEDS-REVIEW, UNSUPPORTED, NOT-RUN and NOT-APPLICABLE. The 5 screenshot-vision checks (S1–S5) remain a separate "+5 vision checks" sub-block, outside the catalog count.
355
596
  4. Phase 4 detail: every `REVIEW-FINDING` with Pierre explanation; optionally list `REVIEW-PASS` lines compactly.
356
597
  5. Verbatim Phase 1 scan output + verdict/token action.
598
+
599
+ Host visual inputs in new checks require explicit `host_screenshots`, `host_icon` or
600
+ `host_runtime_screenshots` context, as applicable, plus the actual host visual observation.
601
+ Filenames alone are not observations; absent context or images produces REVIEW-SKIP.