appstore-precheck 1.12.2 → 1.13.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 +28 -0
- package/README.md +33 -0
- package/package.json +2 -2
- package/skills/appstore-precheck/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,34 @@ All notable changes to this project are documented here. Versioning follows
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.13.0] - 2026-07-12
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- **LLM eval harness (`eval/`)**: Pierre's Phase 4 deep review (28 semantic checks,
|
|
12
|
+
incl. the 6 heuristic Tier B checks) is now measured, not just described. Additive and
|
|
13
|
+
opt-in — nothing in the default scan path changes, no new network calls, verdict logic
|
|
14
|
+
untouched.
|
|
15
|
+
- 21-case human-labelled dataset (`eval/dataset/`): positive+negative pairs per check,
|
|
16
|
+
deliberate false-positive traps, borderline cases, and pre-fetched-URL cases for the
|
|
17
|
+
privacy-policy check. Unconfirmed labels report as UNLABELED and never enter headline
|
|
18
|
+
metrics.
|
|
19
|
+
- Runner (`eval/run.sh`): pinned model + generation params recorded per run, `--repeat`
|
|
20
|
+
for consistency measurement, response caching with resume; `ANTHROPIC_API_KEY` read
|
|
21
|
+
from the environment only. Baseline cache dirs are per-model
|
|
22
|
+
(`eval/baseline/<date>-<model>/`) and a resume guard refuses to mix models in one dir.
|
|
23
|
+
- Offline scorer (`eval/score.py` → `docs/llm-scorecard.md`): per-check and per-tier
|
|
24
|
+
precision/recall/F1, Tier-B false-positive rate, majority-vote scoring, unanimity-based
|
|
25
|
+
consistency metric.
|
|
26
|
+
- Committed baselines: Sonnet 5 and Opus 4.8, both 21/21 correct (Tier-A F1 1.00,
|
|
27
|
+
Tier-B FP rate 0.00); consistency 1.00 (Sonnet) vs 0.95 (Opus — one pass/not-applicable
|
|
28
|
+
wording drift). See the honesty section in `docs/llm-scorecard.md` for what these
|
|
29
|
+
numbers do and do not mean.
|
|
30
|
+
- CI: blocking offline gate (dataset validity, scorecard freshness, Tier-A F1 ≥ 0.80
|
|
31
|
+
floor on the committed baseline) plus a non-blocking live smoke job that skips politely
|
|
32
|
+
without the API secret.
|
|
33
|
+
- Tests: verdict parsing, request building, scorer math, and the model-mismatch guard —
|
|
34
|
+
all offline, no key needed.
|
|
35
|
+
|
|
8
36
|
## [1.12.2] - 2026-07-08
|
|
9
37
|
|
|
10
38
|
### Fixed
|
package/README.md
CHANGED
|
@@ -405,6 +405,39 @@ measures intended-behaviour fidelity against fixtures this project wrote; real-p
|
|
|
405
405
|
measures the false-positive rate on real, unrelated open-source code. See
|
|
406
406
|
[`docs/scorecard.md`](docs/scorecard.md) for the current numbers and full methodology.
|
|
407
407
|
|
|
408
|
+
## Eval (LLM deep-review scorecard)
|
|
409
|
+
|
|
410
|
+
The static scanner above is measured by `docs/scorecard.md`; Pierre's **LLM deep-review layer**
|
|
411
|
+
(28 semantic checks, incl. the 6 heuristic Tier B checks) has its own harness under [`eval/`](eval/)
|
|
412
|
+
and its own scorecard, [`docs/llm-scorecard.md`](docs/llm-scorecard.md).
|
|
413
|
+
|
|
414
|
+
- **Dataset** — `eval/dataset/`: one labelled case per file (target check, expected
|
|
415
|
+
`finding`/`pass`/`not-applicable`, one-line rationale, minimal fixture), validated against
|
|
416
|
+
`eval/schema/case.schema.json` by `bash eval/validate.sh`. Tier B is deliberately over-represented —
|
|
417
|
+
that is where false positives live.
|
|
418
|
+
- **Runner** — `bash eval/run.sh [--repeat 3] [--model claude-sonnet-5] [--cases 'check05-*']`
|
|
419
|
+
calls the Anthropic Messages API once per case per repeat and caches every raw response under
|
|
420
|
+
`eval/runs/<timestamp>/` (or `--baseline` → `eval/baseline/<date>-<model>/`, which is committed). Needs
|
|
421
|
+
`ANTHROPIC_API_KEY` in the environment; the key is never logged or written to disk. Model and
|
|
422
|
+
generation parameters are pinned in the run's `manifest.json`.
|
|
423
|
+
- **Scorer** — `python3 eval/score.py --write` re-parses the cached responses **offline** (no key,
|
|
424
|
+
no re-billing) and regenerates `docs/llm-scorecard.md`: per-check and per-tier precision/recall/F1
|
|
425
|
+
with TP/FP/FN/TN counts, the **Tier-B false-positive rate**, a **consistency** metric (share of
|
|
426
|
+
cases unanimous across repeats; majority vote is scored and disagreements are flagged), and the
|
|
427
|
+
count of **UNLABELED** cases — any label a human has not confirmed is excluded from headline
|
|
428
|
+
metrics, same rule as the real-panel scorecard.
|
|
429
|
+
- **CI** — the blocking job validates the dataset and fails if `docs/llm-scorecard.md` is stale or
|
|
430
|
+
**Tier-A F1 drops below 0.80** (`LLM_F1_FLOOR`), scored purely from the committed baseline caches.
|
|
431
|
+
A separate **non-blocking, informational** job (`continue-on-error: true`) runs a tiny live smoke
|
|
432
|
+
subset when the `ANTHROPIC_API_KEY` secret is configured — mirroring the real-panel job.
|
|
433
|
+
|
|
434
|
+
**Limitations, stated up front:** the numbers measure fidelity to this project's own human labels on
|
|
435
|
+
minimal synthetic fixtures — **not agreement with Apple's actual review decisions**. Each case
|
|
436
|
+
isolates a single check (cross-check interference is unmeasured), and Pierre's live URL fetches are
|
|
437
|
+
substituted with pre-fetched content embedded in the case for determinism. Non-determinism is
|
|
438
|
+
treated as a metric (consistency), not hidden: generation parameters are pinned and recorded, and
|
|
439
|
+
every rate is printed next to its raw counts so small samples stay visible.
|
|
440
|
+
|
|
408
441
|
## Configuration
|
|
409
442
|
|
|
410
443
|
Zero config for a standard fastlane + Xcode layout. The scanner auto-detects your source directory,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appstore-precheck",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "Read-only iOS App Store pre-submission check, packaged as a portable Agent Skill with native Claude Code, Cursor, and Codex plugins, plus an npx CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Berkay Turk (https://github.com/berkayturk)",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"scripts": {
|
|
26
26
|
"test": "bash tests/all.sh",
|
|
27
27
|
"check-versions": "bash scripts/check-versions.sh",
|
|
28
|
-
"lint": "node --check bin/cli.js && bash -n skills/appstore-precheck/scripts/scan.sh && bash -n skills/appstore-precheck/scripts/verdict.sh && bash -n skills/appstore-precheck/scripts/phase2-precheck.sh && bash -n skills/appstore-precheck/scripts/findings.sh && bash -n skills/appstore-precheck/scripts/suppress.sh && bash -n hooks/fastlane-guard.sh && bash -n install.sh && bash -n tests/run.sh && bash -n tests/all.sh && bash -n tests/test-verdict.sh && bash -n tests/test-guard.sh && bash -n tests/test-config.sh && bash -n tests/test-install.sh && bash -n tests/test-phase2.sh && bash -n tests/test-cli.sh && bash -n tests/test-findings.sh && bash -n tests/test-format-json.sh && bash -n tests/test-suppress.sh && bash -n tests/test-scorecard.sh && bash -n scripts/scorecard.sh && bash -n scripts/scorecard-real.sh && bash -n scripts/update-brew-formula.sh && bash -n tests/test-pack.sh"
|
|
28
|
+
"lint": "node --check bin/cli.js && bash -n skills/appstore-precheck/scripts/scan.sh && bash -n skills/appstore-precheck/scripts/verdict.sh && bash -n skills/appstore-precheck/scripts/phase2-precheck.sh && bash -n skills/appstore-precheck/scripts/findings.sh && bash -n skills/appstore-precheck/scripts/suppress.sh && bash -n hooks/fastlane-guard.sh && bash -n install.sh && bash -n tests/run.sh && bash -n tests/all.sh && bash -n tests/test-verdict.sh && bash -n tests/test-guard.sh && bash -n tests/test-config.sh && bash -n tests/test-install.sh && bash -n tests/test-phase2.sh && bash -n tests/test-cli.sh && bash -n tests/test-findings.sh && bash -n tests/test-format-json.sh && bash -n tests/test-suppress.sh && bash -n tests/test-scorecard.sh && bash -n scripts/scorecard.sh && bash -n scripts/scorecard-real.sh && bash -n scripts/update-brew-formula.sh && bash -n tests/test-pack.sh && bash -n eval/run.sh && bash -n eval/validate.sh && bash -n tests/test-eval-parse.sh && bash -n tests/test-eval-score.sh"
|
|
29
29
|
},
|
|
30
30
|
"keywords": [
|
|
31
31
|
"ios",
|
|
@@ -4,7 +4,7 @@ description: Read-only pre-submission check for an iOS app before App Store revi
|
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
6
|
author: Berkay Turk
|
|
7
|
-
version: 1.
|
|
7
|
+
version: 1.13.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
|
|