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
package/CHANGELOG.md CHANGED
@@ -5,6 +5,62 @@ All notable changes to this project are documented here. Versioning follows
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [1.20.1] — 2026-10-02
9
+
10
+ ### Fixed
11
+ - Static readers skip special files without blocking, bound quoted-string matching, and omit absolute paths from input-error reasons. Repository-wide `grep` passes skip FIFOs and devices (`-D skip`), so a stray named pipe no longer hangs the default scan.
12
+ - Empty release notes recognize initial versions from Info.plist or MARKETING_VERSION; document-browser warnings require file access, list UI, and a browser title together.
13
+ - Exploration artifacts refuse symlink targets. Demo credentials are redacted by value; secure-field detection is not relied on.
14
+ - Modular SKIP summaries count checks separately from supplemental gaps and group their reasons. A shared execution table remains cross-validated against section coverage.
15
+ - Explicit `--dynamic-blocking` requires jq and exits 64 when it is unavailable.
16
+ - Legacy shell assertions use shared helpers with synthetic failure probes on Bash 3.2.
17
+
18
+ ## [1.20.0] — 2026-10-02
19
+
20
+ ### Guideline section coverage 45 → 93 of 102 leaf rules (91%)
21
+
22
+ - Review fixes: custom document browsers and embedded emoji artwork replace inverted policy signals; ordinary metadata emoji, bug-fix notes and system document pickers remain clean.
23
+ - Missing inputs produce visible, suppressible modular SKIP records; run coverage excludes PASS absence claims and deduplicates skipped sections. Present metadata declarations remain unverified.
24
+ - Source reads have a 60-second deadline; face-authentication scanning is linear, UTF-16 strings are supported, and unreadable files produce local gaps.
25
+ - Demo login runs after geometry in fresh sessions; authenticated exploration requires a navigation allowlist and redacts personal text without screenshots. Collector failures retain diagnostics.
26
+ - Build copy validation supports trusted monorepo Flutter caches, rejects `/`, `$HOME` and its ancestors as repositories, and excludes secret/special files. Projects underneath `$HOME` remain buildable.
27
+ - Coverage inventory reports 93 touched sections, including 2 partial positive-only dynamic observations; semantic inventory requires procedures, fixtures and producible inputs.
28
+
29
+
30
+ 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.
31
+
32
+ ### Guideline coverage expansion
33
+ - Add signal-gated source and metadata checks in separate scanner helpers; preserve
34
+ existing finding records and expose new missing-input SKIPs as coverage gaps.
35
+ - Extend catalog v4 with advisory questions, explicit evidence requirements and a
36
+ vision tier; missing inputs abstain and text-only transport cannot judge images.
37
+ - Collect bounded fresh simulator observations with unanimous quorum; capture and
38
+ MusicKit checks only confirm observed indicators/prompts and cannot detect their
39
+ absence. Location review covers request timing, not authorization-scope mismatch.
40
+ - Harvest opt-in build, metadata, artifact and runtime helpers with credential,
41
+ output-path, process-timeout, simulator-ownership and trusted-config safeguards.
42
+ - Section coverage is an inventory of checks that touch a rule, not automatic
43
+ verification; synthetic cases do not establish live model or runtime accuracy.
44
+
45
+ ### Coverage groundwork
46
+ - Derive leaf-section coverage from baseline exclusions and cross-check scanner,
47
+ Pierre, dynamic and vision sources; add human-only reasons and the existing D9 mapping.
48
+ - Add run-local `coverage_sections` to scan JSON; keep text, SARIF and verdict fields unchanged.
49
+ - Require three unanimous launch observations; empty logs and flat screenshots alone
50
+ cannot establish a successful launch or a crash. Sanitize transcript control characters.
51
+
52
+ ### Fixed
53
+ - Correct scanner and Pierre guideline references, and require storefront/exception
54
+ context before drawing conclusions from payment SDK signals.
55
+ - Keep missing evidence, unsupported inspection and unexecuted checks separate from
56
+ supported review outcomes. Freeze catalog v2 procedures for historical evaluation
57
+ cases; freeze v3 before extending current reviews to catalog v4, and bind resumed evaluations to all three.
58
+ - Report TypeSafe transport attempts and retries, including unknown retry billing.
59
+
60
+ ### Maintenance
61
+ - Keep private source archives outside Git and npm packages; exercise the package
62
+ boundary with synthetic private files.
63
+
8
64
  ## [1.19.0] — 2026-09-18
