appstore-precheck 1.20.1 → 1.21.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 CHANGED
@@ -5,6 +5,30 @@ All notable changes to this project are documented here. Versioning follows
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [1.21.0] — 2026-10-17
9
+
10
+ ### Apple App Review Guidelines update of October 16, 2026 reconciled
11
+
12
+ - Baseline gains the two new sections: **2.3.14 Creative Assets** (human-only: the product-page header / search art lives only in App Store Connect and has no fastlane metadata slot) and **2.5.19 hidden, dormant or undocumented features** (moved out of 2.3.1; obfuscation used to hide features is now grounds for removal and account termination). Denominator 102 → 104 leaf sections.
13
+ - New advisory static vector **§72 `review-mode-gate` (2.5.19)**: review-detection / hide-for-review identifiers and remote-config keys, App Store build-flag branches, date-gated unlocks, and obfuscation tooling (SwiftShield, swift-obfuscator, iXGuard, string obfuscators). WARN only; `SKStoreReviewController`, `requestReview`, review-prompt copy and product/order review vocabulary stay clean.
14
+ - **§22 (1.2)** now treats AI content creation as user-generated content: image/video generation endpoints and SDKs (OpenAI images, Replicate, Stability, fal.ai, Runway, ImagePlayground, StableDiffusion, `generateImage`) join the UGC signal list, and the WARN names nonconsensual intimate imagery and the Developer Code of Conduct consequence. Deep-review checks 1 and 38 mention AI-generated content.
15
+ - **§50 (4.5.3)** gains a Live Activities signal: `import ActivityKit` / `NSSupportsLiveActivities` with a marketing-push SDK is a WARN (push-to-start promotions), alone a PASS note; deep-review check 15 now asks about Live Activities spam.
16
+ - **§15 (3.1.1(a))** WARN uses Apple's "permitted destination" language and notes that approved destinations vary by region.
17
+ - Fingerprints reconciled against the live page (`reconciled_on` 2026-10-17); the eleven pinned quotations whose text Apple changed were re-pinned at the 25-word boundary and their golden hashes refreshed. Baseline `reconciled_on` 2026-10-17, `apple_last_updated_seen` October 16, 2026.
18
+ - `scripts/guideline-drift.sh` names the real check slug for modular-table checks (§56–§72) instead of the literal `$_static_slug`; SKILL.md points at the drift script at the repository root rather than the skill's own `scripts/`.
19
+
20
+ Coverage inventory: 94/104 leaf sections (90%); 94 touched, 2 positive-only; 72 static vectors, 56 deep-review checks, 20 dynamic checks, 5 vision checks, 10 human-only sections.
21
+
22
+
23
+ ## [1.20.2] — 2026-10-02
24
+
25
+ ### Fixed
26
+ - Idle CPU observations resolve the installed simulator container for each fresh repeat and verify the executable and device path before sampling; unavailable containers remain SKIP.
27
+ - Maestro gets a discarded warm-up read after setup and each reinstall (120-second default, configurable or disabled). Unread geometry and guideline hierarchy reads retry once; warm-up emits only a note.
28
+ - The local dynamic runner forwards exploration, authorized navigation, demo login, timing, iPad and packet-capture options, with portable offline argument plans.
29
+ - Builds prefer the project-named scheme, then the sole verified application target's scheme; ambiguous choices list candidates and retain discovery diagnostics. Agent configuration and worktree directories are excluded from discovery and build copies.
30
+ - First-screen checks report SKIP with a not-reached reason when no launch stayed up.
31
+
8
32
  ## [1.20.1] — 2026-10-02
9
33
 
10
34
  ### Fixed
package/README.md CHANGED
@@ -48,15 +48,15 @@ each, divided by horizontal rules), not one compressed sentence. The breakdown b
48
48
 
49
49
  ## What it checks
50
50
 
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.
51
+ Coverage inventory: 94/104 leaf sections (90%); 94 touched, 2 positive-only; 72 static vectors, 56 deep-review checks, 20 dynamic checks, 5 vision checks, 10 human-only sections.
52
52
 
