appstore-precheck 1.18.0 → 1.20.0
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.
- package/CHANGELOG.md +256 -0
- package/README.md +108 -39
- package/bin/cli.js +8 -0
- package/package.json +2 -2
- package/skills/appstore-precheck/SKILL.md +99 -157
- package/skills/appstore-precheck/guidelines-baseline.json +285 -36
- package/skills/appstore-precheck/guidelines-fingerprints.json +319 -93
- package/skills/appstore-precheck/references/finding-commentary.md +93 -0
- package/skills/appstore-precheck/references/methodology.md +81 -26
- package/skills/appstore-precheck/references/optional-review.md +56 -0
- package/skills/appstore-precheck/references/pierre-deep-review.md +323 -44
- package/skills/appstore-precheck/references/review-catalog.json +740 -0
- package/skills/appstore-precheck/references/screenshot-vision-review.md +8 -8
- package/skills/appstore-precheck/references/simulator-dynamic-review.md +398 -54
- package/skills/appstore-precheck/references/typesafe-example.json +239 -0
- package/skills/appstore-precheck/references/typesafe.md +216 -0
- package/skills/appstore-precheck/scripts/app-discover.sh +138 -0
- package/skills/appstore-precheck/scripts/artifact-review.sh +10 -0
- package/skills/appstore-precheck/scripts/augment-json.py +29 -0
- package/skills/appstore-precheck/scripts/build-run.sh +5 -0
- package/skills/appstore-precheck/scripts/coverage-sections.sh +6 -0
- package/skills/appstore-precheck/scripts/dynamic-run.sh +400 -0
- package/skills/appstore-precheck/scripts/dynamic.sh +329 -0
- package/skills/appstore-precheck/scripts/evidence.sh +49 -15
- package/skills/appstore-precheck/scripts/findings.sh +76 -26
- package/skills/appstore-precheck/scripts/framework-detect.sh +101 -0
- package/skills/appstore-precheck/scripts/guideline-cite.sh +4 -1
- package/skills/appstore-precheck/scripts/lib/artifact-review.py +518 -0
- package/skills/appstore-precheck/scripts/lib/asc-client.py +293 -0
- package/skills/appstore-precheck/scripts/lib/build-evidence.py +50 -0
- package/skills/appstore-precheck/scripts/lib/build-exec.py +50 -0
- package/skills/appstore-precheck/scripts/lib/build-plan.py +106 -0
- package/skills/appstore-precheck/scripts/lib/build-plan.sh +15 -0
- package/skills/appstore-precheck/scripts/lib/build-run.py +177 -0
- package/skills/appstore-precheck/scripts/lib/coverage-run.sh +23 -0
- package/skills/appstore-precheck/scripts/lib/coverage-sections.py +244 -0
- package/skills/appstore-precheck/scripts/lib/dyn-bundle.sh +185 -0
- package/skills/appstore-precheck/scripts/lib/dyn-demo-login.py +111 -0
- package/skills/appstore-precheck/scripts/lib/dyn-device.sh +123 -0
- package/skills/appstore-precheck/scripts/lib/dyn-explore.py +312 -0
- package/skills/appstore-precheck/scripts/lib/dyn-geometry.sh +75 -0
- package/skills/appstore-precheck/scripts/lib/dyn-guideline-capture.py +301 -0
- package/skills/appstore-precheck/scripts/lib/dyn-guidelines.py +112 -0
- package/skills/appstore-precheck/scripts/lib/dyn-guidelines.sh +23 -0
- package/skills/appstore-precheck/scripts/lib/dyn-hosts.sh +134 -0
- package/skills/appstore-precheck/scripts/lib/dyn-process.py +75 -0
- package/skills/appstore-precheck/scripts/lib/dyn-quorum.sh +90 -0
- package/skills/appstore-precheck/scripts/lib/dyn-scrub.py +79 -0
- package/skills/appstore-precheck/scripts/lib/dyn-signals.sh +120 -0
- package/skills/appstore-precheck/scripts/lib/guideline-text.sh +23 -5
- package/skills/appstore-precheck/scripts/lib/metadata-review.py +369 -0
- package/skills/appstore-precheck/scripts/lib/optin-scan.sh +73 -0
- package/skills/appstore-precheck/scripts/lib/optional-records.py +60 -0
- package/skills/appstore-precheck/scripts/lib/png-uniform.py +115 -0
- package/skills/appstore-precheck/scripts/lib/runtime-blocking.py +26 -0
- package/skills/appstore-precheck/scripts/lib/safe_write.py +61 -0
- package/skills/appstore-precheck/scripts/lib/scan-guidelines.sh +199 -0
- package/skills/appstore-precheck/scripts/lib/static-guidelines.py +341 -0
- package/skills/appstore-precheck/scripts/lib/static-reader.py +39 -0
- package/skills/appstore-precheck/scripts/metadata-review.sh +4 -0
- package/skills/appstore-precheck/scripts/opt-in-review.py +160 -0
- package/skills/appstore-precheck/scripts/runtime-review.sh +5 -0
- package/skills/appstore-precheck/scripts/scan.sh +132 -21
- package/skills/appstore-precheck/scripts/semantic/__init__.py +1 -0
- package/skills/appstore-precheck/scripts/semantic/client.py +95 -0
- package/skills/appstore-precheck/scripts/semantic/collect.py +165 -0
- package/skills/appstore-precheck/scripts/semantic/engine.py +320 -0
- package/skills/appstore-precheck/scripts/semantic/questions.py +167 -0
- package/skills/appstore-precheck/scripts/semantic/review_v4.py +81 -0
- package/skills/appstore-precheck/scripts/semantic-review.py +61 -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 (
|
|
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)
|
|
@@ -65,6 +68,12 @@ also covers text (semantic) drift of covered sections via `guidelines-fingerprin
|
|
|
65
68
|
the affected check(s) when a section's fingerprint no longer matches. Reconcile the fingerprint
|
|
66
69
|
baseline the same deliberate way, with `guideline-drift.sh --reconcile`.
|
|
67
70
|
|
|
71
|
+
**Category intros (`1.0`–`5.0`).** Apple cites the intro prose of each category by number
|
|
72
|
+
("Guideline 4.0 - Design" is its single most-cited removal reason), but the live page anchors that
|
|
73
|
+
prose only as the bare category id (`id="4"`; there is no `id="4.0"`, verified 2026-09-01). The
|
|
74
|
+
parser surfaces bare category anchors as `N.0`, so the intros are baselined, fingerprinted and
|
|
75
|
+
citable like any sub-section; every link and citation resolves `N.0` back to `#N`.
|
|
76
|
+
|
|
68
77
|
---
|
|
69
78
|
|
|
70
79
|
## Phase 1: Rejection vectors
|
|
@@ -77,23 +86,23 @@ baseline the same deliberate way, with `guideline-drift.sh --reconcile`.
|
|
|
77
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 |
|
|
78
87
|
| 3 | **5.1.2 ATT** | If `AppTrackingTransparency`/`ATTrackingManager` is used, `NSUserTrackingUsageDescription` is present |
|
|
79
88
|
| 4 | **2.3.10 Other platforms** | No "Android" / "Google Play" / competitor store names in store metadata |
|
|
80
|
-
| 5 | **2.3.
|
|
81
|
-
| 6 | **2.3
|
|
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 |
|
|
82
91
|
| 7 | **2.3.3 Screenshots** | Each locale folder has at least one screenshot (warns if <3) |
|
|
83
92
|
| 8 | **3.1.2 Trial disclosure** | If trial wording exists, a trial→paid auto-renew disclosure key exists |
|
|
84
93
|
| 9 | **3.1.2 Auto-renew disclosure** | A subscription disclosure string exists and covers each locale |
|
|
85
94
|
| 10 | **3.1.2 Required links** | The paywall view contains Restore Purchases + Terms of Use (EULA) + Privacy Policy |
|
|
86
95
|
| 11 | **2.5.1 Private API** | No banned identifiers (`UIWebView`, `setSelectionIndicatorImage`, `_UIBackdropView`, `NSURLConnection`, …) |
|
|
87
96
|
| 12 | **4.2 Minimum functionality** | At least one navigation hub (`TabView` / `NavigationStack` / `NavigationSplitView`) |
|
|
88
|
-
| 13 | **
|
|
97
|
+
| 13 | **Review preparation: Sensitive APIs** *(opt-in)* | If FamilyControls is used and `optionalChecks.familyControls` is on, a reviewer-notes justification exists |
|
|
89
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 |
|
|
90
|
-
| 15 | **3.1.1(a) External purchase link** *(advisory)* | If StoreKit External Purchase APIs or the entitlement are present,
|
|
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 |
|
|
91
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) |
|
|
92
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 |
|
|
93
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 |
|
|
94
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) |
|
|
95
104
|
| 20 | **2.1 Placeholder content** *(advisory)* | No lorem ipsum / TODO / FIXME / `example.com` / "insert X here" / changeme in store metadata |
|
|
96
|
-
| 21 | **3.1.1 Third-party payment SDK** *(advisory)* | If a third-party payment SDK (Stripe, Braintree, PayPal, Square, Adyen, …) is linked,
|
|
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 |
|
|
97
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 |
|
|
98
107
|
| 23 | **1.6 App Transport Security** *(advisory)* | `NSAllowsArbitraryLoads=true` in Info.plist disables ATS app-wide |
|
|
99
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 |
|
|
@@ -106,8 +115,8 @@ baseline the same deliberate way, with `guideline-drift.sh --reconcile`.
|
|
|
106
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`) |
|
|
107
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 |
|
|
108
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 |
|
|
109
|
-
| 34 | **3.1.5
|
|
110
|
-
| 35 | **4.2
|
|
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 |
|
|
111
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 |
|
|
112
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 |
|
|
113
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 |
|
|
@@ -117,7 +126,7 @@ baseline the same deliberate way, with `guideline-drift.sh --reconcile`.
|
|
|
117
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. |
|
|
118
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) |
|
|
119
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) |
|
|
120
|
-
| 45 | **2.3.
|
|
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) |
|
|
121
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 |
|
|
122
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 |
|
|
123
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) |
|
|
@@ -126,9 +135,31 @@ baseline the same deliberate way, with `guideline-drift.sh --reconcile`.
|
|
|
126
135
|
| 51 | **4.5.4 Marketing push opt-out** *(advisory)* | A marketing-push SDK (OneSignal, Braze, CleverTap, Iterable, Airship, MoEngage) registers for notifications but no notification-preferences / opt-out signal is found; promotional push requires explicit consent and a working opt-out (4.5.4) |
|
|
127
136
|
| 52 | **2.1 Xcode/SDK minimum** *(advisory)* | The highest `LastUpgradeCheck` across checked-in pbxproj files is clearly pre-26 — since April 2026, App Store uploads must be built with the iOS 26 SDK (Xcode 26) or they are auto-rejected at upload. WARN-verify: the field tracks the upgrade-check, not the actual build toolchain |
|
|
128
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) |
|
|
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 |
|
|
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.
|
|
129
160
|
|
|
130
161
|
Vectors 8–10 only run when in-app-purchase signals are detected (StoreKit / RevenueCat import,
|
|
131
|
-
or a paywall view). Otherwise the scanner emits a single PASS and skips them. Vectors 16–52 (plus the IAP-gated 53) are
|
|
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
|
|
132
163
|
signal-gated advisory WARNs: each emits nothing unless its triggering signal is present.
|
|
133
164
|
|
|
134
165
|
### Screenshot format + dimensions (§7b, 2.3.3)
|
|
@@ -186,24 +217,22 @@ finds; Pierre explains.
|
|
|
186
217
|
|
|
187
218
|
---
|
|
188
219
|
|
|
189
|
-
## Phase 4: Pierre deep review (
|
|
220
|
+
## Phase 4: Pierre deep review (56 semantic checks)
|
|
190
221
|
|
|
191
|
-
After Phase 3, Pierre runs the **Review Simulator**:
|
|
192
|
-
cannot fully judge
|
|
193
|
-
**4, 5, 7, 10, 15, 29** in the checklist: 2.1 review notes, 2.2, 2.3.4, 2.3.9, 4.5.1–4.5.3,
|
|
194
|
-
5.6.1/5.6.3). 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
|
|
195
224
|
[`pierre-deep-review.md`](pierre-deep-review.md).
|
|
196
225
|
|
|
197
|
-
**Verdict impact:** none. Phase 4
|
|
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.
|
|
198
227
|
These are advisory; FAIL/WARN counts and GREEN/YELLOW/RED come only from Phases 0–2.
|
|
199
228
|
|
|
200
229
|
**Coverage:** deepens scan hits where applicable (e.g. 5.1.1 purpose strings → 5.1.1(ii) quality;
|
|
201
|
-
§22 UGC keyword → 1.2
|
|
202
|
-
5.1.1(i) privacy policy fetch, 2.3
|
|
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
|
|
203
232
|
are tracked in `guidelines-baseline.json` → `covered_by_pierre_deep_review`.
|
|
204
233
|
|
|
205
|
-
**Presentation (Phase 5):** after Phase 3 commentary, show Phase 4 summary (N of
|
|
206
|
-
every `REVIEW-FINDING` with Pierre's 2–3 sentence explanation. Tier B
|
|
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.
|
|
207
236
|
|
|
208
237
|
---
|
|
209
238
|
|
|
@@ -433,6 +462,23 @@ completeness test (`is_gap_record`, convention: ids ending in `-not-audited`).
|
|
|
433
462
|
| 52 | `xcode-sdk-requirement` | build-setting | validator-blocking | yes |
|
|
434
463
|
| 53 | `subscription-eula-metadata` | metadata | review-risk | — |
|
|
435
464
|
| 54 | `saturated-category` | metadata | judgment-call | — |
|
|
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 | — |
|
|
436
482
|
|
|
437
483
|
*Generated from `scripts/evidence.sh`; `tests/test-evidence.sh` keeps it honest.*
|
|
438
484
|
|
|
@@ -538,12 +584,20 @@ which rules fire. Contribute an outcome via the "App Store outcome" issue templa
|
|
|
538
584
|
|
|
539
585
|
Beyond the static scan and the agent-mode deep reviews, an **opt-in** local dynamic tier
|
|
540
586
|
(`references/simulator-dynamic-review.md`, SKILL.md Phase 6) can run the app on a simulator
|
|
541
|
-
(`xcrun simctl` + Maestro MCP
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
587
|
+
(`xcrun simctl` + Maestro MCP, with `scripts/dynamic-run.sh` driving the observation-based part)
|
|
588
|
+
and emit advisory `DYNAMIC-PASS:` / `DYNAMIC-FINDING:` / `DYNAMIC-SKIP:` observations — launch/crash
|
|
589
|
+
(three repeats on an erased device; a finding needs all three), first screen, dark-mode / Dynamic
|
|
590
|
+
Type / iPad layout heuristics, the installed bundle's `Info.plist` / `DTXcode` / linked frameworks,
|
|
591
|
+
hosts contacted vs `NSPrivacyTrackingDomains`, and the agent-driven paywall, Restore tap, permission
|
|
592
|
+
prompt, demo-login and screenshot-parity checks. It is off by default, never changes the verdict,
|
|
593
|
+
never writes to the user's project (it creates and deletes its own simulator, and never builds: the
|
|
594
|
+
`.app` must already exist — `scripts/app-discover.sh` finds one), and is permanently local-only (it
|
|
595
|
+
cannot run in CI). It *does* execute the app. `scripts/dynamic.sh` records every observation as
|
|
596
|
+
`evidence: runtime` and reconciles it with the static findings; a Debug build never clears `needs
|
|
597
|
+
build verification`. It is a pre-submit local smoke signal, not a TestFlight / crash-reporter / QA
|
|
598
|
+
replacement. When it is not run, the report carries the `runtime-not-audited` gap record; on a React
|
|
599
|
+
Native / Flutter / Kotlin Multiplatform repo the static scan additionally carries
|
|
600
|
+
`framework-not-audited`, because its code-level greps read Swift / ObjC only.
|
|
547
601
|
|
|
548
602
|
---
|
|
549
603
|
|
|
@@ -564,4 +618,5 @@ Things the scanner cannot verify; confirm by hand before you submit:
|
|
|
564
618
|
[ ] Updated age-rating questionnaire (13+/16+/18+ tiers) completed in App Store Connect
|
|
565
619
|
[ ] EU DSA trader status declared (required for EU distribution)
|
|
566
620
|
[ ] If user data goes to a third-party AI provider: consent screen names the provider
|
|
621
|
+
[ ] IPv6-only run: Internet Sharing > "Create NAT64 Network" on a Mac, every network feature works (2.5.5 — GUI-only, not automatable; §55 only greps the IPv4-literal subset)
|
|
567
622
|
```
|
|
@@ -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.
|