9
65
 
10
66
  ### Added (optional TypeSafe / Jev semantic review)
package/README.md CHANGED
@@ -22,10 +22,8 @@
22
22
 
23
23
  `appstore-precheck` is a read-only, pre-submission gate for iOS apps. It statically scans the most
24
24
  common rejection vectors, runs Apple's own metadata linter, watches the App Store Review Guidelines
25
- for drift, has Pierre explain every FAIL and WARN, then runs **31 semantic deep-review checks**
26
- (23 high-confidence Tier A + 8 heuristic Tier B v1 — beta language, review notes quality, app preview,
27
- incentivized review, push/HomeKit abuse, rating manipulation, saturated-category differentiation,
28
- Apple's 4.0 design minimum).
25
+ for drift, has Pierre explain every FAIL and WARN, then runs **56 semantic deep-review checks**
26
+ (Tier A cross-reads, Tier B heuristics and Tier C host vision reviews).
29
27
  It hands you a single **GREEN / YELLOW / RED** verdict. It never edits your code.
30
28
 
31
29
  It ships as a portable [Agent Skill](https://agentskills.io): the same `SKILL.md` runs natively in
@@ -38,8 +36,7 @@ also run it by hand or wire it into CI.
38
36
 
39
37
  Your verdict is delivered by **Pierre**, a French critic who has seen ten thousand rejections and is
40
38
  impressed by none of them. He reviews your build harder than Apple would, in private — first with a
41
- fast static scan, then with **31 deep semantic checks** (23 confident + 8 heuristic). A GREEN from
42
- Pierre means Apple will wave you through.
39
+ fast static scan, then with **56 deep semantic checks**. GREEN describes this run’s gate results; it does not guarantee App Store approval.
43
40
 
44
41
  - 🔴 **RED**: *"Non. Restore Purchases, absent. Guideline 3.1.2. Suivant."*
45
42
  - 🟡 **YELLOW**: *"A few small uglinesses. I would not reject. But I noticed."*
@@ -51,7 +48,11 @@ each, divided by horizontal rules), not one compressed sentence. The breakdown b
51
48
 
52
49
  ## What it checks
53
50
 
54
- 55 rejection vectors across code, fastlane metadata, screenshots, `PrivacyInfo.xcprivacy`, and the paywall:
51
+ 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.
52
+
53
+ The percentage counts sections touched, not automatic verification of every requirement; see [the coverage inventory](docs/guideline-coverage.md).
54
+
55
+ 71 rejection vectors across code, fastlane metadata, screenshots, `PrivacyInfo.xcprivacy`, and the paywall:
55
56
 
56
57
  | Guideline | Check |
57
58
  |-----------|-------|
@@ -61,12 +62,12 @@ each, divided by horizontal rules), not one compressed sentence. The breakdown b
61
62
  | **2.1** | A login-gated app ships demo credentials / review notes for App Review |
62
63
  | **2.1** | Project's `LastUpgradeCheck` vs the April 2026 iOS 26 SDK (Xcode 26) upload minimum *(advisory)* |
63
64
  | **2.3** | A working support URL and a privacy URL in fastlane metadata (no placeholders) — also satisfies 1.5 and 5.1.1(i) |
64
- | **2.3.1** | Metadata length limits (name, subtitle, keywords, promo, description) |
65
+ | **2.3.7 / ASC** | Metadata length limits (name, subtitle, keywords, promo, description) |
65
66
  | **2.3.1** | Misleading marketing claims (iOS virus / malware scanners, fake speed boosters) in metadata |
66
- | **2.3.1** | Pricing / promo language ("Free", "% off", a currency amount) in the app name or subtitle |
67
+ | **2.3.7** | Pricing / promo language ("Free", "% off", a currency amount) in the app name or subtitle |
67
68
  | **2.3.3** | At least one screenshot per locale |
68
69
  | **2.3.3** | Screenshot format + PNG dimensions match a known App Store screenshot size *(advisory, WARN-only)* |
69
- | **2.3.7** | Localized metadata parity across every locale |
70
+ | **2.3** | Localized metadata parity across every locale |
70
71
  | **2.3.8** | "For Kids" / "For Children" wording outside the Kids Category |
71
72
  | **2.3.10** | No other-platform / competitor names in metadata |
72
73
  | **2.5.1** | No private / banned APIs |