53
53
  The percentage counts sections touched, not automatic verification of every requirement; see [the coverage inventory](docs/guideline-coverage.md).
54
54
 
55
- 71 rejection vectors across code, fastlane metadata, screenshots, `PrivacyInfo.xcprivacy`, and the paywall:
55
+ 72 rejection vectors across code, fastlane metadata, screenshots, `PrivacyInfo.xcprivacy`, and the paywall:
56
56
 
57
57
  | Guideline | Check |
58
58
  |-----------|-------|
59
- | **1.2** | User-generated content without a report / block / moderation mechanism |
59
+ | **1.2** | User-generated or AI-generated content (chat/UGC SDKs, image & video generation endpoints) without a report / block / moderation mechanism |
60
60
  | **1.6** | App Transport Security disabled app-wide (`NSAllowsArbitraryLoads`) |
61
61
  | **2.1** | No placeholder / dummy copy (lorem ipsum, TODO, `example.com`) in store metadata |
62
62
  | **2.1** | A login-gated app ships demo credentials / review notes for App Review |
@@ -75,7 +75,7 @@ The percentage counts sections touched, not automatic verification of every requ
75
75
  | **2.5.4** | Background modes declared in `UIBackgroundModes` but never used |
76
76
  | **2.5.5** | IPv4-only socket APIs (`inet_addr`, `AF_INET`, `gethostbyname`, …) or hardcoded IPv4 literals — App Review runs on an IPv6-only NAT64 network *(advisory)* |
77
77
  | **3.1.1** | Third-party payment SDK (Stripe, Braintree, PayPal, …) linked for digital goods instead of in-app purchase |
78
- | **3.1.1(a)** | External purchase link entitlement + disclosure, when external purchase APIs are used |
78
+ | **3.1.1(a)** | External purchase link entitlement + disclosure (link only to a permitted destination), when external purchase APIs are used |
79
79
  | **3.1.2** | Trial & auto-renew subscription disclosures |
80
80
  | **3.1.2** | Restore Purchases + Terms (EULA) + Privacy Policy on the paywall |
81
81
  | **3.1.2** | Trial-emphasized paywall CTA ("Continue with free trial") or a free-trial toggle instead of one clear price |
@@ -87,6 +87,7 @@ The percentage counts sections touched, not automatic verification of every requ
87
87
  | **4.4.1** | Keyboard extension that requires full access (`RequestsOpenAccess`) |
88
88
  | **4.4.2** | Safari content-blocker / web extension |
89
89
  | **4.5.4** | Marketing-push SDK registered for notifications without an in-app opt-out signal |
90
+ | **4.5.3** | Live Activities (`ActivityKit` / `NSSupportsLiveActivities`) alongside a marketing-push SDK: push-to-start promotions are spam *(advisory)* |
90
91
  | **4.8** | Sign in with Apple offered when a third-party social login is used |
91
92
  | **4.3** | Exposure to a category Apple names as saturated in 4.3(b) (dating, flashlight, sound effects, wallpaper, simple timers, fortune telling, …) |
92
93
  | **4.9** | Recurring Apple Pay (`PKRecurringPaymentRequest`) — verify the renewal / cancel disclosure |
@@ -125,6 +126,7 @@ The percentage counts sections touched, not automatic verification of every requ
125
126
  | **4.5.6** | Unicode emoji range heuristic in store text; icon pixels always receive a separate SKIP gap. |
126
127
  | **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
128
  | **5.2.4** | Narrow English endorsement/official-product patterns; authorized claims still require human confirmation. Ordinary iPhone compatibility text stays clean. |
129
+ | **2.5.19** | Review-detection / hide-for-review keys, App Store build-flag branches, date-gated unlocks and obfuscation tooling; store-review prompts and product-review vocabulary stay clean. A hit asks "show the reviewer what ships", it is not proof of a hidden feature. |
128
130
 
