appstore-precheck 1.17.0 → 1.18.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 +189 -0
- package/README.md +139 -10
- package/package.json +2 -2
- package/skills/appstore-precheck/SKILL.md +190 -29
- package/skills/appstore-precheck/guidelines-baseline.json +1 -1
- package/skills/appstore-precheck/guidelines-fingerprints.json +178 -58
- package/skills/appstore-precheck/references/methodology.md +276 -0
- package/skills/appstore-precheck/references/pierre-deep-review.md +31 -7
- package/skills/appstore-precheck/scripts/evidence.sh +210 -0
- package/skills/appstore-precheck/scripts/findings.sh +82 -4
- package/skills/appstore-precheck/scripts/guideline-cite.sh +196 -0
- package/skills/appstore-precheck/scripts/lib/guideline-text.sh +86 -0
- package/skills/appstore-precheck/scripts/sarif.sh +9 -0
- package/skills/appstore-precheck/scripts/scan.sh +121 -9
- package/skills/appstore-precheck/scripts/suppress.sh +5 -0
- package/skills/appstore-precheck/scripts/verdict.sh +6 -2
|
@@ -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
|
|
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 54 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 23 semantic deep-review checks (Tier A) plus 7 heuristic checks (Tier B v1) — 30 total. 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.18.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
|
|
|
@@ -13,7 +13,7 @@ allowed-tools: Bash Read Grep Glob WebFetch mcp__maestro__list_devices mcp__maes
|
|
|
13
13
|
A one-command gate to run before every iOS App Store submission. It minimizes the risk of
|
|
14
14
|
rejection by statically scanning the most common rejection vectors, running Apple's own
|
|
15
15
|
metadata linter, watching for guideline drift, having Pierre explain every FAIL and WARN, and
|
|
16
|
-
running
|
|
16
|
+
running 30 semantic deep-review checks (23 Tier A + 7 Tier B v1 heuristic). The deep-review checklist lives in
|
|
17
17
|
[`references/pierre-deep-review.md`](references/pierre-deep-review.md).
|
|
18
18
|
|
|
19
19
|
**This skill is read-only.** It never edits code, metadata, or assets. It only reports and
|
|
@@ -49,10 +49,15 @@ The skill reaches one of three terminal states:
|
|
|
49
49
|
| **YELLOW** | No FAIL but 5+ WARN | Not written | Guard blocks; ask for explicit confirmation |
|
|
50
50
|
| **RED** | At least 1 FAIL | Removed | Guard blocks; show the FAIL list |
|
|
51
51
|
|
|
52
|
+
`SKIP:` lines sit outside this table on purpose: they record checks that could not run, are counted
|
|
53
|
+
separately (`skip=` / `summary.not_audited`), and never move the verdict. They must still be
|
|
54
|
+
reported — see Phase 5 step 6.
|
|
55
|
+
|
|
52
56
|
When you present the verdict to the user, open with Pierre's **trilingual verdict block** (see format
|
|
53
57
|
below and Phase 5), then Pierre's **finding commentary** (Phase 3 — 2–3 sentences per FAIL/WARN),
|
|
54
58
|
then Pierre's **deep-review commentary** (Phase 4 — every `REVIEW-FINDING`), then the
|
|
55
|
-
machine-faithful `FAIL:`/`WARN:`/`PASS:` lines and `file:line` fixes from `scan.sh
|
|
59
|
+
machine-faithful `FAIL:`/`WARN:`/`PASS:`/`SKIP:` lines and `file:line` fixes from `scan.sh`, and
|
|
60
|
+
finally the mandatory **Not audited** section (Phase 5 step 6).
|
|
56
61
|
**Never rewrite or paraphrase the scanner lines themselves**; Pierre explains them, he does not
|
|
57
62
|
replace them.
|
|
58
63
|
|
|
@@ -104,6 +109,23 @@ two-pass technique; the exact prompts and the reconciliation procedure are in
|
|
|
104
109
|
[`references/methodology.md`](references/methodology.md#phase-0-guideline-drift-check). The
|
|
105
110
|
baseline is **never auto-updated**. Reconciliation is a deliberate human step.
|
|
106
111
|
|
|
112
|
+
**Also scan Apple's announcements.** Section numbers and section text are not the only way a
|
|
113
|
+
rejection surface moves: Apple announces policy changes on
|
|
114
|
+
[developer.apple.com/news](https://developer.apple.com/news/) — deadlines, new required
|
|
115
|
+
declarations, entitlement changes — often before the guideline text catches up. Fetch that page and
|
|
116
|
+
report any review-relevant item **newer than the baseline's `reconciled_on` date**
|
|
117
|
+
(`guidelines-baseline.json`). Pay particular attention to payments, privacy, age ratings, and AI:
|
|
118
|
+
those moved repeatedly through 2024–2026.
|
|
119
|
+
|
|
120
|
+
- Nothing newer, or nothing review-relevant → `PASS: guideline-news none since <reconciled_on>`
|
|
121
|
+
- Something relevant → `WARN: guideline-news — <headline> (<date>). Assess whether it applies to
|
|
122
|
+
this app; the scan does not cover it yet.` Fetch the announcement and judge applicability like any
|
|
123
|
+
other check. Headlines that plainly do not apply get one line, nothing more.
|
|
124
|
+
- Fetch failed → `WARN: guideline-news check degraded — verify manually.`
|
|
125
|
+
|
|
126
|
+
Like the drift check this is a gap in **our** coverage, never a fault of the build: always
|
|
127
|
+
non-blocking, WARN at most.
|
|
128
|
+
|
|
107
129
|
The deterministic, full-page drift detector is `scripts/guideline-drift.sh` (maintainer/CI;
|
|
108
130
|
curl-based, so it also covers the 5.5–5.6.x tail that `WebFetch` truncates). It reports
|
|
109
131
|
section-number drift AND text (semantic) drift of covered sections, naming the affected
|
|
@@ -122,7 +144,7 @@ bash <skill-dir>/scripts/scan.sh
|
|
|
122
144
|
bash skills/appstore-precheck/scripts/scan.sh
|
|
123
145
|
```
|
|
124
146
|
|
|
125
|
-
Emits `FAIL:` / `WARN:` / `PASS:` lines covering
|
|
147
|
+
Emits `FAIL:` / `WARN:` / `PASS:` / `SKIP:` lines covering 54 rejection vectors: Privacy Manifest /
|
|
126
148
|
Required Reason API parity (5.1.1), purpose strings (5.1.1), ATT (5.1.2), other-platform mentions
|
|
127
149
|
(2.3.10), metadata limits (2.3.1), localized parity (2.3.7), screenshots (2.3.3), trial &
|
|
128
150
|
auto-renew disclosures (3.1.2), Restore/Terms/Privacy links (3.1.2), private API (2.5.1), minimum
|
|
@@ -147,7 +169,7 @@ strings (5.1.1(ii)), a third-party AI endpoint without a provider-naming consent
|
|
|
147
169
|
urgency/scarcity dark patterns on the paywall (3.1.2), sentiment-gated rating prompts (5.6.1),
|
|
148
170
|
forced login without a guest path (5.1.1(v)), a marketing-push SDK without an opt-out signal
|
|
149
171
|
(4.5.4), and a pre-26 Xcode `LastUpgradeCheck` against the April 2026 iOS 26 SDK upload minimum
|
|
150
|
-
(2.1). The IAP checks (8–10 and 53) are skipped automatically
|
|
172
|
+
(2.1), and exposure to a category Apple names as saturated in 4.3(b) (4.3). The IAP checks (8–10 and 53) are skipped automatically
|
|
151
173
|
when no in-app-purchase signals are present, and the signal-gated advisory checks (16–52) stay
|
|
152
174
|
silent unless their triggering signal is found. The
|
|
153
175
|
full check table is in
|
|
@@ -156,10 +178,66 @@ full check table is in
|
|
|
156
178
|
The scanner is portable Bash, so you can also run it directly, outside any agent, for a quick CI
|
|
157
179
|
or pre-commit check.
|
|
158
180
|
|
|
181
|
+
A fourth line class, `SKIP:`, marks a check that **could not run** — a missing artifact, not a
|
|
182
|
+
clean result. It is counted separately (`skip=` in `verdict.sh`, `summary.not_audited` in JSON) and
|
|
183
|
+
**never changes the verdict**: a gap in coverage is not a defect in the build. It must never be
|
|
184
|
+
presented as a pass.
|
|
185
|
+
|
|
186
|
+
**When the scan emits `SKIP: metadata`, ask the user for the listing.** The App Store Connect
|
|
187
|
+
listing is a real rejection surface — roughly a fifth of the checks read it — and a repo without a
|
|
188
|
+
`fastlane/metadata` directory silently skips all of them. Ask for:
|
|
189
|
+
|
|
190
|
+
> app name, subtitle, description, keywords, promotional text, age rating, and the App Review
|
|
191
|
+
> Information fields (review notes and the demo account)
|
|
192
|
+
|
|
193
|
+
Then **re-run the scanner over what they paste — do not judge it by eye.** The verdict is
|
|
194
|
+
deterministic and comes only from scanner lines (Phase 5), so a finding Pierre "notices" in pasted
|
|
195
|
+
text cannot count; a finding the scanner emits can. Write the pasted fields into a temporary
|
|
196
|
+
fastlane-shaped tree outside the repo and point the scanner at it:
|
|
197
|
+
|
|
198
|
+
```bash
|
|
199
|
+
T="$(mktemp -d)"; mkdir -p "$T/fastlane/metadata/en-US" # one dir per locale they pasted
|
|
200
|
+
# write name.txt, subtitle.txt, description.txt, keywords.txt, promotional_text.txt from the paste
|
|
201
|
+
printf '{"metadataDir":"%s"}' "$T/fastlane/metadata" > "$T/precheck.json"
|
|
202
|
+
APPSTORE_PRECHECK_CONFIG="$T/precheck.json" bash <skill-dir>/scripts/scan.sh
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
The scanner accepts an absolute `metadataDir`, so the repo is untouched (read-only holds) and the
|
|
206
|
+
`SKIP: metadata` line disappears because the listing checks actually ran. The resulting `FAIL:` /
|
|
207
|
+
`WARN:` lines are ordinary scanner output: they **count toward the verdict**, and Pierre explains
|
|
208
|
+
them like any other, saying they came from the pasted listing rather than the repo. Use the second
|
|
209
|
+
run's output as the Phase 1 result.
|
|
210
|
+
|
|
211
|
+
Age rating, review notes and the demo account have no scanner rule; judge those in Phase 4 (deep
|
|
212
|
+
review check 4) as advisory `REVIEW-FINDING` lines. If the user declines, or there is no user to ask
|
|
213
|
+
(a CI or non-interactive run), leave the listing as `SKIP` and list it under "Not audited" in
|
|
214
|
+
Phase 5. **Never invent metadata to audit.**
|
|
215
|
+
|
|
216
|
+
The same applies to `SKIP: 2.3.3 Screenshots` — ask what the App Store Connect screenshot set
|
|
217
|
+
contains, or leave it unaudited.
|
|
218
|
+
|
|
219
|
+
Every `FAIL:` / `WARN:` is followed by an indented **evidence line**:
|
|
220
|
+
|
|
221
|
+
```
|
|
222
|
+
FAIL: 5.1.1 camera capture API used but Info.plist is missing 'NSCameraUsageDescription' [App/CameraView.swift:42]
|
|
223
|
+
evidence: source · validator-blocking · needs build verification
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
It answers what severity cannot: *which artifact this was read from*, and *who enforces it*.
|
|
227
|
+
`source` findings are concluded from a code grep, so dead code, `#if DEBUG`, and files excluded
|
|
228
|
+
from the shipping target can make them wrong; `metadata` and `manifest` findings are read from
|
|
229
|
+
files that ship as authored. `needs build verification` appears when a `validator-blocking` claim
|
|
230
|
+
rests on `source` or `build-setting` evidence — the upload validator runs against the built
|
|
231
|
+
product, which no repository read can see. Set `APPSTORE_PRECHECK_NO_EVIDENCE=1` to suppress the
|
|
232
|
+
line if you parse the text output strictly. Full rationale and the per-rule table:
|
|
233
|
+
[`references/methodology.md`](references/methodology.md#evidence-strength-and-confidence).
|
|
234
|
+
|
|
159
235
|
`scan.sh --format json` emits a structured findings envelope (`rule_id`, `severity`, `guideline`,
|
|
160
|
-
`message`, optional `file`/`line
|
|
161
|
-
|
|
162
|
-
|
|
236
|
+
`guideline_url`, `message`, optional `file`/`line`, plus `evidence`, `confidence` and the derived
|
|
237
|
+
`needs_build_verification` per finding, and a verdict summary with a `by_confidence` roll-up)
|
|
238
|
+
instead of the default text lines, for tooling and measurement to consume. `--format sarif` carries
|
|
239
|
+
the same labels in each result's `properties` bag. It's read-only and additive; the default text
|
|
240
|
+
output gains only the evidence line above.
|
|
163
241
|
|
|
164
242
|
### Phase 2: Apple's official `fastlane precheck`
|
|
165
243
|
|
|
@@ -198,7 +276,7 @@ already did the detection. Pierre **explains every FAIL and WARN** the pipeline
|
|
|
198
276
|
|
|
199
277
|
**Input to explain (all of it, no sampling):**
|
|
200
278
|
|
|
201
|
-
1. Every `WARN:` from Phase 0 (guideline drift), if any.
|
|
279
|
+
1. Every `WARN:` from Phase 0 (guideline drift and guideline news), if any.
|
|
202
280
|
2. Every `FAIL:` and `WARN:` from Phase 1 (`scan.sh`), verbatim.
|
|
203
281
|
3. Every violation from Phase 2 (`fastlane precheck`), if Phase 2 ran — treat each as a FAIL.
|
|
204
282
|
|
|
@@ -208,6 +286,47 @@ already did the detection. Pierre **explains every FAIL and WARN** the pipeline
|
|
|
208
286
|
- **2–3 sentences per FAIL or WARN** in Pierre's voice: (1) which guideline Apple cares about and
|
|
209
287
|
why it matters at review, (2) what the scan found in plain language, (3) the concrete fix or
|
|
210
288
|
what to verify before submitting.
|
|
289
|
+
- **Never quote guideline wording from memory.** Before explaining a finding, get Apple's actual
|
|
290
|
+
text for its guideline number:
|
|
291
|
+
|
|
292
|
+
```bash
|
|
293
|
+
bash skills/appstore-precheck/scripts/guideline-cite.sh 5.1.1 # or 5.1.1(v), 3.1.1(a), …
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
It is offline and deterministic — it prints a **pinned** quote taken from the live guidelines at
|
|
297
|
+
the last reconciliation, plus a deep link and the verification date. Use that quote (or a short
|
|
298
|
+
excerpt of it) for the "why Apple cares" half of the explanation, in quotation marks.
|
|
299
|
+
- **Exit 3 / `NO PINNED CITATION`** → say plainly that the exact wording could not be verified
|
|
300
|
+
this run and link the section. Do **not** reconstruct the text from memory; a plausible
|
|
301
|
+
paraphrase presented as Apple's words is worse than no quote.
|
|
302
|
+
- **`STALE`** → still quote it, but say the pinned wording is older than the staleness window and
|
|
303
|
+
should be re-checked against the live page.
|
|
304
|
+
|
|
305
|
+
**When the machine has network, add `--verify-live`:**
|
|
306
|
+
|
|
307
|
+
```bash
|
|
308
|
+
bash skills/appstore-precheck/scripts/guideline-cite.sh --verify-live 5.1.1
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
This re-hashes the live section and compares it with the pinned fingerprint, turning staleness
|
|
312
|
+
from a question about the pin's *age* into a question about whether Apple's text actually
|
|
313
|
+
*changed*. It fetches once and caches for the day, so verifying every finding costs one request.
|
|
314
|
+
- **Exit 4 / `CHANGED`** → the pinned wording is out of date. Do not quote it as current: say
|
|
315
|
+
Apple's text for that section has changed, link the section, and describe the requirement in
|
|
316
|
+
your own words marked as such.
|
|
317
|
+
- Confirmed unchanged → the quote is current regardless of how old the pin is, and the `STALE`
|
|
318
|
+
marker is correctly withdrawn.
|
|
319
|
+
- Any failure (offline, fetch error, section not found) degrades to the offline behaviour above
|
|
320
|
+
and **never** reports a verification that did not happen.
|
|
321
|
+
- **Carry the evidence label.** Every FAIL/WARN in the scan output is followed by an indented
|
|
322
|
+
`evidence: <class> · <confidence>` line (also in `--format json` / `sarif`). Reflect it:
|
|
323
|
+
- `validator-blocking` → Apple's own validation stops this; say so with certainty.
|
|
324
|
+
- `review-risk` → a human reviewer rejects this frequently; say it is a likely rejection, not a
|
|
325
|
+
mechanical one.
|
|
326
|
+
- `judgment-call` → a heuristic. Say it may be a false positive and what would confirm it.
|
|
327
|
+
- `· needs build verification` → the claim rests on a source grep or a build setting, not on the
|
|
328
|
+
shipping build. Say explicitly that it blocks the upload **if that code ships as-is**, and name
|
|
329
|
+
what would settle it (conditional compilation, target membership, the actual archive).
|
|
211
330
|
- Quote or repeat the **exact** `FAIL:`/`WARN:` line (or Phase 2 violation text) before each
|
|
212
331
|
explanation block so the user can match Pierre to the machine output.
|
|
213
332
|
- **Read-only:** never modify files; if a line lacks a path, say what to check manually — do not
|
|
@@ -232,14 +351,19 @@ Use this prompt verbatim after Phases 0–2 complete, pasting in the collected f
|
|
|
232
351
|
> never impressed. Phases 0–2 already ran. Your only job is to **explain every FAIL and WARN below**
|
|
233
352
|
> in **2–3 sentences each**. Do not pick random guidelines. Do not hunt for extra issues. Do not skip
|
|
234
353
|
> any line. For each finding: print the line verbatim, then `Pierre:` followed by your explanation
|
|
235
|
-
> (why Apple flags this guideline, what the scan found, what to fix or verify).
|
|
236
|
-
>
|
|
237
|
-
>
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
354
|
+
> (why Apple flags this guideline, what the scan found, what to fix or verify). Before each
|
|
355
|
+
> explanation run `bash skills/appstore-precheck/scripts/guideline-cite.sh <guideline>` and quote the
|
|
356
|
+
> pinned wording it returns; if it exits 3 with `NO PINNED CITATION`, say the exact wording could not
|
|
357
|
+
> be verified this run and **never** quote guideline text from memory. Reflect the finding's
|
|
358
|
+
> `evidence:` line — in particular, when it says `needs build verification`, say the claim rests on a
|
|
359
|
+
> source grep or a build setting rather than on the shipping build. If there are zero FAILs and zero
|
|
360
|
+
> WARNs, say so briefly in 2–3 sentences. Read-only — never modify files. Write the explanations in
|
|
361
|
+
> `<USER_LANGUAGE>`.
|
|
362
|
+
|
|
363
|
+
### Phase 4: Pierre deep review (30 semantic checks)
|
|
364
|
+
|
|
365
|
+
After Phase 3, Pierre runs the **Review Simulator**: 30 read-only, evidence-based checks the
|
|
366
|
+
static scanner cannot fully judge (**23 Tier A** + **7 Tier B v1** heuristic — marked † below).
|
|
243
367
|
The full checklist, per-check procedure, and output format live in
|
|
244
368
|
[`references/pierre-deep-review.md`](references/pierre-deep-review.md) — read it before starting
|
|
245
369
|
Phase 4. When screenshots are present, also run the structured screenshot vision review in
|
|
@@ -252,13 +376,13 @@ SDK usage, screenshots vs features, and paywall disclosure quality.
|
|
|
252
376
|
|
|
253
377
|
**Rules (summary):**
|
|
254
378
|
|
|
255
|
-
- Run **all
|
|
379
|
+
- Run **all 30 checks every time** — report each as `REVIEW-PASS:` or `REVIEW-FINDING:` (never skip).
|
|
256
380
|
- `REVIEW-FINDING:` is always **WARN** (advisory). It does **not** change FAIL/WARN counts or the verdict.
|
|
257
|
-
- † **Tier B v1** checks (4, 5, 7, 10, 15, 29) are heuristic — use cautious language; prefer not applicable when no signal.
|
|
381
|
+
- † **Tier B v1** checks (4, 5, 7, 10, 15, 29, 30) are heuristic — use cautious language; prefer not applicable when no signal.
|
|
258
382
|
- When Phase 1 already flagged a guideline, still run the matching deep check and add semantic context.
|
|
259
383
|
- Cite evidence (`file:line`, metadata path, screenshot name, fetched URL excerpt). Read-only — never edit files.
|
|
260
384
|
|
|
261
|
-
**The
|
|
385
|
+
**The 30 checks (guideline order):**
|
|
262
386
|
|
|
263
387
|
| # | Guideline | Deep question |
|
|
264
388
|
|---|-----------|---------------|
|
|
@@ -291,15 +415,16 @@ SDK usage, screenshots vs features, and paywall disclosure quality.
|
|
|
291
415
|
| 27 | **5.3.1–5.3.3** | Contest/sweepstakes copy includes official rules? |
|
|
292
416
|
| 28 | **5.6.2–5.6.3** | Developer identity consistent (support URL, domains, app name)? |
|
|
293
417
|
| 29 † | **5.6.1 / 5.6.3** | Rating manipulation dark patterns beyond scan §25? |
|
|
418
|
+
| 30 † | **4.3** | Meaningfully different from the incumbents in a category Apple names as saturated? |
|
|
294
419
|
|
|
295
420
|
Use this prompt after Phase 3:
|
|
296
421
|
|
|
297
|
-
> You are **Pierre**. Phase 3 is done. Now run **Phase 4 deep review**: all
|
|
422
|
+
> You are **Pierre**. Phase 3 is done. Now run **Phase 4 deep review**: all 30 checks in
|
|
298
423
|
> [`references/pierre-deep-review.md`](references/pierre-deep-review.md), in table order. For each
|
|
299
424
|
> check emit `REVIEW-PASS:` or `REVIEW-FINDING: <guideline> WARN — …`. For every REVIEW-FINDING,
|
|
300
425
|
> add `Pierre:` with 2–3 sentences (why Apple cares, what you found, what to fix). Read-only.
|
|
301
426
|
> Write explanations in `<USER_LANGUAGE>`. Do not change the scan verdict counts. † Tier B checks
|
|
302
|
-
> (4, 5, 7, 10, 15, 29): prefer not applicable when no signal; use cautious language when flagging.
|
|
427
|
+
> (4, 5, 7, 10, 15, 29, 30): prefer not applicable when no signal; use cautious language when flagging.
|
|
303
428
|
|
|
304
429
|
### Phase 5: Consolidation + token
|
|
305
430
|
|
|
@@ -319,17 +444,43 @@ narrative; verdict.sh just pins the threshold arithmetic. `REVIEW-FINDING` lines
|
|
|
319
444
|
from Phase 1 + Phase 0/2 only — Pierre's prose and REVIEW-FINDING lines do not add FAIL/WARN).
|
|
320
445
|
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.
|
|
321
446
|
3. Present **Phase 3 commentary** — Pierre's 2–3 sentence explanation for every FAIL and WARN.
|
|
322
|
-
4. Present **Phase 4 deep review** — summary count (`REVIEW-FINDING` vs `REVIEW-PASS` of
|
|
447
|
+
4. Present **Phase 4 deep review** — summary count (`REVIEW-FINDING` vs `REVIEW-PASS` of 30), then
|
|
323
448
|
every `REVIEW-FINDING` with Pierre explanation; list `REVIEW-PASS` lines compactly or omit if all 29 passed.
|
|
324
449
|
The 5 screenshot-vision checks (S1–S5) emit the same `REVIEW-*` prefixes but count as a
|
|
325
|
-
**separate "+5 vision checks" sub-block** in the summary, never inside the "of
|
|
326
|
-
5. Present the **machine-faithful** scan output: each `FAIL:`/`WARN:` line verbatim,
|
|
327
|
-
FAIL a `file:line` reference and a suggested fix (one line each,
|
|
328
|
-
|
|
450
|
+
**separate "+5 vision checks" sub-block** in the summary, never inside the "of 30" denominator.
|
|
451
|
+
5. Present the **machine-faithful** scan output: each `FAIL:`/`WARN:` line verbatim, with its
|
|
452
|
+
`evidence:` line, then for each FAIL a `file:line` reference and a suggested fix (one line each,
|
|
453
|
+
surgical, not paraphrased).
|
|
454
|
+
6. Print a **"Not audited"** section. This is **mandatory on every run**, including a GREEN one —
|
|
455
|
+
a verdict is only meaningful next to the list of what it did not cover. Two parts:
|
|
456
|
+
|
|
457
|
+
**(a) Checks that did not run this time** — every `SKIP:` line, verbatim, with what would close
|
|
458
|
+
the gap (paste the App Store Connect listing, set `.screenshotsDir`, …). A SKIP acknowledged in
|
|
459
|
+
`.precheck-ignore` is not printed by the scanner but is still in `summary.not_audited` with
|
|
460
|
+
`suppressed: true`; list it here as *acknowledged* — signing for a gap does not close it. If
|
|
461
|
+
there are none, say "every check ran".
|
|
462
|
+
|
|
463
|
+
**(b) What this tool cannot see at all**, regardless of input — a fixed list, never omitted and
|
|
464
|
+
never implied to have been verified:
|
|
465
|
+
- runtime crashes, hangs, and performance
|
|
466
|
+
- whether links (support, privacy, marketing, EULA) actually resolve
|
|
467
|
+
- whether Restore Purchases, sign-in, and the purchase flow really work end to end
|
|
468
|
+
- OAuth / third-party login round trips
|
|
469
|
+
- server-driven content, remote config, and anything that changes after review
|
|
470
|
+
- the built archive itself: what actually shipped, and which SDK it was built with
|
|
471
|
+
|
|
472
|
+
Then add the **"what this run could not establish"** note whenever any finding carries
|
|
473
|
+
`needs build verification` (`summary.needs_build_verification` in `--format json` counts them):
|
|
474
|
+
name the count and say those claims rest on source or build settings, not on the shipping
|
|
475
|
+
archive. None of this changes the verdict — it tells the user where the verdict is silent.
|
|
476
|
+
|
|
477
|
+
When the verdict is GREEN and anything is unaudited, say so in the same breath: a GREEN that
|
|
478
|
+
never saw the store listing is a GREEN with a hole in it, and Pierre says which hole.
|
|
479
|
+
7. State the verdict and token action (example one-liners — each goes in its own language block, not inline):
|
|
329
480
|
- **GREEN:** FR *"Hmf. Je ne trouve rien. Acceptable. Ne me faites pas regretter."* · EN *"Hmf. I find nothing. Acceptable. Do not make me regret this."* · + user-language line → write `.precheck-pass` (valid 60 min).
|
|
330
481
|
- **YELLOW:** FR *"Quelques petites laideurs. Je ne rejette pas, mais j'ai remarqué."* · EN *"A few small uglinesses. I would not reject, but I noticed."* · + user-language line → ask "confirm and submit anyway?"; token only on confirmation.
|
|
331
482
|
- **RED:** FR *"Non. {n} fautes. Apple en aurait trouvé moins. Suivant."* · EN *"No. {n} faults. Apple would have found fewer. Next."* · + user-language line → no token; state submission is BLOCKED.
|
|
332
|
-
|
|
483
|
+
8. Print the final manual checklist (see
|
|
333
484
|
[`references/methodology.md`](references/methodology.md#pre-submit-manual-checklist)).
|
|
334
485
|
|
|
335
486
|
### Phase 6: local dynamic simulator tier (optional, opt-in — off by default)
|
|
@@ -374,6 +525,16 @@ Follow [`references/simulator-dynamic-review.md`](references/simulator-dynamic-r
|
|
|
374
525
|
React Native (JavaScript) or Flutter (Dart) they under-detect rather than false-fire.
|
|
375
526
|
- iOS only.
|
|
376
527
|
- Phase 0 detects only **structural** drift (added/removed section numbers); see the reference for why.
|
|
528
|
+
- Guideline citations are **pinned snapshots**, not a live fetch: offline and reproducible, but only
|
|
529
|
+
as current as the last reconciliation. `guideline-cite.sh` prints the verification date and marks a
|
|
530
|
+
citation `STALE` past the staleness window; `--verify-live` upgrades that to a real change check
|
|
531
|
+
against the live page when the network is available, and the scheduled drift job catches it
|
|
532
|
+
otherwise. Without either, an age-fresh pin on a section Apple edited yesterday will still read as
|
|
533
|
+
current.
|
|
534
|
+
- Evidence and confidence labels are **per rule**, refined per branch where a branch is clearly
|
|
535
|
+
stronger or weaker than its rule; a branch that could not run at all is a `SKIP`, not a labelled
|
|
536
|
+
WARN. They describe the artifact the finding was read from and who
|
|
537
|
+
enforces the guideline — not a probability that Apple will reject this particular submission.
|
|
377
538
|
|
|
378
539
|
## Optional: upload guard hook
|
|
379
540
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"2.1", "2.3", "2.3.1", "2.3.3", "2.3.7", "2.3.8", "2.3.10",
|
|
10
10
|
"2.5.1", "2.5.2", "2.5.4",
|
|
11
11
|
"3.1.1", "3.1.2", "3.1.5",
|
|
12
|
-
"4.2", "4.2.3", "4.2.7", "4.4.1", "4.4.2", "4.8", "4.9",
|
|
12
|
+
"4.2", "4.2.3", "4.2.7", "4.3", "4.4.1", "4.4.2", "4.8", "4.9",
|
|
13
13
|
"5.1.1", "5.1.2", "5.1.3", "5.1.4", "5.1.5",
|
|
14
14
|
"5.3.4", "5.4", "5.5", "5.6.1"
|
|
15
15
|
],
|