@@ -79,9 +80,9 @@ each, divided by horizontal rules), not one compressed sentence. The breakdown b
79
80
  | **3.1.2** | Restore Purchases + Terms (EULA) + Privacy Policy on the paywall |
80
81
  | **3.1.2** | Trial-emphasized paywall CTA ("Continue with free trial") or a free-trial toggle instead of one clear price |
81
82
  | **3.1.2** | Urgency / scarcity dark patterns on the paywall ("only today", countdown + discount) |
82
- | **3.1.5(a)** | Cryptocurrency wallet / exchange / mining signal |
83
+ | **3.1.5** | Cryptocurrency wallet / exchange / mining signal |
83
84
  | **4.2** | Minimum functionality (real navigation) |
84
- | **4.2.3** | Thin WKWebView wrapper around a website |
85
+ | **4.2** | Thin WKWebView wrapper around a website |
85
86
  | **4.2.7** | Remote-desktop / host-mirroring app |
86
87
  | **4.4.1** | Keyboard extension that requires full access (`RequestsOpenAccess`) |
87
88
  | **4.4.2** | Safari content-blocker / web extension |
@@ -101,18 +102,34 @@ each, divided by horizontal rules), not one compressed sentence. The breakdown b
101
102
  | **5.1.2** | Tracking / IDFA SDK (AdMob, AppLovin, AppsFlyer, Adjust, …) shipped without an ATT prompt |
102
103
  | **5.1.3** | HealthKit data with an iCloud / CloudKit sync path |
103
104
  | **5.1.4** | Kids-audience metadata shipping a third-party ads / analytics SDK |
104
- | **5.1.5** | Sensitive-API justification *(opt-in)* |
105
+ | **Review preparation** | Sensitive-API justification *(opt-in)* |
105
106
  | **5.3.4** | Real-money gambling language in metadata |
106
107
  | **5.4** | VPN / NetworkExtension usage (org account + on-screen data disclosure) |
107
108
  | **5.5** | Mobile Device Management (MDM) signal |
108
109
  | **5.6.1** | A custom App Store review prompt instead of the system `requestReview` API |
109
110
  | **5.6.1** | Sentiment-gated rating flow ("Enjoying the app?" → only happy users see the prompt) |
110
111
  | **encryption** | `ITSAppUsesNonExemptEncryption` set, so App Store Connect skips the export-compliance question |
112
+ | **2.3.12** | Release-notes files only; absent files are SKIP, and publication timing is unknown. |
113
+ | **2.4.4** | English quoted source strings and String Catalog/resource text only; contextual review remains necessary. |
114
+ | **2.5.6** | Dependency-name and deprecated UIWebView type-use signals only; regional browser entitlements and shipping target require review. UIWebView is WARN, not FAIL. |
115
+ | **2.5.11** | Legacy declarations and handler parity only; modern AppIntent is deliberately exempt from legacy plist registration. |
116
+ | **2.5.12** | Filter/directory APIs only: normal VoIP CallKit is deliberately excluded. Labels may exist on unreachable UI. |
117
+ | **2.5.13** | Face API and authentication terms must coexist in one file; LocalAuthentication presence elsewhere suppresses the warning, without proving correct authentication. |
118
+ | **2.5.15** | Picker alone does not prove a file-browser app; the warning explicitly asks that question. Unavailable main plist is SKIP. |
119
+ | **2.5.16** | Discovered extension/App Clip manifests and source hints only; variable bundle identifiers are SKIP pending resolved build settings. |
120
+ | **2.5.17** | Matter source import or setup entitlement without a discovered Matter extension; generated target settings may need manual inspection. |
121
+ | **2.5.18** | Imports in extension/App Clip manifest directories only; pbxproj link-phase target resolution is not audited. No extension means SKIP. |
122
+ | **4.2.1** | Low-confidence source footprint proxy: one AR usage file and fewer than two view declarations; does not establish functionality quality. |
123
+ | **4.2.3** | App query schemes plus a quoted install-to-continue instruction; arbitrary canOpenURL control/data flow is not inferred. |
124
+ | **4.5.5** | Game Center identifier and network/analytics API must coexist in one file; explicitly no assertion of actual data flow. |
125
+ | **4.5.6** | Unicode emoji range heuristic in store text; icon pixels always receive a separate SKIP gap. |
126
+ | **4.7.2** | All four signals must coexist in one file: handler, remote JS URL, evaluation and native-sensitive API. Does not resolve bridge access control. |
127
+ | **5.2.4** | Narrow English endorsement/official-product patterns; authorized claims still require human confirmation. Ordinary iPhone compatibility text stays clean. |
111
128
 