129
131
  Paywall checks are skipped automatically when no in-app-purchase signals are present, and the
130
132
  advisory warnings require their documented trigger. Missing inputs are recorded in the JSON coverage gaps.
@@ -416,7 +418,7 @@ nothing is auto-fixed.
416
418
  | Phase | Step |
417
419
  |-------|------|
418
420
  | **0** | **Guideline drift**: diff the live App Store Review Guidelines against a tracked baseline. Never blocks. |
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). |
421
+ | **1** | **Static scan**: `scan.sh` over the 72 vectors above. Every finding is labelled with the artifact it was read from and who enforces it — see [Evidence strength](#evidence-strength). |
420
422
  | **2** | **`fastlane precheck`**: Apple's own metadata rule engine. |
421
423
  | **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). |
422
424
  | **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. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appstore-precheck",
3
- "version": "1.20.1",
3
+ "version": "1.21.0",
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)",
@@ -1,10 +1,10 @@
1
1
  ---
2
2
  name: appstore-precheck
3
- description: Read-only pre-submission check for an iOS app before App Store review. Scans Swift and Objective-C code, fastlane metadata, screenshots, PrivacyInfo.xcprivacy, and the paywall for 71 rejection vectors, wraps Apple's official `fastlane precheck`, watches for live App Store Review Guideline drift, has Pierre explain every FAIL and WARN, then runs 56 semantic deep-review checks across Tier A, heuristic Tier B and host vision Tier C. Emits a GREEN/YELLOW/RED verdict and a `.precheck-pass` token an upload guard can gate on. Use when preparing an iOS App Store submission (before Archive, before "Submit for Review", before TestFlight, or before any `fastlane deliver/pilot/release`), or when the user mentions App Store rejection, app review, or fastlane upload.
3
+ description: Read-only pre-submission check for an iOS app before App Store review. Scans Swift and Objective-C code, fastlane metadata, screenshots, PrivacyInfo.xcprivacy, and the paywall for 72 rejection vectors, wraps Apple's official `fastlane precheck`, watches for live App Store Review Guideline drift, has Pierre explain every FAIL and WARN, then runs 56 semantic deep-review checks across Tier A, heuristic Tier B and host vision Tier C. Emits a GREEN/YELLOW/RED verdict and a `.precheck-pass` token an upload guard can gate on. Use when preparing an iOS App Store submission (before Archive, before "Submit for Review", before TestFlight, or before any `fastlane deliver/pilot/release`), or when the user mentions App Store rejection, app review, or fastlane upload.
4
4
  license: MIT
5
5
  metadata:
6
6
  author: Berkay Turk
7
- version: 1.20.1
7
+ version: 1.21.0
8
8
  allowed-tools: Bash Read Grep Glob WebFetch mcp__maestro__list_devices mcp__maestro__run mcp__maestro__inspect_screen mcp__maestro__take_screenshot mcp__maestro__cheat_sheet
9
9
  ---
10
10
 
@@ -12,7 +12,7 @@ allowed-tools: Bash Read Grep Glob WebFetch mcp__maestro__list_devices mcp__maes
12
12
 
13
13
  Optional CLI tiers and build/credential boundaries: [optional-review.md](references/optional-review.md).
14
14
 
15
- 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.
15
+ Coverage inventory: 94/104 leaf sections (90%); 94 touched, 2 positive-only; 72 static vectors, 56 deep-review checks, 20 dynamic checks, 5 vision checks, 10 human-only sections.
16
16
 
17
17
  This percentage counts sections touched, not automatic verification of every requirement.
18
18
 
@@ -132,11 +132,13 @@ those moved repeatedly through 2024–2026.
132
132
  Like the drift check this is a gap in **our** coverage, never a fault of the build: always
133
133
  non-blocking, WARN at most.
134
134
 
