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.
- package/CHANGELOG.md +56 -0
- package/README.md +81 -39
- package/package.json +2 -2
- package/skills/appstore-precheck/SKILL.md +41 -146
- package/skills/appstore-precheck/guidelines-baseline.json +284 -35
- package/skills/appstore-precheck/guidelines-fingerprints.json +307 -93
- package/skills/appstore-precheck/references/finding-commentary.md +93 -0
- package/skills/appstore-precheck/references/methodology.md +56 -19
- package/skills/appstore-precheck/references/optional-review.md +56 -0
- package/skills/appstore-precheck/references/pierre-deep-review.md +292 -47
- package/skills/appstore-precheck/references/review-catalog.json +500 -13
- package/skills/appstore-precheck/references/screenshot-vision-review.md +8 -8
- package/skills/appstore-precheck/references/simulator-dynamic-review.md +73 -12
- package/skills/appstore-precheck/references/typesafe.md +15 -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 +94 -9
- package/skills/appstore-precheck/scripts/dynamic.sh +25 -1
- package/skills/appstore-precheck/scripts/evidence.sh +8 -3
- package/skills/appstore-precheck/scripts/findings.sh +8 -0
- 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 +250 -0
- package/skills/appstore-precheck/scripts/lib/dyn-demo-login.py +111 -0
- package/skills/appstore-precheck/scripts/lib/dyn-device.sh +32 -4
- package/skills/appstore-precheck/scripts/lib/dyn-explore.py +316 -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-process.py +75 -0
- package/skills/appstore-precheck/scripts/lib/dyn-quorum.sh +28 -30
- package/skills/appstore-precheck/scripts/lib/dyn-scrub.py +77 -0
- package/skills/appstore-precheck/scripts/lib/dyn-signals.sh +2 -2
- package/skills/appstore-precheck/scripts/lib/metadata-review.py +369 -0
- package/skills/appstore-precheck/scripts/lib/optin-scan.sh +79 -0
- package/skills/appstore-precheck/scripts/lib/optional-records.py +60 -0
- package/skills/appstore-precheck/scripts/lib/runtime-blocking.py +26 -0
- package/skills/appstore-precheck/scripts/lib/safe_write.py +70 -0
- package/skills/appstore-precheck/scripts/lib/scan-guidelines.sh +109 -0
- package/skills/appstore-precheck/scripts/lib/static-guidelines.py +370 -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 +58 -24
- package/skills/appstore-precheck/scripts/semantic/client.py +3 -1
- package/skills/appstore-precheck/scripts/semantic/collect.py +82 -38
- package/skills/appstore-precheck/scripts/semantic/engine.py +165 -127
- package/skills/appstore-precheck/scripts/semantic/questions.py +5 -1
- package/skills/appstore-precheck/scripts/semantic/review_v4.py +81 -0
|
@@ -1,19 +1,25 @@
|
|
|
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
|
|
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.
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
6
|
author: Berkay Turk
|
|
7
|
-
version: 1.
|
|
7
|
+
version: 1.20.1
|
|
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
|
|
|
11
11
|
# App Store Precheck
|
|
12
12
|
|
|
13
|
+
Optional CLI tiers and build/credential boundaries: [optional-review.md](references/optional-review.md).
|
|
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.
|
|
16
|
+
|
|
17
|
+
This percentage counts sections touched, not automatic verification of every requirement.
|
|
18
|
+
|
|
13
19
|
A one-command gate to run before every iOS App Store submission. It minimizes the risk of
|
|
14
20
|
rejection by statically scanning the most common rejection vectors, running Apple's own
|
|
15
21
|
metadata linter, watching for guideline drift, having Pierre explain every FAIL and WARN, and
|
|
16
|
-
running
|
|
22
|
+
running 56 semantic deep-review checks (Tier A, heuristic Tier B and host vision Tier C). The deep-review checklist lives in
|
|
17
23
|
[`references/pierre-deep-review.md`](references/pierre-deep-review.md).
|
|
18
24
|
|
|
19
25
|
**This skill is read-only.** It never edits code, metadata, or assets. It only reports and
|
|
@@ -144,12 +150,12 @@ bash <skill-dir>/scripts/scan.sh
|
|
|
144
150
|
bash skills/appstore-precheck/scripts/scan.sh
|
|
145
151
|
```
|
|
146
152
|
|
|
147
|
-
Emits `FAIL:` / `WARN:` / `PASS:` / `SKIP:` lines covering
|
|
153
|
+
Emits `FAIL:` / `WARN:` / `PASS:` / `SKIP:` lines covering 71 rejection vectors: Privacy Manifest /
|
|
148
154
|
Required Reason API parity (5.1.1), purpose strings (5.1.1), ATT (5.1.2), other-platform mentions
|
|
149
|
-
(2.3.10), metadata limits (2.3.
|
|
155
|
+
(2.3.10), metadata limits (2.3.7), localized parity (2.3), screenshots (2.3.3), trial &
|
|
150
156
|
auto-renew disclosures (3.1.2), Restore/Terms/Privacy links (3.1.2), private API (2.5.1), minimum
|
|
151
157
|
functionality (4.2), Sign in with Apple parity (4.8), external purchase links (3.1.1(a)), an
|
|
152
|
-
opt-in Screen Time / FamilyControls
|
|
158
|
+
opt-in Screen Time / FamilyControls review preparation (no numbered guideline), tracking/IDFA SDK without an ATT prompt
|
|
153
159
|
(5.1.2), the export-compliance key (`ITSAppUsesNonExemptEncryption`), support/privacy URLs in
|
|
154
160
|
fastlane metadata (2.3 / 1.5 / 5.1.1(i)), analytics SDK vs PrivacyInfo data-types (5.1.1),
|
|
155
161
|
placeholder/dummy metadata copy (2.1), third-party payment SDK for digital goods (3.1.1),
|
|
@@ -159,7 +165,7 @@ marketing claims (2.3.1), "For Kids" wording outside the Kids Category (2.3.8),
|
|
|
159
165
|
extensions requiring full access (4.4.1), HealthKit data with an iCloud sync path (5.1.3), VPN /
|
|
160
166
|
NetworkExtension usage (5.4), a demo account for a login-gated app (2.1), executable-code download
|
|
161
167
|
/ native hot-patching (2.5.2), unused background modes (2.5.4), cryptocurrency wallet/mining
|
|
162
|
-
(3.1.5
|
|
168
|
+
(3.1.5), thin WKWebView wrappers (4.2), remote-desktop apps (4.2.7), Safari extensions
|
|
163
169
|
(4.4.2), account creation without in-app deletion (5.1.1(v) Account Sign-In), kids audience with
|
|
164
170
|
third-party ads/analytics (5.1.4), real-money gambling copy (5.3.4), MDM signals (5.5), and
|
|
165
171
|
screenshot format/dimension mismatches (2.3.3), permission-priming CTA copy that steers users
|
|
@@ -280,100 +286,15 @@ covered by Phase 1, so `include_in_app_purchases:false` avoids the API-key IAP l
|
|
|
280
286
|
|
|
281
287
|
### Phase 3: Pierre explains every finding
|
|
282
288
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
**Input to explain (all of it, no sampling):**
|
|
288
|
-
|
|
289
|
-
1. Every `WARN:` from Phase 0 (guideline drift and guideline news), if any.
|
|
290
|
-
2. Every `FAIL:` and `WARN:` from Phase 1 (`scan.sh`), verbatim.
|
|
291
|
-
3. Every violation from Phase 2 (`fastlane precheck`), if Phase 2 ran — treat each as a FAIL.
|
|
292
|
-
|
|
293
|
-
**Rules:**
|
|
294
|
-
|
|
295
|
-
- **One entry per finding.** Do not merge, skip, or summarize away individual lines.
|
|
296
|
-
- **2–3 sentences per FAIL or WARN** in Pierre's voice: (1) which guideline Apple cares about and
|
|
297
|
-
why it matters at review, (2) what the scan found in plain language, (3) the concrete fix or
|
|
298
|
-
what to verify before submitting.
|
|
299
|
-
- **Never quote guideline wording from memory.** Before explaining a finding, get Apple's actual
|
|
300
|
-
text for its guideline number:
|
|
301
|
-
|
|
302
|
-
```bash
|
|
303
|
-
bash skills/appstore-precheck/scripts/guideline-cite.sh 5.1.1 # or 5.1.1(v), 3.1.1(a), …
|
|
304
|
-
```
|
|
305
|
-
|
|
306
|
-
It is offline and deterministic — it prints a **pinned** quote taken from the live guidelines at
|
|
307
|
-
the last reconciliation, plus a deep link and the verification date. Use that quote (or a short
|
|
308
|
-
excerpt of it) for the "why Apple cares" half of the explanation, in quotation marks.
|
|
309
|
-
- **Exit 3 / `NO PINNED CITATION`** → say plainly that the exact wording could not be verified
|
|
310
|
-
this run and link the section. Do **not** reconstruct the text from memory; a plausible
|
|
311
|
-
paraphrase presented as Apple's words is worse than no quote.
|
|
312
|
-
- **`STALE`** → still quote it, but say the pinned wording is older than the staleness window and
|
|
313
|
-
should be re-checked against the live page.
|
|
314
|
-
|
|
315
|
-
**When the machine has network, add `--verify-live`:**
|
|
316
|
-
|
|
317
|
-
```bash
|
|
318
|
-
bash skills/appstore-precheck/scripts/guideline-cite.sh --verify-live 5.1.1
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
This re-hashes the live section and compares it with the pinned fingerprint, turning staleness
|
|
322
|
-
from a question about the pin's *age* into a question about whether Apple's text actually
|
|
323
|
-
*changed*. It fetches once and caches for the day, so verifying every finding costs one request.
|
|
324
|
-
- **Exit 4 / `CHANGED`** → the pinned wording is out of date. Do not quote it as current: say
|
|
325
|
-
Apple's text for that section has changed, link the section, and describe the requirement in
|
|
326
|
-
your own words marked as such.
|
|
327
|
-
- Confirmed unchanged → the quote is current regardless of how old the pin is, and the `STALE`
|
|
328
|
-
marker is correctly withdrawn.
|
|
329
|
-
- Any failure (offline, fetch error, section not found) degrades to the offline behaviour above
|
|
330
|
-
and **never** reports a verification that did not happen.
|
|
331
|
-
- **Carry the evidence label.** Every FAIL/WARN in the scan output is followed by an indented
|
|
332
|
-
`evidence: <class> · <confidence>` line (also in `--format json` / `sarif`). Reflect it:
|
|
333
|
-
- `validator-blocking` → Apple's own validation stops this; say so with certainty.
|
|
334
|
-
- `review-risk` → a human reviewer rejects this frequently; say it is a likely rejection, not a
|
|
335
|
-
mechanical one.
|
|
336
|
-
- `judgment-call` → a heuristic. Say it may be a false positive and what would confirm it.
|
|
337
|
-
- `· needs build verification` → the claim rests on a source grep or a build setting, not on the
|
|
338
|
-
shipping build. Say explicitly that it blocks the upload **if that code ships as-is**, and name
|
|
339
|
-
what would settle it (conditional compilation, target membership, the actual archive).
|
|
340
|
-
- Quote or repeat the **exact** `FAIL:`/`WARN:` line (or Phase 2 violation text) before each
|
|
341
|
-
explanation block so the user can match Pierre to the machine output.
|
|
342
|
-
- **Read-only:** never modify files; if a line lacks a path, say what to check manually — do not
|
|
343
|
-
invent evidence.
|
|
344
|
-
- **Zero FAIL and zero WARN:** Pierre gives a short all-clear (2–3 sentences total). Do not fabricate
|
|
345
|
-
issues to seem thorough.
|
|
346
|
-
- **Language:** write the 2–3 sentence explanations in the **user's conversation language** (keep
|
|
347
|
-
Pierre's dry critic register). The Phase 5 trilingual one-liner stays separate.
|
|
348
|
-
|
|
349
|
-
**Output format (repeat for each finding):**
|
|
350
|
-
|
|
351
|
-
```
|
|
352
|
-
FAIL: <verbatim line from scan.sh or Phase 2>
|
|
353
|
-
Pierre: <2–3 sentences>
|
|
354
|
-
```
|
|
355
|
-
|
|
356
|
-
For WARN lines, use the same shape with `WARN:` instead of `FAIL:`.
|
|
357
|
-
|
|
358
|
-
Use this prompt verbatim after Phases 0–2 complete, pasting in the collected findings:
|
|
359
|
-
|
|
360
|
-
> You are **Pierre**, a veteran Apple App Reviewer who speaks like a French critic — dry, exacting,
|
|
361
|
-
> never impressed. Phases 0–2 already ran. Your only job is to **explain every FAIL and WARN below**
|
|
362
|
-
> in **2–3 sentences each**. Do not pick random guidelines. Do not hunt for extra issues. Do not skip
|
|
363
|
-
> any line. For each finding: print the line verbatim, then `Pierre:` followed by your explanation
|
|
364
|
-
> (why Apple flags this guideline, what the scan found, what to fix or verify). Before each
|
|
365
|
-
> explanation run `bash skills/appstore-precheck/scripts/guideline-cite.sh <guideline>` and quote the
|
|
366
|
-
> pinned wording it returns; if it exits 3 with `NO PINNED CITATION`, say the exact wording could not
|
|
367
|
-
> be verified this run and **never** quote guideline text from memory. Reflect the finding's
|
|
368
|
-
> `evidence:` line — in particular, when it says `needs build verification`, say the claim rests on a
|
|
369
|
-
> source grep or a build setting rather than on the shipping build. If there are zero FAILs and zero
|
|
370
|
-
> WARNs, say so briefly in 2–3 sentences. Read-only — never modify files. Write the explanations in
|
|
371
|
-
> `<USER_LANGUAGE>`.
|
|
289
|
+
Follow [`references/finding-commentary.md`](references/finding-commentary.md) for the
|
|
290
|
+
complete procedure and prompt: every scanner finding verbatim, evidence strength,
|
|
291
|
+
pinned/live citations, and a short explanation in the user's language. Never invent
|
|
292
|
+
citations or claim a source grep establishes release behavior.
|
|
372
293
|
|
|
373
|
-
### Phase 4: Pierre deep review (
|
|
294
|
+
### Phase 4: Pierre deep review (56 semantic checks)
|
|
374
295
|
|
|
375
|
-
After Phase 3, Pierre runs the **Review Simulator**:
|
|
376
|
-
static scanner cannot fully judge (
|
|
296
|
+
After Phase 3, Pierre runs the **Review Simulator**: 56 read-only, evidence-based checks the
|
|
297
|
+
static scanner cannot fully judge (Tier A cross-reads, Tier B heuristics and Tier C host vision).
|
|
377
298
|
The full checklist, per-check procedure, and output format live in
|
|
378
299
|
[`references/pierre-deep-review.md`](references/pierre-deep-review.md) — read it before starting
|
|
379
300
|
Phase 4. When screenshots are present, also run the structured screenshot vision review in
|
|
@@ -386,56 +307,25 @@ SDK usage, screenshots vs features, and paywall disclosure quality.
|
|
|
386
307
|
|
|
387
308
|
**Rules (summary):**
|
|
388
309
|
|
|
389
|
-
- Run **all
|
|
310
|
+
- Run **all 56 checks every time** — report an outcome for each using the reference status definitions; missing evidence never means PASS.
|
|
390
311
|
- `REVIEW-FINDING:` is always **WARN** (advisory). It does **not** change FAIL/WARN counts or the verdict.
|
|
391
|
-
-
|
|
312
|
+
- **Tier B** is heuristic; **Tier C** needs host vision. New v4 checks report FINDING, SKIP or no signal, never PASS.
|
|
392
313
|
- When Phase 1 already flagged a guideline, still run the matching deep check and add semantic context.
|
|
393
314
|
- Cite evidence (`file:line`, metadata path, screenshot name, fetched URL excerpt). Read-only — never edit files.
|
|
394
315
|
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|---|-----------|---------------|
|
|
399
|
-
| 1 | **1.2.1** | UGC → real report/block/moderation UI flow? |
|
|
400
|
-
| 2 | **1.4.1** | Health/medical claims without disclaimers? |
|
|
401
|
-
| 3 | **2.1** | Metadata claims match implemented features? |
|
|
402
|
-
| 4 † | **2.1** | Demo account / App Review notes actionable (not placeholder)? |
|
|
403
|
-
| 5 † | **2.2** | Beta / test / preview language in store-facing copy? |
|
|
404
|
-
| 6 | **2.3.2** | Primary category fits app type? |
|
|
405
|
-
| 7 † | **2.3.4** | App preview assets match shipped features? |
|
|
406
|
-
| 8 | **2.3.5** | Screenshots match shipped features? |
|
|
407
|
-
| 9 | **2.3.6** | Metadata pricing language matches paywall? |
|
|
408
|
-
| 10 † | **2.3.9** | Incentivized review copy (rate for reward)? |
|
|
409
|
-
| 11 | **2.3.11–2.3.13** | Cross-locale metadata materially consistent? |
|
|
410
|
-
| 12 | **3.1.1** | Digital goods unlocked via external purchase links? |
|
|
411
|
-
| 13 | **3.1.2** | Trial/auto-renew/cancel disclosures are legible sentences? |
|
|
412
|
-
| 14 | **4.2.1–4.2.2** | More than a thin WebView shell / template? |
|
|
413
|
-
| 15 † | **4.5.1–4.5.3** | Push / HomeKit entitlements used as intended? |
|
|
414
|
-
| 16 | **4.8** | Third-party login → Sign in with Apple or valid exempt case? |
|
|
415
|
-
| 17 | **5.1.1(i)** | Privacy policy text matches code + PrivacyInfo? |
|
|
416
|
-
| 18 | **5.1.1(ii)** | Purpose strings specific and feature-tied? |
|
|
417
|
-
| 19 | **5.1.1(iii)** | Permissions/SDKs proportionate to app purpose? |
|
|
418
|
-
| 20 | **5.1.1(iv)** | Permission denial handled without forced loops? |
|
|
419
|
-
| 21 | **5.1.1(iv)** | Pre-permission priming CTA neutral ("Continue"/"Next"), not steering? |
|
|
420
|
-
| 22 | **5.1.2** | ATT, tracking description, policy, and ad SDKs align? |
|
|
421
|
-
| 23 | **5.1.3** | HealthKit data not used for ads/marketing? |
|
|
422
|
-
| 24 | **5.1.4** | Kids signals → parental gate before links/IAP/account? |
|
|
423
|
-
| 25 | **5.4** | VPN → on-screen disclosure copy in UI strings? |
|
|
424
|
-
| 26 | **5.2.1–5.2.3** | Obvious trademark/brand misuse in metadata or UI? |
|
|
425
|
-
| 27 | **5.3.1–5.3.3** | Contest/sweepstakes copy includes official rules? |
|
|
426
|
-
| 28 | **5.6.2–5.6.3** | Developer identity consistent (support URL, domains, app name)? |
|
|
427
|
-
| 29 † | **5.6.1 / 5.6.3** | Rating manipulation dark patterns beyond scan §25? |
|
|
428
|
-
| 30 † | **4.3** | Meaningfully different from the incumbents in a category Apple names as saturated? |
|
|
429
|
-
| 31 † | **4.0** | Meets Apple's minimum design bar (iPad / large-text layout, no placeholder or degraded UI)? |
|
|
316
|
+
The canonical 56-check table, including check 31 (4.0 design quality), is in
|
|
317
|
+
[`references/pierre-deep-review.md`](references/pierre-deep-review.md). Its versioned
|
|
318
|
+
mapping is recorded in `references/review-catalog.json`.
|
|
430
319
|
|
|
431
320
|
Use this prompt after Phase 3:
|
|
432
321
|
|
|
433
|
-
> You are **Pierre**. Phase 3 is done. Now run **Phase 4 deep review**: all
|
|
322
|
+
> You are **Pierre**. Phase 3 is done. Now run **Phase 4 deep review**: all 56 checks in
|
|
434
323
|
> [`references/pierre-deep-review.md`](references/pierre-deep-review.md), in table order. For each
|
|
435
|
-
> check
|
|
324
|
+
> check use the reference outcome format, including NEEDS-REVIEW, UNSUPPORTED, NOT-RUN or
|
|
325
|
+
> evidence-backed NOT-APPLICABLE where appropriate. For every REVIEW-FINDING,
|
|
436
326
|
> add `Pierre:` with 2–3 sentences (why Apple cares, what you found, what to fix). Read-only.
|
|
437
327
|
> Write explanations in `<USER_LANGUAGE>`. Do not change the scan verdict counts. † Tier B checks
|
|
438
|
-
>
|
|
328
|
+
> require evidence of non-applicability; Tier C requires vision. Missing inputs mean REVIEW-SKIP.
|
|
439
329
|
|
|
440
330
|
### Phase 5: Consolidation + token
|
|
441
331
|
|
|
@@ -455,17 +345,20 @@ narrative; verdict.sh just pins the threshold arithmetic. `REVIEW-FINDING` lines
|
|
|
455
345
|
from Phase 1 + Phase 0/2 only — Pierre's prose and REVIEW-FINDING lines do not add FAIL/WARN).
|
|
456
346
|
2. Open with Pierre's **trilingual verdict block** using the required format in [Output contract](#trilingual-verdict-block-required-format) — bold language label + blockquote per language, separated by `---`; never one compressed line.
|
|
457
347
|
3. Present **Phase 3 commentary** — Pierre's 2–3 sentence explanation for every FAIL and WARN.
|
|
458
|
-
4. Present **Phase 4 deep review** — summary
|
|
459
|
-
every `REVIEW-FINDING` with Pierre explanation; list `REVIEW-PASS` lines compactly
|
|
348
|
+
4. Present **Phase 4 deep review** — summary counts for findings, no signal and missing evidence, then
|
|
349
|
+
every `REVIEW-FINDING` with Pierre explanation; list historical `REVIEW-PASS` lines compactly. New v4 checks never produce PASS.
|
|
460
350
|
The 5 screenshot-vision checks (S1–S5) emit the same `REVIEW-*` prefixes but count as a
|
|
461
|
-
**separate "+5 vision checks" sub-block** in the summary, never inside the "of
|
|
351
|
+
**separate "+5 vision checks" sub-block** in the summary, never inside the "of 56" denominator.
|
|
462
352
|
5. Present the **machine-faithful** scan output: each `FAIL:`/`WARN:` line verbatim, with its
|
|
463
353
|
`evidence:` line, then for each FAIL a `file:line` reference and a suggested fix (one line each,
|
|
464
354
|
surgical, not paraphrased).
|
|
465
|
-
6. Print
|
|
355
|
+
6. Print `Guideline coverage this run: X/102 sections touched, Y SKIP, Z human-only` using
|
|
356
|
+
`coverage_sections` from scan JSON (Y counts SKIP records, including `gaps`). List every
|
|
357
|
+
`human_only_sections` entry with its reason; optional tiers stay unexecuted unless observed.
|
|
358
|
+
Print a **"Not audited"** section. This is **mandatory on every run**, including a GREEN one —
|
|
466
359
|
a verdict is only meaningful next to the list of what it did not cover. Two parts:
|
|
467
360
|
|
|
468
|
-
**(a) Checks that did not run this time** — every `SKIP:` line
|
|
361
|
+
**(a) Checks that did not run this time** — every `SKIP:` line and coverage `gaps` record, with what would close
|
|
469
362
|
the gap (paste the App Store Connect listing, set `.screenshotsDir`, …). A SKIP acknowledged in
|
|
470
363
|
`.precheck-ignore` is not printed by the scanner but is still in `summary.not_audited` with
|
|
471
364
|
`suppressed: true`; list it here as *acknowledged* — signing for a gap does not close it. If
|
|
@@ -515,6 +408,8 @@ device and never touches an existing one or the repo, but the launched app reach
|
|
|
515
408
|
and receives the demo credentials you supplied — tell the user so before the first launch. It
|
|
516
409
|
requires macOS + Xcode + a simulator runtime and is permanently local-only (it cannot run in CI).
|
|
517
410
|
It is a pre-submit local smoke signal, not a TestFlight / crash-reporter / QA replacement.
|
|
411
|
+
The separate `scan.sh --dynamic-blocking` opt-in requires jq; without it the scanner exits 64
|
|
412
|
+
with `--dynamic-blocking needs jq` before optional work.
|
|
518
413
|
|
|
519
414
|
**Getting a build without building.** Never run `xcodebuild` / `flutter build` / `gradle`. Run
|
|
520
415
|
`bash <skill-dir>/scripts/app-discover.sh --repo <repo> --json`: it lists the simulator `.app`
|
|
@@ -537,7 +432,7 @@ parity) with the Maestro MCP tools — **one flow per `mcp__maestro__run` call**
|
|
|
537
432
|
`accessibilityText` — appending `DYNAMIC-*` lines to the same transcript.
|
|
538
433
|
|
|
539
434
|
Follow [`references/simulator-dynamic-review.md`](references/simulator-dynamic-review.md) for the
|
|
540
|
-
setup step (D0), the full checklist (D1–
|
|
435
|
+
setup step (D0), the full checklist (D1–D17 incl. D3b) and the output format.
|
|
541
436
|
Afterwards feed the transcript to [`scripts/dynamic.sh`](scripts/dynamic.sh) with the static
|
|
542
437
|
`--format json` output: it records every observation as `evidence: runtime` with the run's
|
|
543
438
|
`runtime_target` and `build_config`, and reconciles them with the static findings (a runtime
|
|
@@ -573,7 +468,7 @@ from, and leave it `unknown` if you do not know.
|
|
|
573
468
|
false-fire — and the scan now says so with a `SKIP: framework` gap record (`framework-not-audited`)
|
|
574
469
|
naming the affected checks.
|
|
575
470
|
- iOS only.
|
|
576
|
-
- Phase 0
|
|
471
|
+
- Phase 0 checks section-number drift and fingerprints of covered sections; it does not establish complete guideline coverage.
|
|
577
472
|
- Guideline citations are **pinned snapshots**, not a live fetch: offline and reproducible, but only
|
|
578
473
|
as current as the last reconciliation. `guideline-cite.sh` prints the verification date and marks a
|
|
579
474
|
citation `STALE` past the staleness window; `--verify-live` upgrades that to a real change check
|
|
@@ -2,47 +2,296 @@
|
|
|
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
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)
|
|
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.",
|
|
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
|
-
"1.2",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
8
|
+
"1.2",
|
|
9
|
+
"1.5",
|
|
10
|
+
"1.6",
|
|
11
|
+
"2.1",
|
|
12
|
+
"2.3",
|
|
13
|
+
"2.3.1",
|
|
14
|
+
"2.3.3",
|
|
15
|
+
"2.3.7",
|
|
16
|
+
"2.3.8",
|
|
17
|
+
"2.3.10",
|
|
18
|
+
"2.5.1",
|
|
19
|
+
"2.5.2",
|
|
20
|
+
"2.5.4",
|
|
21
|
+
"2.5.5",
|
|
22
|
+
"3.1.1",
|
|
23
|
+
"3.1.2",
|
|
24
|
+
"3.1.5",
|
|
25
|
+
"4.2",
|
|
26
|
+
"4.2.7",
|
|
27
|
+
"4.3",
|
|
28
|
+
"4.4.1",
|
|
29
|
+
"4.4.2",
|
|
30
|
+
"4.8",
|
|
31
|
+
"4.9",
|
|
32
|
+
"5.1.1",
|
|
33
|
+
"5.1.2",
|
|
34
|
+
"5.1.3",
|
|
35
|
+
"5.1.4",
|
|
36
|
+
"5.3.4",
|
|
37
|
+
"5.4",
|
|
38
|
+
"5.5",
|
|
39
|
+
"5.6.1",
|
|
40
|
+
"2.3.12",
|
|
41
|
+
"2.4.4",
|
|
42
|
+
"2.5.6",
|
|
43
|
+
"2.5.11",
|
|
44
|
+
"2.5.12",
|
|
45
|
+
"2.5.13",
|
|
46
|
+
"2.5.15",
|
|
47
|
+
"2.5.16",
|
|
48
|
+
"2.5.17",
|
|
49
|
+
"2.5.18",
|
|
50
|
+
"4.2.1",
|
|
51
|
+
"4.2.3",
|
|
52
|
+
"4.5.5",
|
|
53
|
+
"4.5.6",
|
|
54
|
+
"4.7.2",
|
|
55
|
+
"5.2.4"
|
|
15
56
|
],
|
|
16
57
|
"covered_by_pierre_deep_review": [
|
|
17
|
-
"1.2
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
58
|
+
"1.2",
|
|
59
|
+
"1.3",
|
|
60
|
+
"1.4.1",
|
|
61
|
+
"1.5",
|
|
62
|
+
"2.1",
|
|
63
|
+
"2.2",
|
|
64
|
+
"2.3",
|
|
65
|
+
"2.3.1",
|
|
66
|
+
"2.3.2",
|
|
67
|
+
"2.3.3",
|
|
68
|
+
"2.3.4",
|
|
69
|
+
"2.3.5",
|
|
70
|
+
"2.5.1",
|
|
71
|
+
"3.1.1",
|
|
72
|
+
"3.1.2",
|
|
73
|
+
"3.2.2",
|
|
74
|
+
"4.0",
|
|
75
|
+
"4.2",
|
|
76
|
+
"4.2.2",
|
|
77
|
+
"4.3",
|
|
78
|
+
"4.5.3",
|
|
79
|
+
"4.5.4",
|
|
80
|
+
"4.8",
|
|
81
|
+
"5.1.1",
|
|
82
|
+
"5.1.2",
|
|
83
|
+
"5.1.3",
|
|
84
|
+
"5.1.4",
|
|
85
|
+
"5.2.1",
|
|
86
|
+
"5.3.1",
|
|
87
|
+
"5.3.2",
|
|
88
|
+
"5.4",
|
|
89
|
+
"5.6.1",
|
|
90
|
+
"5.6.2",
|
|
91
|
+
"5.6.3",
|
|
92
|
+
"1.1.1",
|
|
93
|
+
"1.1.2",
|
|
94
|
+
"1.1.3",
|
|
95
|
+
"1.1.4",
|
|
96
|
+
"1.1.5",
|
|
97
|
+
"1.1.6",
|
|
98
|
+
"1.2.1",
|
|
99
|
+
"1.4.2",
|
|
100
|
+
"1.4.3",
|
|
101
|
+
"1.4.4",
|
|
102
|
+
"1.4.5",
|
|
103
|
+
"2.3.6",
|
|
104
|
+
"2.5.8",
|
|
105
|
+
"2.5.9",
|
|
106
|
+
"3.1.3",
|
|
107
|
+
"3.1.4",
|
|
108
|
+
"3.2.1",
|
|
109
|
+
"4.2.6",
|
|
110
|
+
"4.5.1",
|
|
111
|
+
"4.7.1",
|
|
112
|
+
"4.7.3",
|
|
113
|
+
"4.10",
|
|
114
|
+
"5.2.3",
|
|
115
|
+
"5.2.5",
|
|
116
|
+
"5.3.3"
|
|
25
117
|
],
|
|
118
|
+
"covered_by_dynamic": [
|
|
119
|
+
"2.1",
|
|
120
|
+
"2.3.5",
|
|
121
|
+
"2.4.1",
|
|
122
|
+
"2.4.2",
|
|
123
|
+
"2.5.1",
|
|
124
|
+
"2.5.14",
|
|
125
|
+
"3.1.2",
|
|
126
|
+
"4.0",
|
|
127
|
+
"4.5.2",
|
|
128
|
+
"4.7.4",
|
|
129
|
+
"4.7.5",
|
|
130
|
+
"5.1.1",
|
|
131
|
+
"5.1.2",
|
|
132
|
+
"5.1.5"
|
|
133
|
+
],
|
|
134
|
+
"covered_by_vision": [
|
|
135
|
+
"2.3",
|
|
136
|
+
"2.3.1",
|
|
137
|
+
"2.3.3",
|
|
138
|
+
"2.3.7"
|
|
139
|
+
],
|
|
140
|
+
"human_only": {
|
|
141
|
+
"1.1.7": "Requires current-event context and a human assessment of harmful exploitation.",
|
|
142
|
+
"1.7": "Requires evidence of incident reporting processes and developer conduct.",
|
|
143
|
+
"2.3.9": "Requires proof of rights and consent for supplied assets.",
|
|
144
|
+
"2.3.11": "Requires the actual preorder listing and release commitments.",
|
|
145
|
+
"2.3.13": "Requires the submitted in-app event and its external scheduling context.",
|
|
146
|
+
"2.5.3": "Requires malware analysis and external security evidence beyond this scanner.",
|
|
147
|
+
"4.1": "Requires comparison with other products and ownership evidence.",
|
|
148
|
+
"5.2.2": "Requires third-party service permissions and applicable agreements.",
|
|
149
|
+
"5.6.4": "Requires longitudinal product quality and developer conduct evidence."
|
|
150
|
+
},
|
|
151
|
+
"not_counted": {
|
|
152
|
+
"1.0": "intro: category introduction outside the leaf-rule denominator",
|
|
153
|
+
"2.0": "intro: category introduction outside the leaf-rule denominator",
|
|
154
|
+
"3.0": "intro: category introduction outside the leaf-rule denominator",
|
|
155
|
+
"5.0": "intro: category introduction outside the leaf-rule denominator",
|
|
156
|
+
"2.5.7": "omitted: reserved section without an active rule",
|
|
157
|
+
"2.5.10": "omitted: reserved section without an active rule",
|
|
158
|
+
"4.2.4": "omitted: reserved section without an active rule",
|
|
159
|
+
"4.2.5": "omitted: reserved section without an active rule",
|
|
160
|
+
"4.4.3": "omitted: reserved section without an active rule",
|
|
161
|
+
"4.6": "omitted: reserved section without an active rule",
|
|
162
|
+
"2.4.3": "platform: tvOS-specific rule",
|
|
163
|
+
"2.4.5": "platform: Mac-specific rule"
|
|
164
|
+
},
|
|
26
165
|
"all_sections": [
|
|
27
|
-
"1.0",
|
|
28
|
-
"1.
|
|
29
|
-
"1.
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
166
|
+
"1.0",
|
|
167
|
+
"1.1",
|
|
168
|
+
"1.1.1",
|
|
169
|
+
"1.1.2",
|
|
170
|
+
"1.1.3",
|
|
171
|
+
"1.1.4",
|
|
172
|
+
"1.1.5",
|
|
173
|
+
"1.1.6",
|
|
174
|
+
"1.1.7",
|
|
175
|
+
"1.2",
|
|
176
|
+
"1.2.1",
|
|
177
|
+
"1.3",
|
|
178
|
+
"1.4",
|
|
179
|
+
"1.4.1",
|
|
180
|
+
"1.4.2",
|
|
181
|
+
"1.4.3",
|
|
182
|
+
"1.4.4",
|
|
183
|
+
"1.4.5",
|
|
184
|
+
"1.5",
|
|
185
|
+
"1.6",
|
|
186
|
+
"1.7",
|
|
187
|
+
"2.0",
|
|
188
|
+
"2.1",
|
|
189
|
+
"2.2",
|
|
190
|
+
"2.3",
|
|
191
|
+
"2.3.1",
|
|
192
|
+
"2.3.2",
|
|
193
|
+
"2.3.3",
|
|
194
|
+
"2.3.4",
|
|
195
|
+
"2.3.5",
|
|
196
|
+
"2.3.6",
|
|
197
|
+
"2.3.7",
|
|
198
|
+
"2.3.8",
|
|
199
|
+
"2.3.9",
|
|
200
|
+
"2.3.10",
|
|
201
|
+
"2.3.11",
|
|
202
|
+
"2.3.12",
|
|
203
|
+
"2.3.13",
|
|
204
|
+
"2.4",
|
|
205
|
+
"2.4.1",
|
|
206
|
+
"2.4.2",
|
|
207
|
+
"2.4.3",
|
|
208
|
+
"2.4.4",
|
|
209
|
+
"2.4.5",
|
|
210
|
+
"2.5",
|
|
211
|
+
"2.5.1",
|
|
212
|
+
"2.5.2",
|
|
213
|
+
"2.5.3",
|
|
214
|
+
"2.5.4",
|
|
215
|
+
"2.5.5",
|
|
216
|
+
"2.5.6",
|
|
217
|
+
"2.5.7",
|
|
218
|
+
"2.5.8",
|
|
219
|
+
"2.5.9",
|
|
220
|
+
"2.5.10",
|
|
221
|
+
"2.5.11",
|
|
222
|
+
"2.5.12",
|
|
223
|
+
"2.5.13",
|
|
224
|
+
"2.5.14",
|
|
225
|
+
"2.5.15",
|
|
226
|
+
"2.5.16",
|
|
227
|
+
"2.5.17",
|
|
228
|
+
"2.5.18",
|
|
229
|
+
"3.0",
|
|
230
|
+
"3.1",
|
|
231
|
+
"3.1.1",
|
|
232
|
+
"3.1.2",
|
|
233
|
+
"3.1.3",
|
|
234
|
+
"3.1.4",
|
|
235
|
+
"3.1.5",
|
|
236
|
+
"3.2",
|
|
237
|
+
"3.2.1",
|
|
238
|
+
"3.2.2",
|
|
239
|
+
"4.0",
|
|
240
|
+
"4.1",
|
|
241
|
+
"4.2",
|
|
242
|
+
"4.2.1",
|
|
243
|
+
"4.2.2",
|
|
244
|
+
"4.2.3",
|
|
245
|
+
"4.2.4",
|
|
246
|
+
"4.2.5",
|
|
247
|
+
"4.2.6",
|
|
248
|
+
"4.2.7",
|
|
249
|
+
"4.3",
|
|
250
|
+
"4.4",
|
|
251
|
+
"4.4.1",
|
|
252
|
+
"4.4.2",
|
|
253
|
+
"4.4.3",
|
|
254
|
+
"4.5",
|
|
255
|
+
"4.5.1",
|
|
256
|
+
"4.5.2",
|
|
257
|
+
"4.5.3",
|
|
258
|
+
"4.5.4",
|
|
259
|
+
"4.5.5",
|
|
260
|
+
"4.5.6",
|
|
40
261
|
"4.6",
|
|
41
|
-
"4.7",
|
|
42
|
-
"4.
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
262
|
+
"4.7",
|
|
263
|
+
"4.7.1",
|
|
264
|
+
"4.7.2",
|
|
265
|
+
"4.7.3",
|
|
266
|
+
"4.7.4",
|
|
267
|
+
"4.7.5",
|
|
268
|
+
"4.8",
|
|
269
|
+
"4.9",
|
|
270
|
+
"4.10",
|
|
271
|
+
"5.0",
|
|
272
|
+
"5.1",
|
|
273
|
+
"5.1.1",
|
|
274
|
+
"5.1.2",
|
|
275
|
+
"5.1.3",
|
|
276
|
+
"5.1.4",
|
|
277
|
+
"5.1.5",
|
|
278
|
+
"5.2",
|
|
279
|
+
"5.2.1",
|
|
280
|
+
"5.2.2",
|
|
281
|
+
"5.2.3",
|
|
282
|
+
"5.2.4",
|
|
283
|
+
"5.2.5",
|
|
284
|
+
"5.3",
|
|
285
|
+
"5.3.1",
|
|
286
|
+
"5.3.2",
|
|
287
|
+
"5.3.3",
|
|
288
|
+
"5.3.4",
|
|
289
|
+
"5.4",
|
|
290
|
+
"5.5",
|
|
291
|
+
"5.6",
|
|
292
|
+
"5.6.1",
|
|
293
|
+
"5.6.2",
|
|
294
|
+
"5.6.3",
|
|
295
|
+
"5.6.4"
|
|
47
296
|
]
|
|
48
297
|
}
|