112
129
  Paywall checks are skipped automatically when no in-app-purchase signals are present, and the
113
- signal-gated advisory checks stay silent unless their triggering signal is found.
130
+ advisory warnings require their documented trigger. Missing inputs are recorded in the JSON coverage gaps.
114
131
 
115
- ### Pierre deep review (31 semantic checks)
132
+ ### Pierre deep review (56 semantic checks)
116
133
 
117
134
  Optional **TypeSafe / Jev** support adds typed semantic judgments for purpose strings,
118
135
  copy, disclosures, claims/privacy consistency, review routing, guideline reranking,
@@ -130,32 +147,31 @@ See the [TypeSafe guide](skills/appstore-precheck/references/typesafe.md) for al
130
147
  workflows, fallback behavior, private caches, costs, and evaluation. No new dependency
131
148
  is needed beyond Python 3.8+ for this optional command.
132
149
 
133
- After the static scan, Pierre reads your project end-to-end and runs **31 evidence-based checks**
150
+ After the static scan, Pierre reads your project end-to-end and runs **56 evidence-based checks**
134
151
  the grep layer cannot fully judge. These emit advisory `REVIEW-FINDING:` lines (they do **not**
135
152
  change the GREEN/YELLOW/RED verdict). Full procedure:
136
153
  [`references/pierre-deep-review.md`](skills/appstore-precheck/references/pierre-deep-review.md).
137
154
 
138
- **23 checks (Tier A)** are high-confidence cross-reads (privacy policy fetch, claims vs code,
139
- screenshots, paywall copy). **8 checks (Tier B v1, marked †)** are heuristic — useful pre-submit
140
- signals with a higher false-positive rate; Pierre prefers `not applicable` when no signal is present.
155
+ Tier A checks cross-read supplied artifacts; Tier B checks are heuristic. Tier C requires host vision.
156
+ Missing evidence is reported separately; a declared section is not a verified requirement.
141
157
 
142
158
  | Guideline | Deep check |
143
159
  |-----------|------------|
144
- | **1.2.1** | User-generated content → is there a real report / block / moderation UI flow? |
160
+ | **1.2** | User-generated content → is there a real report / block / moderation UI flow? |
145
161
  | **1.4.1** | Health or medical claims in metadata/UI without appropriate disclaimers? |
146
162
  | **2.1** | Store metadata claims match features actually implemented in code |
147
163
  | **2.1** † | App Review demo account / review notes actionable (credentials, steps — not placeholder) |
148
164
  | **2.2** † | Beta, test, preview, or work-in-progress language in store-facing copy or UI |
149
- | **2.3.2** | Primary App Store category fits the app type |
165
+ | **2.3.5** | Primary App Store category fits the app type |
150
166
  | **2.3.4** † | App preview video/assets (if in-repo) match shipped features and metadata |
151
- | **2.3.5** | Screenshot images match shipped features (no misleading frames or missing UI) |
152
- | **2.3.6** | Metadata pricing / subscription language matches the paywall |
153
- | **2.3.9** † | Incentivized review copy ("rate 5 stars", "review for reward") in metadata or UI |
154
- | **2.3.11–2.3.13** | Cross-locale metadata materially consistent (trial terms, features, URLs) |
167
+ | **2.3.3 / 2.3.1(a)** | Screenshot images match shipped features (no misleading frames or missing UI) |
168
+ | **2.3.2 / 3.1.2(c)** | Metadata pricing / subscription language matches the paywall |
169
+ | **3.2.2(x) / 5.6.3** † | Incentivized review copy ("rate 5 stars", "review for reward") in metadata or UI |
170
+ | **2.3** | Cross-locale metadata materially consistent (trial terms, features, URLs) |
155
171
  | **3.1.1** | Digital goods unlocked via external purchase links (web checkout in WebView, etc.) |
156
172
  | **3.1.2** | Trial, auto-renew, and cancel disclosures are legible sentences — not keyword stubs |