135
- The deterministic, full-page drift detector is `scripts/guideline-drift.sh` (maintainer/CI;
136
- curl-based, so it also covers the 5.5–5.6.x tail that `WebFetch` truncates). It reports
137
- section-number drift AND text (semantic) drift of covered sections, naming the affected
138
- check(s). It is non-blocking and never runs in the offline user scan; the fingerprint baseline
139
- (`guidelines-fingerprints.json`) is human-reconciled via `guideline-drift.sh --reconcile`.
135
+ The deterministic, full-page drift detector is `scripts/guideline-drift.sh` at the **source
136
+ repository root** (not this skill's own `scripts/`; it is a maintainer/CI tool and is not
137
+ installed with the skill). It is curl-based, so it also covers the 5.5–5.6.x tail that
138
+ `WebFetch` truncates, and reports section-number drift AND text (semantic) drift of covered
139
+ sections, naming the affected check(s). It is non-blocking and never runs in the offline user
140
+ scan; the fingerprint baseline (`guidelines-fingerprints.json`) is human-reconciled from the
141
+ repository root via `bash scripts/guideline-drift.sh --reconcile`.
140
142
 
141
143
  ### Phase 1: Static scan
142
144
 
@@ -150,7 +152,7 @@ bash <skill-dir>/scripts/scan.sh
150
152
  bash skills/appstore-precheck/scripts/scan.sh