157
- | **4.2.1–4.2.2** | Minimum functionality beyond a thin WebView shell or template app |
158
- | **4.5.1–4.5.3** † | Push notification or HomeKit entitlement used as intended (no spam-push / HomeKit without home UI) |
173
+ | **4.2 / 4.2.2** | Minimum functionality beyond a thin WebView shell or template app |
174
+ | **2.5.1 / 4.5.3 / 4.5.4** † | Push notification or HomeKit entitlement used as intended (no spam-push / HomeKit without home UI) |
159
175
  | **4.8** | Third-party login → Sign in with Apple offered, or a valid exempt case |
160
176
  | **5.1.1(i)** | Privacy policy text (fetched live) matches code, PrivacyInfo, and SDK usage |
161
177
  | **5.1.1(ii)** | Purpose strings are specific and tied to a visible feature |
@@ -164,18 +180,44 @@ signals with a higher false-positive rate; Pierre prefers `not applicable` when
164
180
  | **5.1.1(iv)** | Pre-permission priming CTA is neutral ("Continue"/"Next"), not steering toward granting |
165
181
  | **5.1.2** | ATT prompt, tracking description, privacy policy, and ad SDK usage align |
166
182
  | **5.1.3** | HealthKit data not used for advertising or marketing |
167
- | **5.1.4** | Kids-audience signals → parental gate before external links / IAP / account areas |
183
+ | **1.3 / 5.1.4** | Kids-audience signals → parental gate before external links / IAP / account areas |
168
184
  | **5.4** | VPN / NetworkExtension → on-screen disclosure copy visible in UI strings |
169
- | **5.2.1–5.2.3** | Obvious third-party trademark or brand misuse in metadata or UI copy |
170
- | **5.3.1–5.3.3** | Contest / sweepstakes copy includes official rules and eligibility |
171
- | **5.6.2–5.6.3** | Developer identity consistent (app name, support URL content, domains) |
185
+ | **5.2.1** | Obvious third-party trademark or brand misuse in metadata or UI copy |
186
+ | **5.3.1 / 5.3.2** | Contest / sweepstakes copy includes official rules and eligibility |
187
+ | **1.5 / 5.6.2** | Developer identity consistent (app name, support URL content, domains) |
172
188
  | **5.6.1 / 5.6.3** † | Rating / review manipulation dark patterns (withhold features until 5 stars, write-review links without `requestReview`) |
173
189
  | **4.3** † | Meaningfully different from the incumbents in a category Apple names as saturated (4.3(b)); no 4.3(a) per-variant bundle ids |
174
190
  | **4.0** † | Apple's minimum design bar: iPad / large-text layout, no placeholder, clipped or degraded UI (Apple's #1 removal reason) |
175
-
176
- Pierre runs **all 31 every time** and reports each as `REVIEW-PASS:` or `REVIEW-FINDING:`. When the
191
+ | **1.1.1** (vision) | Does observed content attack or humiliate a named person or protected group? |
192
+ | **1.1.2** (vision) | Does realistic violent imagery conflict with the documented game context and age declaration? |
193
+ | **1.1.3** (vision) | Does the observed offering encourage harmful use of weapons or hazardous substances? |
194
+ | **1.1.4** (vision) | Does observed sexual content or the advertised matching purpose warrant a content-policy review? |
195
+ | **1.1.5** † | Does the supplied text contain inflammatory religious targeting or a quotation contradicted by its supplied source? |
196
+ | **1.1.6** † | Does a concrete implementation mismatch support a deceptive capability claim such as fabricated scanning or sensor data? |
197
+ | **1.2.1** † | Does a creator-content offering mislabel its content or move it outside the described in-app experience? |
198
+ | **1.4.2** † | Does a dosage-calculation offering lack the documented institutional source appropriate to its claims? |
199
+ | **1.4.3** † | Does the supplied offering promote or sell tobacco, vaping goods, or illegal drugs within its documented context? |
200
+ | **1.4.4** † | Does a checkpoint-location feature use a source other than the documented law-enforcement source? |
201
+ | **1.4.5** † | Does the observed challenge or wagering copy encourage actions likely to physically harm participants? |
202
+ | **2.3.6** (vision) | Does visible content materially contradict the supplied current age-rating declaration? |
203
+ | **2.5.8** † | Does the product promise to replace the device home screen beyond a clearly described in-app simulation? |
204
+ | **2.5.9** † | Does implemented behavior or user-facing copy override system controls outside the documented app-local context? |
205
+ | **3.1.3** † | Does the supplied external-purchase flow contradict the documented offering, storefront, and claimed exception? |
206
+ | **3.1.4** † | Does a hardware-gated content unlock exceed the documented relationship between the hardware and its function? |
207
+ | **3.2.1** † | Does the documented promotion, gift-card, or wallet model contradict the bounded permitted purpose claimed by the developer? |
208
+ | **4.2.6** (vision) | Do observed template reuse and the supplied ownership relationship support concern about a generic third-party app submission? |
209
+ | **4.5.1** † | Does the implementation use an Apple store feed beyond its documented display purpose? |
210
+ | **4.7.1** † | Do documented mini-app data practices contradict the containing app privacy declaration? |
211
+ | **4.7.3** † | Does a mini-app bridge transfer host permissions or personal data beyond the supplied consent boundary? |
212
+ | **4.10** † | Does the paywall charge solely for access to a built-in device capability rather than a documented added service? |
213
+ | **5.2.3** † | Does the offered media-downloading or sharing flow conflict with the documented authorization for third-party content? |
214
+ | **5.2.5** (vision) | Do the observed icon, name, and interface create a concrete misleading resemblance to an Apple product? |
215
+ | **5.3.3** † | Does the supplied StoreKit flow sell credits used for documented real-money gambling or lottery participation? |
216
+
217
+ Pierre reports an outcome for **all 56 every time**. New catalog v4 checks use FINDING, SKIP or no signal; historical checks retain their statuses. Separate conclusions
218
+ from missing evidence, unsupported inspection, unexecuted checks and proven non-applicability. When the
177
219
  static scan already flagged a guideline, the deep check adds semantic context the scanner could not see.