151
153
  ```
152
154
 
153
- Emits `FAIL:` / `WARN:` / `PASS:` / `SKIP:` lines covering 71 rejection vectors: Privacy Manifest /
155
+ Emits `FAIL:` / `WARN:` / `PASS:` / `SKIP:` lines covering 72 rejection vectors: Privacy Manifest /
154
156
  Required Reason API parity (5.1.1), purpose strings (5.1.1), ATT (5.1.2), other-platform mentions
155
157
  (2.3.10), metadata limits (2.3.7), localized parity (2.3), screenshots (2.3.3), trial &
156
158
  auto-renew disclosures (3.1.2), Restore/Terms/Privacy links (3.1.2), private API (2.5.1), minimum
@@ -352,7 +354,7 @@ narrative; verdict.sh just pins the threshold arithmetic. `REVIEW-FINDING` lines
352
354
  5. Present the **machine-faithful** scan output: each `FAIL:`/`WARN:` line verbatim, with its
353
355
  `evidence:` line, then for each FAIL a `file:line` reference and a suggested fix (one line each,
354
356
  surgical, not paraphrased).
355
- 6. Print `Guideline coverage this run: X/102 sections touched, Y SKIP, Z human-only` using
357
+ 6. Print `Guideline coverage this run: X/104 sections touched, Y SKIP, Z human-only` using
356
358
  `coverage_sections` from scan JSON (Y counts SKIP records, including `gaps`). List every
357
359
  `human_only_sections` entry with its reason; optional tiers stay unexecuted unless observed.
358
360
  Print a **"Not audited"** section. This is **mandatory on every run**, including a GREEN one —
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_doc": "Baseline of Apple App Store Review Guidelines section numbers, for drift detection. Phase 0 fetches the live guidelines page and diffs its section numbers against `all_sections`; any NEW/REMOVED number => WARN: guideline-drift. This file is updated ONLY by deliberate human reconciliation (see SKILL.md Phase 0), NEVER auto-edited by the skill, otherwise the warning would be silently swallowed.",
3
3
  "source_url": "https://developer.apple.com/app-store/review/guidelines/",
4
- "reconciled_on": "2026-09-01",
5
- "apple_last_updated_seen": "Last Updated: June 8, 2026 (now exposed at the page footer); drift signal remains the set of section numbers. 2026-07-02: confirmed 5.6 now ends at 5.6.4 (5.6.1 App Store Reviews, 5.6.2 Developer Identity, 5.6.3 Discovery Fraud, 5.6.4 App Quality) \u2014 5.6.5/5.6.6/5.6.7 (rating/review manipulation) were removed/consolidated; that content now lives under 5.6.1 and 5.6.3. 2026-09-01: category intro sections added as 1.0-5.0 \u2014 the live page anchors each category intro only as the bare id=\"N\" (there is no id=\"4.0\"); scripts/lib/guideline-text.sh gd_section_ids surfaces those as N.0 so Apple's \"Guideline 4.0 - Design\" (its #1 removal reason in the 2024 transparency report) is baselined, fingerprinted and citable. 4.0 is covered by deep-review check 31; 2.5.5 by scan \u00a755.",
4
+ "reconciled_on": "2026-10-17",
5
+ "apple_last_updated_seen": "Last Updated: October 16, 2026 (now exposed at the page footer); drift signal remains the set of section numbers. 2026-07-02: confirmed 5.6 now ends at 5.6.4 (5.6.1 App Store Reviews, 5.6.2 Developer Identity, 5.6.3 Discovery Fraud, 5.6.4 App Quality) — 5.6.5/5.6.6/5.6.7 (rating/review manipulation) were removed/consolidated; that content now lives under 5.6.1 and 5.6.3. 2026-09-01: category intro sections added as 1.0-5.0 — the live page anchors each category intro only as the bare id=\"N\" (there is no id=\"4.0\"); scripts/lib/guideline-text.sh gd_section_ids surfaces those as N.0 so Apple's \"Guideline 4.0 - Design\" (its #1 removal reason in the 2024 transparency report) is baselined, fingerprinted and citable. 4.0 is covered by deep-review check 31; 2.5.5 by scan §55. 2026-10-17: October 16, 2026 update reconciled — NEW 2.3.14 Creative Assets (human_only) and NEW 2.5.19 hidden/dormant/undocumented features (moved out of 2.3.1; obfuscation to hide features => removal + account termination; scan §72 review-mode-gate). 1.2 now names AI content creation apps and nonconsensual intimate imagery (scan §22). 3.1.1(a) links go to a \"permitted destination\" (scan §15). Section 5 intro: violators are also blocked from alternative distribution. Remaining text drift was e.g. -> such as wording.",
6
6
  "drift_check_coverage": "Reliable for Sections 1-4 + 5.1-5.4 (high-churn regions: 2.5.x, 3.1.x, 4.7, 5.1.x). The 5.5-5.6.x tail can't be fetched (the page truncates ~5.4) and is structurally stable; review it by hand at reconciliation.",
7
7
  "covered_by_scan": [
8
8
  "1.2",
@@ -52,7 +52,9 @@
52
52
  "4.5.5",
53
53
  "4.5.6",
54
54
  "4.7.2",
55
- "5.2.4"
55
+ "5.2.4",
56
+ "2.5.19",
57
+ "4.5.3"
56
58
  ],
57
59
  "covered_by_pierre_deep_review": [
58
60
  "1.2",
@@ -143,6 +145,7 @@
143
145
  "2.3.9": "Requires proof of rights and consent for supplied assets.",
144
146
  "2.3.11": "Requires the actual preorder listing and release commitments.",
145
147
  "2.3.13": "Requires the submitted in-app event and its external scheduling context.",
148
+ "2.3.14": "Creative assets (product page header / search result art) exist only in App Store Connect; fastlane metadata has no creative-asset slot, so content, brand relevance and pricing claims need a human look at the ASC listing.",
146
149
  "2.5.3": "Requires malware analysis and external security evidence beyond this scanner.",
147
150
  "4.1": "Requires comparison with other products and ownership evidence.",
148
151
  "5.2.2": "Requires third-party service permissions and applicable agreements.",
@@ -201,6 +204,7 @@
201
204
  "2.3.11",
202
205
  "2.3.12",
203
206
  "2.3.13",
207
+ "2.3.14",
204
208
  "2.4",
205
209
  "2.4.1",
206
210
  "2.4.2",
@@ -226,6 +230,7 @@
226
230
  "2.5.16",
227
231
  "2.5.17",
228
232
  "2.5.18",
233
+ "2.5.19",
229
234
  "3.0",
230
235
  "3.1",
231
236
  "3.1.1",