178
- † Tier B v1 items are heuristic — treat findings as "verify before submit", not automatic blockers.
220
+ † Tier B items are heuristic — treat findings as "verify before submit", not automatic blockers.
179
221
 
180
222
  ### Supported app types
181
223
 
@@ -186,7 +228,7 @@ how the app is built:
186
228
 
187
229
  | App type | Coverage |
188
230
  |----------|----------|
189
- | 🟢 **Native Swift / SwiftUI** | **Full.** All 55 vectors apply. |
231
+ | 🟢 **Native Swift / SwiftUI** | Source checks are supported; applicability and missing-input gates still apply. |
190
232
  | 🟡 **React Native / Flutter** | Metadata, privacy manifest, screenshots, and export compliance apply in full. The native-source checks (ATT, paywall links, private API, SDK detection, navigation) **under-detect rather than misfire**: that logic lives in JS/Dart, so they stay quiet instead of blocking. |
191
233
 
192
234
  ## Quick start
@@ -374,10 +416,10 @@ nothing is auto-fixed.
374
416
  | Phase | Step |
375
417
  |-------|------|
376
418
  | **0** | **Guideline drift**: diff the live App Store Review Guidelines against a tracked baseline. Never blocks. |
377
- | **1** | **Static scan**: `scan.sh` over the 55 vectors above. Every finding is labelled with the artifact it was read from and who enforces it — see [Evidence strength](#evidence-strength). |
419
+ | **1** | **Static scan**: `scan.sh` over the 71 vectors above. Every finding is labelled with the artifact it was read from and who enforces it — see [Evidence strength](#evidence-strength). |
378
420
  | **2** | **`fastlane precheck`**: Apple's own metadata rule engine. |
379
421
  | **3** | **Pierre commentary**: explains **every** FAIL and WARN from Phases 0–2 in 2–3 sentences each, quoting Apple's pinned guideline text rather than his memory — see [Guideline citations](#guideline-citations). |
380
- | **4** | **Pierre deep review**: 31 semantic checks (23 Tier A + 8 Tier B v1 heuristic), plus 5 screenshot-vision checks when screenshots are present. Advisory only. |
422
+ | **4** | **Pierre deep review**: 56 semantic checks (Tier A, heuristic Tier B and host vision Tier C), plus 5 screenshot-vision checks when screenshots are present. Advisory only. |
381
423
  | **5** | **Verdict**: GREEN / YELLOW / RED from Phases 0–2 counts, plus `.precheck-pass` token the upload guard gates on. |
382
424
  | **6** | *(opt-in, agent mode)* **Local dynamic simulator tier**: finds a simulator `.app` you already built (`scripts/app-discover.sh`, never builds), then `scripts/dynamic-run.sh` runs it on a throwaway simulator it creates and deletes — launch health three times on an erased device (a crash finding needs 3/3), first screen, dark-mode / Dynamic Type / iPad layout heuristics, the *installed* bundle's purpose strings / `DTXcode` / linked frameworks, hosts contacted vs `NSPrivacyTrackingDomains` — while the agent drives paywall / Restore-tap / permission / demo-login / screenshot-parity via Maestro. Advisory; never changes the verdict; a check it cannot drive is a `DYNAMIC-SKIP`, never a pass. `scripts/dynamic.sh` turns the transcript into `evidence: runtime` records and reconciles them with the static findings; a Debug build never clears `needs build verification`. Not read-only: it executes your app. |
383
425
 
@@ -390,7 +432,7 @@ Severity says how bad a finding is. It does not say how firmly it is *establishe
390
432
  FAIL: 5.1.1 camera capture API used but Info.plist is missing 'NSCameraUsageDescription' [App/CameraView.swift:42]
391
433
  evidence: source · validator-blocking · needs build verification
392
434
 
393
- WARN: 2.3.1 Pricing language in app name/subtitle [fastlane/metadata/en-US/name.txt]
435
+ WARN: 2.3.7 Pricing language in app name/subtitle [fastlane/metadata/en-US/name.txt]
394
436
  evidence: metadata · judgment-call
395
437
  ```
396
438
 
@@ -604,7 +646,7 @@ measures the false-positive rate on real, unrelated open-source code. See
604
646
  ## Eval (LLM deep-review scorecard)
605
647
 
606
648
  The static scanner above is measured by `docs/scorecard.md`; Pierre's **LLM deep-review layer**
607
- (31 semantic checks, incl. the 8 heuristic Tier B checks) has its own harness under [`eval/`](eval/)
649
+ (56 semantic checks, including heuristics and host vision) has its own harness under [`eval/`](eval/)
608
650
  and its own scorecard, [`docs/llm-scorecard.md`](docs/llm-scorecard.md).
609
651
 
610
652
  - **Dataset** — `eval/dataset/`: one labelled case per file (target check, expected
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appstore-precheck",
3
- "version": "1.19.0",
3
+ "version": "1.20.1",
4
4
  "description": "Read-only iOS App Store pre-submission check, packaged as a portable Agent Skill with native Claude Code, Cursor, Codex, and Grok Build plugins, plus an npx CLI.",
5
5
  "license": "MIT",
6
6
  "author": "Berkay Turk (https://github.com/berkayturk)",
@@ -25,7 +25,7 @@
25
25
  "scripts": {
26
26
  "test": "bash tests/all.sh",
27
27
  "check-versions": "bash scripts/check-versions.sh",
28
- "lint": "node --check bin/cli.js && bash -n skills/appstore-precheck/scripts/scan.sh && bash -n skills/appstore-precheck/scripts/verdict.sh && bash -n skills/appstore-precheck/scripts/phase2-precheck.sh && bash -n skills/appstore-precheck/scripts/findings.sh && bash -n skills/appstore-precheck/scripts/evidence.sh && bash -n skills/appstore-precheck/scripts/dynamic.sh && bash -n skills/appstore-precheck/scripts/guideline-cite.sh && bash -n skills/appstore-precheck/scripts/suppress.sh && bash -n hooks/fastlane-guard.sh && bash -n install.sh && bash -n tests/run.sh && bash -n tests/all.sh && bash -n tests/test-verdict.sh && bash -n tests/test-guard.sh && bash -n tests/test-config.sh && bash -n tests/test-install.sh && bash -n tests/test-phase2.sh && bash -n tests/test-cli.sh && bash -n tests/test-findings.sh && bash -n tests/test-format-json.sh && bash -n tests/test-suppress.sh && bash -n tests/test-scorecard.sh && bash -n tests/test-sdk-signals.sh && bash -n scripts/scorecard.sh && bash -n scripts/scorecard-real.sh && bash -n scripts/update-brew-formula.sh && bash -n tests/test-pack.sh && bash -n eval/run.sh && bash -n eval/validate.sh && bash -n eval/rag/ingest.sh && bash -n tests/test-rag-ingest.sh && bash -n tests/test-rag-embed.sh && bash -n tests/test-rag-gemini-client.sh && bash -n tests/test-rag-retrieve.sh && bash -n tests/test-eval-parse.sh && bash -n tests/test-rag-build-request.sh && bash -n tests/test-rag-run-guard.sh && bash -n tests/test-eval-score.sh && bash -n tests/test-evidence.sh && bash -n tests/test-guideline-cite.sh && bash -n tests/test-skip.sh && bash -n tests/test-saturated.sh && bash -n tests/test-ipv4-literal.sh && bash -n tests/test-design-40.sh && bash -n tests/test-phase6-doc.sh && bash -n tests/test-dynamic-reconcile.sh && bash -n skills/appstore-precheck/scripts/framework-detect.sh && bash -n skills/appstore-precheck/scripts/app-discover.sh && bash -n skills/appstore-precheck/scripts/dynamic-run.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-quorum.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-device.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-signals.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-geometry.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-hosts.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-bundle.sh && python3 -m py_compile skills/appstore-precheck/scripts/lib/png-uniform.py && bash -n tests/test-framework-detect.sh && bash -n tests/test-app-discover.sh && bash -n tests/test-dynamic-libs.sh && bash -n tests/test-dynamic-run.sh && bash -n tests/local/run-dynamic.sh && bash -n scripts/guideline-drift.sh && bash -n skills/appstore-precheck/scripts/lib/guideline-text.sh"
28
+ "lint": "node --check bin/cli.js && bash -n skills/appstore-precheck/scripts/scan.sh && bash -n skills/appstore-precheck/scripts/verdict.sh && bash -n skills/appstore-precheck/scripts/phase2-precheck.sh && bash -n skills/appstore-precheck/scripts/findings.sh && bash -n skills/appstore-precheck/scripts/evidence.sh && bash -n skills/appstore-precheck/scripts/dynamic.sh && bash -n skills/appstore-precheck/scripts/guideline-cite.sh && bash -n skills/appstore-precheck/scripts/suppress.sh && bash -n hooks/fastlane-guard.sh && bash -n install.sh && bash -n tests/run.sh && bash -n tests/all.sh && bash -n tests/test-verdict.sh && bash -n tests/test-guard.sh && bash -n tests/test-config.sh && bash -n tests/test-install.sh && bash -n tests/test-phase2.sh && bash -n tests/test-cli.sh && bash -n tests/test-findings.sh && bash -n tests/test-format-json.sh && bash -n tests/test-suppress.sh && bash -n tests/test-scorecard.sh && bash -n tests/test-sdk-signals.sh && bash -n scripts/scorecard.sh && bash -n scripts/scorecard-real.sh && bash -n scripts/update-brew-formula.sh && bash -n tests/test-pack.sh && bash -n eval/run.sh && bash -n eval/validate.sh && bash -n eval/rag/ingest.sh && bash -n tests/test-rag-ingest.sh && bash -n tests/test-rag-embed.sh && bash -n tests/test-rag-gemini-client.sh && bash -n tests/test-rag-retrieve.sh && bash -n tests/test-eval-parse.sh && bash -n tests/test-rag-build-request.sh && bash -n tests/test-rag-run-guard.sh && bash -n tests/test-eval-score.sh && bash -n tests/test-evidence.sh && bash -n tests/test-guideline-cite.sh && bash -n tests/test-skip.sh && bash -n tests/test-saturated.sh && bash -n tests/test-ipv4-literal.sh && bash -n tests/test-design-40.sh && bash -n tests/test-phase6-doc.sh && bash -n tests/test-dynamic-reconcile.sh && bash -n skills/appstore-precheck/scripts/framework-detect.sh && bash -n skills/appstore-precheck/scripts/app-discover.sh && bash -n skills/appstore-precheck/scripts/dynamic-run.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-quorum.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-device.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-signals.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-geometry.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-hosts.sh && bash -n skills/appstore-precheck/scripts/lib/dyn-bundle.sh && python3 -m py_compile skills/appstore-precheck/scripts/lib/png-uniform.py && bash -n tests/test-framework-detect.sh && bash -n tests/test-app-discover.sh && bash -n tests/test-dynamic-libs.sh && bash -n tests/test-dynamic-run.sh && bash -n tests/local/run-dynamic.sh && bash -n scripts/guideline-drift.sh && bash -n skills/appstore-precheck/scripts/lib/guideline-text.sh && bash -n skills/appstore-precheck/scripts/coverage-sections.sh && bash -n skills/appstore-precheck/scripts/lib/coverage-run.sh && python3 -B scripts/lint-coverage.py"
29
29
  },
30
30
  "keywords": [
31
31
  "ios",