Avoid common App Store and Google Play rejections. Open playbook and pre-submission guard with 117 documented rejection patterns and fixes, privacy manifest and Data safety checks, 95 tracked deadlines (EU AI Act, DSA, COPPA, age laws), and a skill for AI coding agents.
Changelog
All notable changes to this playbook are recorded here. The format follows Keep a Changelog, adapted to plain punctuation.
2.4.0 (2026-11-15)
This release closes gaps found by a second survey of comparable open source repositories, a line by line read of the App Store Connect release notes, and an internal audit of the guard. Eight adversarial review rounds attacked the changes before release, and every reproduced bug became a test. The new findings are high or medium except the debuggable Android build, which Play refuses at upload, so nothing that passed 2.3.0 is blocked unless it carries a debuggable release manifest. It is a minor version.
Added
- The guard now scans uploads made through
helm-asc(builds upload and--submit), theascCLI, and the Codemagicapp-store-connect publishcommand. Before, these reached App Store Connect without a scan. APPLE-MIN-DEPLOYMENT-TARGET-IOS13. App Store Connect refuses uploads that target below iOS 13. The guard reads the project, xcconfig files (including[sdk=...]qualifiers) and the Podfile. Reported as high, because a dependency or test target below 13 does not block an upload on its own.APPLE-2.5.5-IPV4-ONLY-NETWORKING. App Review runs on an IPv6 only network, soinet_addr,inet_atonandgethostbynameare flagged, including in the app's own C, C++ and Objective-C++ files. Vendored native code is skipped.APPLE-5.1.3-HEALTH-DATA-ICLOUD. HealthKit plus CloudKit or iCloud key-value storage is reported for a human to confirm that no health data reaches iCloud.ANDROID-DEBUGGABLE-RELEASE(critical). A release manifest withandroid:debuggableset to true. Debug-only manifests are ignored.ANDROID-FGS-SPECIAL-USE-UNDECLARED. AspecialUseforeground service without its own subtype property, counted per manifest.ANDROID-64BIT-ABI-MISSING. AnabiFiltersline that shipsarmeabi-v7awithoutarm64-v8a, orx86withoutx86_64.APPLE-ODR-UPLOAD-BLOCK-2027. From early 2027 App Store Connect will no longer accept On-Demand Resources uploads from new apps or apps that have never used the feature. Tracked from the earliest possible date as a reminder, not as Apple's enforcement date.docs/COMPETITIVE-GAP-ANALYSIS.mdrecords the second survey, what was adopted, what was rejected and why, and the larger work left for later releases (built artifact inspection, runtime flow proof, a Data safety CSV generator).
2.3.0 (2026-11-15)
This release adds source provenance to every regulatory deadline, ten new deadlines (six from the November sweep, three from its Asia-Pacific follow-up, and Korea's privacy certification from the September re-read), and a GitHub Pages site. A deadline entry now needs source_url and verified_on to validate, which changes the data schema but blocks nothing in the guard, so it is a minor version.
Fixed
- Unverified dates from the September sweep re-read against primary sources. Korea's mandatory privacy certification (1 July 2027, PIPA Article 32-2(1) proviso) is a new deadline. The Japan APPI amendment now carries its law number and the penal-provision start. The UK subscription regime cites its draft commencement regulations. Android developer verification cites developer.android.com, where Google keeps the rollout current. Items that still have no published day keep their first-of-month placeholder.
- The India DPDP rule 4 Consent Manager deadline (13 November 2026) is absorbed, and section 3.6 cites the Gazette copy MeitY hosts instead of a mirror.
- Landing page accuracy. It said every third-party SDK needs a signed privacy manifest, that Stripe can never sell digital goods, that both stores need deletion fully inside the app, and that every AI feature triggers the EU AI Act. Each now states the actual rule and its scope.
Added
- Asia-Pacific follow-up to the November sweep. Three deadlines, each read on its primary source on 15 November 2026. Korea's AI development reuse rule under PIPA Act No. 21910 (9 March 2027), Indonesia's PP TUNAS self-assessment for every product, service, and feature (31 December 2026), and China's CAC filing window for platforms with a large minor audience (around 16 November 2026, already carried by the doc).
docs/GLOBAL-REGULATORY-2026.mdgains section 3.11 Indonesia. - November 2026 gap sweep,
docs/GAP-ANALYSIS-2026-11.md. Six new deadlines, each read on its primary source. Apple's new age rating descriptors (12 January 2027) and the Developer ID Sub-CA expiry (1 February 2027). Google Play's Japan payments authorization (1 December 2026), eligibility-based subscription discounts (27 January 2027), the AppFunctions policy (14 April 2027), and the Local Network and Manage Contacts declarations (25 August 2027). The Apple, Google, EU, and US docs carry the matching lines, and anything that could not be read on a primary source is listed as unverified. - Every regulatory deadline now names its source and the day it was last read. Before, a reader followed two hops from the entry to a doc section to find the source, and nothing could tell a fresh entry from a stale one. Now each of the 95 entries carries
source_urlandverified_on, plussource_noteon the 27 read through a mirror, an archive, a secondary summary, or the Publications Office CELLAR record. 92 sources were fetched and confirmed on 14 November 2026. The two Ofcom pages refuse scripted reads and keep the date they were last read in a browser.scripts/validate.pyfails an entry missing either field and warns after 180 days, andscripts/verify-citations.pyalready sweeps the new URLs. - A GitHub Pages site for the docs. Before, the playbook could only be read on github.com. Now each doc is its own page on mjmirza.github.io/app-store-compliance, with a sitemap, search metadata, structured data and an llms.txt file, so search engines and AI assistants can find and cite it.
2.2.0 (2026-11-05)
This release adds Fleet Sweep, the Waiver Ledger, the Ruling Register and an eval scorecard. Nothing that passed 2.1.0 in the single-app guard is blocked now, so it is a minor version.
Added
- Fleet Sweep,
scripts/fleet-sweep.py. Before, the guard checked one app per run and you added the results up by hand. Now one run covers every app in a fleet file and returns one verdict, worst app wins, with exit codes 0 ready, 3 ready with open actions, 1 not checked, 2 blocked. A partial scan, a declared platform the guard did not find, a timeout, or a report whose counts or exit code contradict its findings isNOT_CHECKED, never ready. Account and console steps you track show as owner actions, and an app with no readiness list reports that too. - The Waiver Ledger. A reviewed false positive can step aside for one occurrence (app, finding, severity, file) with a reason, evidence, a reviewer, and an expiry at most 180 days out. Expired, incomplete, duplicated, and stale waivers are named and the finding comes back.
- The guard prints a
Coverage.line before every exit (complete or incomplete, which platforms it found, and why), so a blocked run still says whether every app root was scanned. - A GitHub code-scanning export (
--scanning-export, SARIF 2.1.0) that keeps each app's path, marks waived findings as suppressed with their evidence, and marks the run unsuccessful when an app was not checked. Plus a full JSON result (--json). - The Ruling Register,
data/ruling-register.jsonandscripts/ruling-register.py. Release requirements a code scan cannot see, each with its legal standing (in force, in force later, store policy, proposed, guidance), how it is proven (automated, owner attested, mixed), and a verbatim quoted source with the date it was read. A rule blocks only when quoted sources cover both its obligation and its start date, so a quote on one premise never verifies another.duelists what applies to an app,exportwrites a commit-stamped copy. 14 first entries from an adversarial gap review, covering India, the EU, the US, China, Indonesia, Vietnam and Australia. Fleet Sweep requires every app to declare its platforms, regions and features, and an applicable in-force rule without a compliant attestation, covering every proof item and country at the rule's current revision, makes the appBLOCKED. scripts/eval-scorecard.pyandevals/gold-cases.json. 32 gold scenarios across Fleet Sweep, the Waiver Ledger and the Ruling Register. Each checks the verdict, the exit code, that the fleet and app agree, and which rule ids must and must not appear. Any miss fails CI.scripts/ruling-register-test.sh, 74 cases. A second adversarial Codex review of the register and the evals reproduced eight defects, all fixed and kept as regression cases.scripts/fleet-sweep-test.sh, 42 cases including every defect an adversarial Codex review reproduced, wired into CI. Guide indocs/FLEET-SWEEP.md, templates intemplates/.
2.1.0 (2026-10-17)
Apple revised the App Review Guidelines on 16 October 2026. This release follows that revision. It adds three patterns and no new guard rule, so it is a minor version.
Changed
- Apple revised the App Review Guidelines on 16 October 2026, and the playbook follows the live text, checked on 17 October 2026 against the revision note and Apple's safety post.
- 1.2 now names social media, user-generated content platforms, and AI content creation apps, lists nonconsensual intimate imagery, and warns of a Developer Code of Conduct violation for missing safeguards or violations left unfixed after notice.
APPLE-1.2-UGC-24H-ACTIONandBOTH-AI-GENERATED-CONTENTcarry the new wording, and the UGC fix no longer promises a 24 hour window the guideline does not set. - Hidden, dormant, and undocumented features moved from 2.3.1 to the new 2.5.19. The 2.3.1 row in
docs/APPLE.mdand thefuture_functionalitymapping now say so, andRN-OTA-UNDECLAREDnames the bait-and-switch risk. - 3.1.1(a) folds the Music Streaming Services Entitlement into the StoreKit External Purchase Link bullet and requires a permitted destination.
APPLE-3.1.1-EXTERNAL-LINK-REGION-GATINGand its row say so.
- 1.2 now names social media, user-generated content platforms, and AI content creation apps, lists nonconsensual intimate imagery, and warns of a Developer Code of Conduct violation for missing safeguards or violations left unfixed after notice.
Added
- Three patterns, each checked by hand because the evidence lives outside the project.
APPLE-2.3.14-CREATIVE-ASSET-CONTENT(medium),APPLE-2.5.19-HIDDEN-OR-DORMANT-FEATURE(critical), andAPPLE-5-TRAFFICKING-CHILD-EXPLOITATION(critical), with matching rows indocs/APPLE.mdand two new lines in the pre-submission checklist.
2.0.0 (2026-10-16)
This release changes the licence and the release audit's exit codes, so it is a major version. Everything below landed since 1.0.0.
Thanks
- Omar Albeik (@omaralbeik) found that the sanctions section still listed Syria as an embargoed territory after the OFAC program ended, and opened #967 with the correction. His fix landed in #1001, where he is a co-author. Developers shipping to Syria now get the rules that actually apply instead of a block that no longer exists.
Changed
- Shell tools are matched against an exact name list, which adds
runInTerminalandrun_in_terminal. An MCP tool whose name merely contains terminal or shell is no longer scanned. - The default branch is now
main. The CI trigger, the README badge and SECURITY.md follow it, and the bot branch ruleset excludes whichever branch is the default. - The bot PR gate. The workflow from #442 closed every PR whose branch looked bot-generated, which caught the owner's own Jules scheduled tasks. It is replaced by a gate that closes only pull requests from bot accounts not on the allowlist (Jules, Copilot, Dependabot, GitHub Actions), without deleting the branch. Owner-run bot PRs stay open, land on the project board as Backlog through the auto-add workflow, and are reviewed by hand. The eleven Jules PRs closed on 14 September 2026 had their branches deleted by the old workflow and cannot be reopened.
Added
- A bare Xcode or Android app under a root framework app (Expo, React Native, Flutter, Capacitor), with its own Info.plist or AndroidManifest.xml and no root build file that names it, is scanned as its own app. It counts as an app only with an
.xcodeprojthat builds an application (or names no product type) or an Android application module, so a library or a local native module stays with the app that uses it, and it splits off only when the root has its own project for that platform, so a managed Expo root keeps its checks. A native host that embeds React Native, Expo, Flutter or Capacitor (Swift, Objective-C, Kotlin or Java code, a Podfile or a Gradle file naming it, Cordova plugins included, in Objective-C or Swift, anRCTAppDelegate, an Expo app delegate,import Reactwith a React surface view, or an AndroidReactActivityorReactNativeHost) is brownfield and stays in the root scan, so its over-the-air updater and other framework findings still count. A native app that does split off, and the root it left, both keep every framework check the pooled tree showed (a Capacitor root's UIWebView check, or a Cordovaconfig.xmlinside the split app, for example), exactly as when they were scanned as one. The root and its split native apps are also scanned together as in 1.0.0, and any finding the separate scans did not list at the same severity is added once, so a critical finding is never dropped beside a high one with the same id, so evidence that spans both (a shared source file and the split app) still counts. A project in a folder named exactly demo, example, sample or playground (or the plural) stays in the root scan, so its findings still count (#656). - Install for every major AI coding tool.
install.sh --tool codex|gemini|opencode|cursor|copilot|grok|qwen|kimi|droid|auggie|windsurfinstalls the guard, the skill and, where the tool supports it, the/app-store-auditcommand, and registers the hook in that tool's own config, merged with every other setting and backed up.--tool allinstalls into every tool it finds. Each install ends withInstall verified.only after it feeds a submit command to the hook in that tool's own payload format and sees it blocked. OpenCode gets a plugin, because it has no hook config, written to bothplugins/(current OpenCode) andplugin/(OpenCode before 1.0, which reads only that folder). Checked live on this machine. The real Codex CLI and the real Qwen Code 0.25.1 each stopped a submit command with the guard's findings. The real Gemini CLI 0.22.5 and OpenCode 0.14.1 loaded the hook and the plugin, and their model call could not run here (no Gemini licence on the account, no free OpenCode model available), so their blocking is proven by feeding each tool's own payload to the installed hook. 203 tests inscripts/install-harness-test.sh, in CI. - GitHub Copilot in every place it runs.
--tool copilotcovers Copilot CLI and Copilot in VS Code with one file that carries both hook formats.--tool copilot-repo --repo <app>writes the hook into the app's own.github/hooksfor the Copilot cloud agent and JetBrains, with nothing written to your home folder. - Kimi Code gets one marked block appended to its config (
$KIMI_CODE_HOME/config.tomlwhen that is set), and the rest of that file, which can hold API keys, is never rewritten or printed. Uninstall restores the file exactly. A config that already defineshooksinline, as a table or as a quoted key, or with an escaped quoted key, or that would not stay valid TOML (on a fresh append and on a repair of its own block), is left unchanged and the block to add by hand is printed, because TOML cannot mix the two forms. Factory Droid keeps usingsettings.jsonwhen its hooks already live there, because Droid ignores them oncehooks.jsonexists. - The guard reads the request format of Grok, Factory Droid, Augment Auggie, Windsurf, VS Code, Kiro and Goose, and finds the project folder from each tool's own field.
- A version you can see.
VERSIONholds 2.0.0,install.sh --versionprints the checkout's version, every install records it next to the skill, anddoctorprints the installed one and says when the checkout is newer. - On Windows (Git Bash, MSYS, Cygwin) the installer registers the hook for both Bash and PowerShell, and
doctorproves a PowerShell submit command is blocked. - Guard app root detection, two edges left open by #612. A React Native or Expo app with no app.json or app.config is now its own app when its package.json lists react-native or expo under dependencies and it owns an ios or android folder, so a member whose native folder holds no project file yet no longer pools into its sibling (#655). A dev or peer dependency never counts, and a native-module library with peerDependencies stays a library. A directory linked into the tree from outside it is followed one level when its target carries an app marker, unless the link is named like a vendored folder (vendor, build, node_modules and the other names the scan already skips), and scanned through its target as its own app (#657). A link back into the tree, to an ancestor, or to itself is skipped, and the target is read without following any further link, so a cycle cannot hang the scan. A linked ios or android platform folder is still not followed. How a nested bare Xcode or Android project under a root framework app is scanned is covered by the #656 entry above. A linked app is scanned beside the project, never in place of it, so a clean linked app cannot hide the project's own findings, and an empty project root beside a linked app is not reported as NOT CHECKED, unless a framework app under it still needs its native folders, which keeps NOT CHECKED. A linked Unity, MAUI, Tauri, Cordova or Capacitor app is followed too, and two links to one app scan it once. 13 new test cases, 302 total, green on bash 5 and macOS bash 3.2.
- README first-run path. A Start here table routes four kinds of reader to one action each, with the time it takes. The two-command check comes first, followed by what each last line of the guard means. The install section lists everything it writes and the undo command before the paste block. New short sections cover troubleshooting and the five words a newcomer has to know. Driven by 40 persona walks (a second model as 24 readers, and two reviewers who ran every README command in a throwaway home folder).
scripts/check-docs.py. Fails CI when a Markdown file names a link, heading anchor, image, repo path, script or flag that does not exist. 11 tests prove it fails on each kind.- The guard ends every run with a verdict.
CLEAR.when no critical risk was found,NOT CHECKED.with exit 1 when the folder holds no iOS or Android project (an empty folder and an Expo app with no native folders used to look like a clean pass), and aNext.line afterBLOCKED.. As a hook it still never blocks a project it could not scan. monitor.py --full. A live report over 25 items now opens with a count per track and shows the first 10 (3,503 lines became 194).--jsonis never cut.- The checklist opens with the two checks that stop most rejections and says how long a full pass takes. CONTRIBUTING explains how to fix a wrong citation.
- README. A second approval proof, a developer's App Store Connect approval mail shared with thanks for the playbook, stored as assets/app-store-approval-thanks.png with the sender's name removed.
- One command install for Claude Code.
scripts/install.shcopies the guard, the skill (now with.citation-allowlist) and the/app-store-auditcommand, adds one PreToolUse hook entry to settings.json while keeping every other key and writing a backup, then runs the guard against a sample app that must be blocked.doctorchecks an existing install,uninstallremoves it,--dry-runwrites nothing. The check runs the registered command string itself, so an entry on the wrong matcher, behind a comment, or with an unquoted path fails it. A settings.json that is read-only, not valid JSON, or repeats a key is never rewritten. Before this the install was a prose prompt with no settings example and no way to tell whether it worked. 62 tests, in CI. - Apple, September 2026. The EU App Tracking Transparency alternative prompt from iOS 27.2 (the only version in Germany, France, Italy, Poland, and Romania), multiseat subscription purchases enabled by default with Volume Purchasing on 22 October 2026 as deadline APPLE-MULTISEAT-VOLUME-PURCHASING, Bundles and Suites, the 27 August tax and price updates, and the 27.2 betas. Each read from Apple's own post on 30 September 2026.
- The validator fails a deadline whose
affected_repository_sectionsnames a file that does not exist. Four entries pointed at a missing by-app-type file and now point at social-and-user-generated-content.md. - The two deadlines of 1 October 2026 (Play US alternative billing reporting, Apple EU unified terms) carry
absorbed_into. - Validator deadline rules (#660).
scripts/validate.pyfails an entry whose effective date is after its mandatory date or whose mandatory date is after its enforcement date, and fails a deadline that passed more than 7 days ago with noabsorbed_into. Inside the 7 days it warns.scripts/test-validate.pypins both with eight cases. AGENTS.md records the policy for a postponed, withdrawn, or narrowed deadline. - Guard scan time (#658). The guard prints
Scan time. Nsafter the summary, and past 45 seconds it names the hook timeout setting to raise. The threshold reads APP_STORE_GUARD_SLOW_SECS. The time sits on its own line because the gauntlet compares the summary line across interpreter tiers. Five new cases, 189 total. - The three deadlines of 30 September 2026 (Android developer verification sideloading leg, Play organization registration for regulated categories, Play package name registration) carry
absorbed_into. - iPhone Duo readiness (#724). Deadline APPLE-IPHONE-DUO-LAUNCH (pre-order 16 October 2026, ships 23 October 2026), PLATFORM-MECHANICS section 1.8 covering the Xcode 27.1 build, size classes and scene bounds, reserved regions around the cameras and the fold, arrangement views, vertical bars, camera direction, and the App Store asset status (specifications published, Duo uploads open since 5 October 2026, no Duo-specific review rule published), plus three pre-submission checklist items. Sourced from Apple's newsroom, developer documentation, and HIG pages.
- Project board at github.com/users/mjmirza/projects/3 with the roadmap, one issue per dated deadline milestone through May 2027, and the guard limits from #614 as tracked enhancements. Labels for area, priority, type, and platform on the repo. README links to it from Contributing.
- September 2026 gap analysis, docs/GAP-ANALYSIS-2026-09.md. 22 rejection patterns (Apple social media declaration gate, Sign in with Apple relay domain, RESCIND_CONSENT, external purchase link region gating, Live Activities, On-Demand Resources deprecation, removed App Store Connect age-rating endpoints, Rosetta sunset, Play chargeback liability, donation links, organization registration, package registration, Contact Picker and location button and geofence rules for API 37, ACCESS_LOCAL_NETWORK, R8 optimization, Restore Credentials, generative AI NCII controls, anonymous chat minor blocking, unrated apps, developer account enrollment readiness), 20 regulatory deadlines (US ADA Title II and HHS 504 extensions, FTC COPPA age-verification policy, UK DUAA, ICO storage guidance, DMCCA subscriptions, under-16 ban, Ofcom app stores report, EU AI Act marking retrofit, Product Liability Directive, Data Act switching, eIDAS wallet, CSAM derogation expiry, Korea PIPA, China AI companion measures, Singapore OSRAA, India Consent Managers, Japan APPI), 16 new guard checks with 16 gauntlet cases, and an account and program readiness section in the pre-submission checklist.
- Apple, September 2026. The April 2027 SDK 27 upload floor as deadline APPLE-SDK-27-REQ (month only, tracked as 1 April 2027), the 19 August App Store Connect form rules (international phone format for the App Review contact, first in-app purchase of each type submitted with a new app version), the 9 September screenshot specifications for iPhone Duo, iPhone 18 Pro and Pro Max, Apple Watch Ultra 4 and Series 12, and four matching pre-submission checklist items. The Rosetta sunset pattern now records both Apple notices, which disagree on whether macOS 26 or macOS 27 is the last release with Rosetta.
- Licence. The whole repository moved from a dual MIT and CC BY 4.0 grant to the OpenRoots Agent License 2.3 (via ORA 1.0 on 24 August 2026, then 2.3 on 27 August 2026). One licence now covers code, docs, data, the skill, and the guard. Releases before 24 August 2026 keep MIT and CC BY 4.0 irrevocably. LICENSE is a pointer to the canonical text at openroots.org.
- docs/GLOBAL-REGULATORY-2026.md section 2.7 and data/rejection-patterns.json BOTH-SUBSCRIPTION-HARD-CANCEL. US subscription cancellation (negative option) coverage was completely absent. Live-verified the federal FTC click-to-cancel rule's vacatur by the Eighth Circuit (8 July 2025) and its reopened rulemaking (ANPRM, 11 March 2026), documented that California, New York, and Massachusetts have their own binding negative-option statutes regardless, and that the FTC retains Section 5 and ROSCA authority. Added a matching guard check and detection recipe for a subscription flow that requires a phone call, mail, or an in-person visit to cancel.
- AGENTS.md. Release review guidelines for AI agents (a 14-item checklist) plus a strict source trust hierarchy and verification rules every monitor script follows before citing a claim as fact.
- scripts/monitor-regulatory.py. The Regulatory Intelligence Agent, tracking EU/UK/US/CA/AU/SG regulatory developments through a source trust hierarchy classifier, with its own test suite.
- scripts/monitor-android.py and docs/ANDROID-POLICY-MIGRATION.md. Android and Google Play requirements compliance monitoring, with its own test suite.
- scripts/monitor-ai-policy.py and docs/AI-POLICY-MIGRATION.md. Platform-specific generative AI policy monitoring (Apple and Google), with its own test suite.
- scripts/deadline-checker.py and data/regulatory-deadlines.json. A timezone-aware regulatory deadline checker over a 90-day window, wired into the guard hook automatically.
- scripts/release-audit.py. A release readiness compliance audit engine that writes RELEASE-READINESS-REPORT.md into the audited project (gitignored, never a committed fixture).
- scripts/accessibility-audit.py. A continuous accessibility compliance audit (VoiceOver, Dynamic Type, Reduce Motion, contrast, TalkBack, touch targets), runnable standalone and deliberately not wired into the guard hook.
- Mobile and web privacy compliance monitoring, folded into the guard hook and the pattern taxonomy.
- docs/MOBILE-SECURITY-2026.md. A mobile security requirements playbook and matching guard checks (secure storage, insecure backup, unsafe deep links).
- Brazil SPA fixed-odds betting license and Google Play Age Signals compliance checks in the guard hook and pattern taxonomy.
- Apple accessibility guard checks (VoiceOver, Dynamic Type, Reduce Motion, color contrast, haptics, keyboard focus) and privacy nutrition label checks.
- docs/EU-REGULATORY-2026.md. The EU legal hard rules with dated sources and Apple developer citations. the EU AI Act (Article 50 transparency by 2 August 2026, Article 4 AI literacy, Article 5 prohibited practices, Article 99 penalties, provider versus deployer), the Digital Markets Act (distribution channels, notarization, external purchase entitlement and disclosure sheet, the Core Technology Fee and Core Technology Commission, the 500 million euro anti-steering fine), DSA trader status (Apple removal from 17 February 2025), the European Accessibility Act (in force 28 June 2025, EN 301 549 and WCAG 2.1 AA), and the Apple 2025 and 2026 platform changes (age rating deadline 31 January 2026, Guideline 5.1.2(i) third-party-AI consent, the Declared Age Range API, mini apps 4.7, Xcode 26 SDK deadline 28 April 2026).
- docs/GLOBAL-REGULATORY-2026.md. The USA and other-global legal hard rules with dated sources. US COPPA and the amended rule, the state app-store age-verification laws, the external-link rules after the Epic injunction, US state privacy laws, plus the UK Online Safety Act and Children's Code, Australia, Brazil, Canada, South Korea, India, and other jurisdictions, and what Apple tells developers to do per region.
- An EU legal gate section in docs/PRE-SUBMISSION-CHECKLIST.md.
- Pointers from the Advanced 2026 legal layer and the README docs index to the new EU and global legal docs.
- docs/PLATFORM-MECHANICS-2026.md. The platform-mechanics and newer-policy hard rules with dated sources and Apple, Google, and statutory citations. Apple (macOS notarization with notarytool and stapler, Guideline 4.2 minimum functionality and 4.3 spam or duplicate with the June 2026 saturation tightening, the reader-app External Link Account Entitlement, the France ANSSI encryption declaration matrix, the content-rights declaration, visionOS App Motion and Developer Capture, the watchOS and tvOS 26 SDK deadline, In-App Events and Custom Product Pages and the submission-concurrency limit), Android (developer verification with the 30 September 2026 country deadlines, Foreground Service types, the Play Integrity move off SafetyNet, Play Billing Library v8 by 31 August 2026, target API 35 now and 36 by August 2026, disruptive-ads and interstitial rules, Health Connect, real-money games, and the Photo Picker and deletion-URL rules), and cross-cutting (CSAM and NCMEC reporting, UGC controls and the Google Play Child Safety Standards, accessibility as a review dimension, account-and-data deletion URLs, OFAC sanctions, ADA Title III, and PSD2 SCA and PCI DSS).
- A platform mechanics gate section in docs/PRE-SUBMISSION-CHECKLIST.md, and pointers to the new doc from the Advanced 2026 layer, the README docs index, the agent skill, and the audit command.
Fixed
Workspace runners are scanned.
yarn workspace x <script>,pnpm --filter x,npm -w xor--prefix,bun --filter,turbo run,lerna runandnx run x:targetresolve the script or nx target in the package they name. Without a named package,turbo,lernaandnx run-manyread every package, and a named package that cannot be found falls back to every package. The whole command is read as one runner, as in 1.0.0, with a plainnpm,pnpmorbun runtried first so runner words inside its arguments never take over, and every runner in a compound command, a$(...)or backticks is read on its own too, so a later web build never masks an earlier submit script. Thebun ship,turbo ship,pnpm -r shipandnx ship mobileshorthands andnx run-manyornx affectedwith-tor--targetare read too. An nx command withoutproject:targetreads every package. An nx target whose options nest an object, such asenv, is still read to its command.bun run --filter x shipand several--filterselectors in one command are read, as is lerna--scope, and a pnpm graph selector such asweb...or{apps/web}is reduced to its package name. An exclusion-only filter such as--filter '!docs'reads every package. Recursive forms (-r,--recursive,-ws,--workspaces,yarn workspaces foreach) read every package, a scoped@scope/namematches only that package, and the root package.json always counts.Without jq or python3, a payload with more than one tool name field is scanned rather than trusted, so nested metadata cannot hide a Bash submit.
A Tuist
Project.swiftpurpose string counts as the key.The restore check now also covers a cross-platform purchase plugin app (1.0.0 checked only native StoreKit apps), where the plugin's purchase list call (getAvailablePurchases, queryPastPurchases) counts as the restore flow. A native StoreKit app still needs a real restore call, as in 1.0.0.
The OpenCode plugin refuses a submit-looking command when the guard itself cannot run (missing file, crash, timeout), and logs the problem for other commands. It reads the command with quotes and backslashes removed and every whitespace run as one space, as the guard does. OpenCode loads both plugin folders, so a call one copy already checked is skipped by the other. Without node the plugin cannot be exercised, so the install ends with
Installed, but not fully verified.instead ofInstall verified.Claude Code
doctorfails when the registered hook is not a command handler or its timeout is under 30 seconds. Every non-Claudedoctorsays when this checkout is newer than the installed skill.A git commit whose message sits beside a
$(...), backtick, process or zsh=(...)substitution is scanned in full, so a submit run inside that substitution is never hidden as message text.An Android word inside a quoted argument, such as a lane parameter
notes:"test -p android", is text and never turns the Apple checks off. Each command in the line is read twice, once with quoted text kept and once with it blanked, and#comments dropped, on macOS bash 3.2 as on bash 5 (a test runs the guard under the system bash itself). A submit is recognised from the kept text, so a quoted lane name such asfastlane "beta"still counts, and its Android word only from the blanked text. Every submit must name Android itself, and any other command that is not known to be harmless keeps the Apple checks, so a harmlessecho -p androidbeside an iOS lane never vouches for it. An Android build stays Android only when every other command beside it is known to be harmless (cd, echo, export, ls and similar) and holds no$(...), backtick, process substitution or zsh=(...). git is never on that list, because an alias, a configured diff helper, a filter or an fsmonitor hook can run anything, so a git command beside an Android build keeps the Apple checks on. Anything else, such asnpm run,make, a script orpython3 upload.py, may upload to Apple, so the Apple checks stay on. Anyios,ipaor Apple upload word anywhere in the command keeps them too, as before 2.0.0. On top of all this, the command must still pass the 1.0.0 Android rule (build apk,assembleRelease,bundleRelease,run-android,--platform androidand the rest), so no command turns off the framework checks where 1.0.0 ran them. A real Android build in a repo that also holds an iOS app still skips the native Apple checks, by design. A flag form 1.0.0 did not know, such aseas submit -p android, still runs the Apple checks. A wrapped submit (npm run,make) is Android only when every command that is not known to be harmless names Android itself, so anecho --platform androidbesidenpm run shipnever turns the Apple checks off. A submit quoted inside a shell (bash -c,sh -c,eval, by path such as/bin/bash, or behindenvorsudo) never takes an Android word from the outer arguments, because they never reach it. The same holds for a submit seen only inside quotes, such as one run bypython3 -corruby -e.The trigger checks (is a camera, location or payment API used) read every source line raw, as in 1.0.0, so no comment rule can hide a live call, a Swift interpolation on a line led by
//included, and a mention in a comment counts as it did in 1.0.0. Only the account deletion and ATT authorization implementation checks drop comments (the restore check reads source raw, as in 1.0.0), line by line with no string state, so a misread quote can never hide the lines after it. They drop block comment lines (the code after a closing*/on its line still counts), a trailing//and a closed/* */on the line, unless the rest of the line holds JSX or the marker sits inside a single, double or backtick quoted string (an escaped quote such as\"does not end the string, outside a Swift raw string, and a quote inside a JavaScript regex literal such as/"/, after an operator (= ( , : & | ! ? { } ; + - * % < > ~ ^) orreturn, is not a string quote). A removed inline comment leaves a separator, so the words on either side never join into a marker such asaccount deletion, so a deletion written only in a comment never counts and real code between two quoted markers always does. An HTML<!--opens a comment only at the start of a line or right after a tag, and one that never closes was a misread string, so the markup after it still counts.InfoPlist.stringsis no longer read at all, so translated text can never stand in for StoreKit, a Restore Purchases control or any other implementation.With neither jq nor python3, a payload from a named tool that is not a shell (such as Read) stays quiet, the same as with a parser.
A commit or gh message whose quote is left open at a line end spans lines in bash, so the whole command is scanned unmasked and a submit after it is never hidden.
Kiro's PowerShell tool (
execute_pwsh) is read likeexecute_bash.A purpose string in an XcodeGen include file, an Nx
project.json, a Tuist helper underTuist/or a Cordovaconfig.xmlcounts, as in 1.0.0.A jq-only uninstall on Windows removes an owned hook under any matcher, so an old
Bash-only entry no longer survives.Copilot
doctorchecks the Windowspowershellhandler against the exact command the installer writes, so an edited handler fails.When the guard cannot write its scan buffer beside its file list, it falls back to
/tmpas before 2.0.0, so the source scan still runs.A git message is treated as text only for a plain
git commit,tagornotes(with at most-C <dir>). A git alias or any other global option keeps the whole command scanned, because an alias can run its arguments.metadata-audit needs a Terms of Use or EULA link in the description, with a path naming terms, EULA, conditions or licence, or the whole word ToS, AGB or legal, and never a privacy page. Apple's standard EULA counts only as that page on apple.com, never as text inside another URL, and the word terms or EULA in the description or promotional text. A separate
terms_urlfield, a privacy link, or a host that merely contains tos (photos.app) no longer satisfies it. With--check-urls, a malformed URL is reported instead of skipped.Two installs of one tool in different config folders (two
CODEX_HOMEorQWEN_HOMEvalues) each own the shared skill. Uninstalling one keeps the skill for the other.Kimi uninstall restores the config byte for byte, trailing newlines and CRLF line endings included. A CRLF config is matched and stays CRLF on every platform, so a second install changes nothing.
--tool allexpands aQWEN_HOMEwritten as~\folderthe same way the installer does.The agent paste block in the README and the guard table in the skill list all twelve supported tools.
The guard catches Grok Build's native shell tools (
run_terminal_command,run_terminal_cmd,monitor,bash). Before, a real Grok session ran a submit command without any check. The Grok install matches all four, doctor tests the real payload, and install repairs an oldBash-only entry.A command segment that runs an Apple upload is never treated as Android only. An Android word must be the actual gradle task, flutter build verb or platform flag, never text inside another tool's argument.
metadata-audit keeps the longest value when two files supply the same field, and reports the conflict instead of hiding an overlong name. Every combination of the conflicting values is audited too, across fields, up to 4096 combinations (the report says when it stopped early), so no pairing of a kept and an unkept value hides a rejection risk. A value in a nearer folder, a locale or on the command line overrides a conflict between files further up, and the last command line value for a field wins whatever alias named it. A locale also inherits a fastlane
default/folder beside it, which wins over a file further up as in fastlane, and both values are audited, so a name kept only indefault/is audited with the locale's own keywords, anddefault/itself is not audited as a listing when real locales sit beside it.A git or gh message is treated as text only inside its own command segment, so a later
bash -cwith a-margument that runs a submit is still scanned.Android-only targeting is decided per submitting segment. A compound command that also uploads to Apple keeps every Apple check, and every
-por--platformform (-p android,--platform=android,-p=android) is recognised.Account deletion and the App Tracking Transparency prompt must appear in source or HTML. A mention in a
.strings, plist or json file no longer satisfies them.Cursor
beforeShellExecutionalways gets permission JSON on stdout (allow, ordenywith exit 2), with the report on stderr. Before, an allowed submit printed prose, which Cursor treats as invalid.Single-quoted and bare keys in a managed Expo
app.configfile are read.With neither jq nor python3 installed, a Copilot
toolArgsJSON string is parsed instead of passing unchecked.Uninstalling one tool no longer deletes the shared skill another tool still uses, in either install order.
doctorandinstallcheck the hook's matcher, handler type, timeout and that it is not asynchronous (an async hook cannot block), not only its command, with python3 and with only jq. The Gemini audit command stays valid TOML when its paths hold Windows backslashes. Copilot followsCOPILOT_HOME, as Copilot does. Install repairs a hook that would never run, and Kimi doctor tests the command written inconfig.toml.The Copilot hook carries a
powershellhandler for Windows that passes the guard's exit code through.On Windows, reinstalling widens a Bash-only Claude Code hook to
Bash|PowerShell, anddoctorchecks that the matcher covers both.Auggie gets the guard's executable script path, as its hook docs require, instead of a shell command string.
doctorfails when Qwen Code or Copilot hasdisableAllHooksset to true, because then no hook runs. A Copilot hooks file whoseversionis not the number 1 (trueis not 1) is repaired and the repair is written even when the handlers are fine (Copilot rejects the whole file otherwise).doctorfails when Gemini CLI hashooksConfig.enabledset to false. A Cursor handler counts only as a command hook whose matcher takes the submit commands, and a Cursorversionthat is not a positive whole number is repaired. and a Copilot or VS Code handler whosematcherskips the shell tools counts as not registered, so a reinstall repairs it. A Kimi hook counts only with Kimi's own four keys and an integer timeout from 120 to 600, as the Kimi client accepts, so a reinstall repairs any other.The Qwen Code install,
doctor,uninstalland--tool allfollow$QWEN_HOMEwhen it is set. A Qwen handler counts only with"type": "command"and a timeout Qwen gives at least 120 seconds (Qwen reads 1000 or more as milliseconds), so a reinstall repairs any other anddoctorfails on it.release-audit.pyrun from the shared skill in~/.agentsfinds the guard installed under the tool's own folder.metadata-audit.pyapplies the Google rules when givenmetadata/androidor one of its locale folders directly.The installed-layout release-audit test fixture includes
VERSION, so all 19 of its tests run.A privacy purpose string kept only in
InfoPlist.stringsno longer counts. Apple reads the key fromInfo.plistor theINFOPLIST_KEY_build settings, and rejects an upload without it (ITMS-90683). That file only translates a key that already exists.Eight guard rules tightened after an adversarial review. A purpose string named only in a code comment no longer passes. App Tracking Transparency needs both the purpose string and the authorization call, and the finding names the missing half. A privacy manifest inside
Pods,node_modulesor another dependency folder no longer counts as the app's own. The restore check covers the framework purchase plugins. An Android-only build never meets an Apple finding. A temp folder that cannot be written gives NOT CHECKED, never CLEAR. A managed Expo app has its app config read. The text of a commit or pull request message is no longer scanned as a command.The guard silently let through submit commands from every AI coding tool except Claude Code and Codex. It accepted only the tool names Bash and PowerShell, so Gemini CLI (
run_shell_command), OpenCode (bash) and Copilot CLI (toolNamewithtoolArgs) never reached the scan. It now reads every one of those shapes on the jq and python3 tiers, and uses thecwdthe tool sends whenCLAUDE_PROJECT_DIRis not set. A non-shell tool such as a file write stays silent.A fastlane global option before the action or lane hid the submission.
fastlane --verbose deliver,fastlane --env production deliverandbundle exec fastlane --verbose pilotall passed unchecked. Options are now dropped before matching, andfastlane --versionstill stays silent.A guard installed outside
~/.claudeskipped the deadline list and the privacy manifest validator, because it looked for them only there. It now also looks in the shared~/.agents/skillsfolder the other tools read.With jq and no python3, the installer collapsed a repeated key in settings.json, keeping only the last one, which could turn a deny rule into an allow. It now leaves such a file untouched and prints the block to paste, the same as the python3 path.
The
/app-store-auditcommand pointed at~/.claude/rules/app-store-compliance.md, a file no install creates. The reference is gone.Release audit. A scanner that failed or checked nothing still produced
CLEAR TO SUBMITand exit 0, and a high finding was approved as advisory. Now exit 0 is clear, exit 2 is blocked on a critical or high finding, and exit 3 is incomplete, with the scanner's own output shown.--metadata <dir>audits a pulled store listing, and without one the run says exactly what to pull. The guard is found next to an installed skill too, so the installed copy no longer aborts.Metadata audit. Every locale is audited on its own, so a short German name with a violation is no longer hidden behind a longer English one.
--platform googleapplies the Google Play limits (title 30, short description 80, full description 4000) and drops the Apple-only rules. Every URL must be a real http or https address, an Apple listing needs a support URL, a Google listing needs a contact email, and a subscription needs a real Terms or EULA link, not the word terms. The link is found in any letter case, soHTTPS://counts likehttps://. fastlane'sreview_informationandtrade_representative_contact_informationfolders hold app review details, not a listing, so they are not audited as a locale. Their review notes are still audited for content, once, with the first listing of their own app, and they win over a locale's own review notes, which fastlane ignores, though both are audited, so two apps in one folder never share or overwrite each other's notes.The regulatory and privacy monitors trusted a source by substring, so
ftc.gov.attacker.invalid,[email protected], and an article merely titled with an agency name all counted as official and verified. Trust now comes only from the URL host, matched on a domain boundary, and a lower-trust item is verified only when an official host covers the same topic.The pre-submission checklist made every box a blocker, so an app with no login or no purchases could never finish it honestly. An item can now be marked not applicable with a one-line reason, except the privacy declaration and the privacy policy URL. Repository paths in it are now links, and SPKI, PKCE and PCI SAQ are explained at first use. The cross-platform frameworks doc now states the real detection depths and what the guard matches.
Two test suites, the privacy manifest validator and the citation verifier, passed locally but never ran in CI. They do now. A guard test that scanned whatever folder it was started from now scans its own fixture.
README. The first-run command quotes the app path, so a folder with a space in its name is scanned whole, and it says how to get the path by dragging the folder into the terminal.
Apple monitor keyword matching (#833). Keywords and patterns matched as substrings of the raw feed HTML, so "pla" hit "display" and "platforms", "att" hit "pattern" and "attention", and "dma" hit "admin". On the live feed, 86 items landed under License Agreement and 21 under App Tracking Transparency. Matching now runs on the visible text. Terms shorter than 8 characters match as whole words with an optional plural, and a version may follow ("WCAG2.2"). Longer terms still match inside identifiers such as
NSCameraUsageDescriptionandCLLocationManager. License Agreement drops to 14 genuine agreement and terms posts, and "vulnerabilities" and "in-app purchasing" still match.AI policy monitor feed items are reduced to plain text before matching, so a keyword inside a link target no longer counts (adopts #954, with the test it lacked). Atom title, summary and content are stripped only when their type is html or xhtml, so a plain-text field keeps its angle brackets (RFC 4287 section 3.1.1). A MIME type such as text/html or application/xhtml+xml is honored, XHTML inline elements (span, b, a and the like) run on while every other element keeps a space around its text, and an entry's summary and content both count. A MIME parameter such as
; charset=utf-8is ignored, binary content is not searched, script and style text never counts in XHTML content, an extension element from another namespace never stands in for the feed's own title or summary, an RSS title has its entities decoded but its angle brackets kept (in both monitors), and inline HTML tags join their text instead of splitting words. Both monitors strip comments and tags in one linear pass. A quote inside a comment can neither leak markup nor swallow the text after it, a<!--inside a quoted attribute is not read as a comment, and the endings browsers accept (<!-->,<!--->,--!>) close a comment the way a browser closes it. CDATA sections andtextareaortitlecontent stay visible text, an unterminated<!xdeclaration ends at the end of the input, and tag names and delimiters are matched as ASCII the way HTML does, so a non-breaking space or a dotless i cannot change what counts as visible.Accessibility audit (#834). A SwiftUI Button whose label shows an
Image(systemName:)with no Text, Label or accessibility label is now reported as a possible icon-only Button under APPLE-ACCESSIBILITY-VOICEOVER, in the trailing closure,label:closure, and inlinelabel:argument forms, written asButtonorSwiftUI.Button, includingButton(role:) { action } label: { ... }where the first closure is the action. The whole label closure counts, by design. The audit reads code without running it, so a Text anywhere in the label hides a possible icon-only Button and an unused Image can raise one. The README states this limit, and tests pin it. Swift regex literals in the #/.../# form are skipped, inside string interpolation too, and a backslash-escaped delimiter inside one does not end it early. Scanning stays fast on hostile input (nested Buttons, nested labels, nested modifiers, long chains of local bindings), and string interpolation of any depth is walked with an explicit stack instead of recursion. Only the Button's own modifier chain can supply the label, never a sibling on the same line, and a modifier with several trailing closures (.contextMenu { } preview: { }) does not end the chain early. A Button titled by a variable, a Button inside one or more parentheses, a spaced member dot,#ifblocks between modifiers, escaped names in backticks,.accessibility(label:),.accessibility(hidden: true),.accessibilityRepresentationand.accessibilityHidden((true))are all read, and a label withisEnabled: falsedoes not count. Comments, nested comments, raw strings and multiline strings are ignored, so a Button that only appears in text is not a control. The haptics rule fires only on a real.onTapGestureorButton, and is LOW and labelled advisory because neither WCAG 2.2 nor EN 301 549 requires haptics. An unknown--ruleused to print Clean and exit 0. It now exits 2 and lists the known rules.iPhone Duo App Store assets (#724). The docs said App Store Connect did not accept Duo screenshots yet. Apple opened Duo submissions and screenshots on 5 October 2026, with a product page badge for apps that upload them, and set April 2027 for Duo screenshots to become required for apps using the iOS 27.1 SDK or later, the scope Apple's screenshot specification page states. PLATFORM-MECHANICS section 1.8, the checklist, the gap analysis open item, and the Duo launch deadline now say so, and a new deadline APPLE-IPHONE-DUO-SCREENSHOTS-REQ (tracked as 1 April 2027, month only) carries the requirement. Read from Apple on 15 October 2026.
EU alternative payments. Under Attachment 14, in force 1 October 2026, an EU app may combine Apple In-App Purchase, alternative payment processing and out-of-app offers. The EU doc, the checklist and the DMA deadline still said they could not be mixed. They now state Apple's current terms. In-App Purchase is shown at the same time and at least as prominently, the chosen options stay in place across EU storefronts for 12 months, the entitlement is the StoreKit External Purchases or Offers Entitlement, and reporting runs through the External Purchase Server API on OS 26.4 or later. Ask to Buy is no longer listed as a lost capability, because Apple's page does not list it. The checks now include Apple's child safety rules (parental gates for minors, no out-of-app purchase on a website for Kids category apps, no out-of-app offers at all for the youngest users, higher age thresholds where a storefront sets them), the rule for apps that offer only alternatives, and the payment entitlement's own minimum OS versions. Read from Apple on 15 October 2026.
The European Accessibility Act duty is attributed to Directive (EU) 2019/882 Article 13(2) and Annex V, the service information published in the general terms and conditions or an equivalent document (#832). The previous text cited EN 301 549 Annexes B and C, which are the functional performance mapping and the conformance method, and used the term accessibility statement, which belongs to the public sector directive 2016/2102. Corrected in the EU doc, the pre-submission checklist, the deadline entry, and the timeline.
Sanctions section 3.5 no longer lists Syria as an embargoed territory, from #967 by @omaralbeik. The OFAC program ended on 1 July 2025 and the terrorism designation was rescinded effective 24 August 2026. The section now says what still applies, the Commerce license requirement in 15 CFR 746.9 with its exceptions, and the Part 569 blocking with its 50 percent ownership rule. The checklist gains a Syria export-control line.
Required screenshot size. The docs said the 6.9 inch iPhone set is the required one. Apple's specification page now requires at least one screenshot for iPhone with Dynamic Island (medium display), plus one iPad 13 inch screenshot when the app supports iPadOS. PLATFORM-MECHANICS and the checklist say so. Read from Apple on 15 October 2026.
EAA microenterprise exemption. The EU doc said accessibility funding removes the exemption. Article 4(5) carries no such condition. The funding rule is Article 14(6), which bars only the disproportionate burden defence. An unsourced claim of no grace period was removed, and the source is now the Directive itself.
EN 301 549 V4.1.1 was described as expected in 2026. ETSI has published it (file dated 2 September 2026). The doc says so, without claiming an Official Journal citation under the EAA.
verify-citations.pyreported six live ftc.gov citations as dead, because ftc.gov answers automated clients with 404, even for its homepage. Each page was read in full on 15 October 2026 and the six URLs moved into the allowlist next to the other government sites that block automated checks. Three deliberate test fixture URLs moved into the allowlist too.test-deadline-checker.pyleft a file handle open (from #980 and #914).The EU doc said Attachment 14 is accepted in App Store Connect and that EU submissions are blocked without it. Apple's DMA page says the Account Holder accepts it in the Apple Developer account, and that acceptance unlocks the alternative payment entitlement and distribution tools. It says nothing about blocked submissions, so neither does the doc now.
monitor.pyfell back to built-in sample announcements without a word when Apple's feed could not be reached. It now says so on stderr.metadata-audit.pyon a folder with no listing files, or on a path that does not exist, exited 0. It exits 1 and names the files to add.release-audit.pyran silently for about two minutes. It now labels its two steps and says how long the first takes.README said four sibling monitors and listed eight commands, showed the manual audit as a relative path, and promised a "clear to submit" line the guard never printed.
Guard submit detection (#836). In hook mode a custom fastlane lane (
fastlane ios beta,bundle exec fastlane release), a Gradle Play Publisher task (publishBundle,publishReleaseBundle),easwith a flag before the subcommand, and a submit wrapped in a package script or a make target all passed with no scan. They are now matched, a lane by its name or by an upload action in its Fastfile block, a wrapper one level deep. A second attack pass added package manager options beforerun(pnpm --dir,npm --prefix),make -f, legacyexpo upload, and a lane or Gradle task held in a shell variable, which is scanned because it cannot be read. Lane names are matched on whole words, sorestore_statestays silent, andnpm install bundletoolno longer triggers a scan. 45 new tests pin what blocks and what stays silent.gh workflow runand deeper nesting remain out of reach (#837).The guard ignored PowerShell tool payloads, so Claude Code on Windows never triggered it. It reads them now.
guard.sh /missing/pathexited 0, which read as a clean pass for a path that was never scanned. It exits 1 and says the path is not a directory.Without python3 the guard printed a raw command-not-found error at the deadline step. It now says the deadline list was skipped.
The guard report printed every deadline in full, about 170 lines, ahead of the findings. It prints one line per open deadline and the command for the full list.
verify-citations.py --fileswith a path that does not exist printed "no URLs found" and exited 0. It exits 2 and says nothing was checked. The README step that ran it from the wrong directory is corrected.The pre-submission checklist still described the Play Billing v8 and target API 36 floors as upcoming. Both are stated as in force since 31 August 2026 with the extension date.
Bot PR review, 30 September 2026. The 97 scheduled Jules PRs opened since 19 September were triaged. 38 carried an empty commit. The other 59 were reruns of the same 12 jobs (the release audit branches add an untested report flag and a dated snapshot, and two of them rewrite a tracked doc on every run), each reviewed against master with tests run and added citations checked live. Four small parts were adopted with a test each. the Apple monitor keywords from #812, the pyenv-safe python lookup in the guard gauntlet from #810, the AI monitor word stems from #779, and the accessibility CI step from #819. Every PR was closed with its reason. No dated report was adopted. The reports again presented the monitors' sample announcements as verified findings, one stated the vacated FTC click to cancel rule as mandatory, one gave 17 February 2025 for the Digital Services Act where Article 93 says 2024, and two cited Apple API names that do not exist.
The deadline checker and the timeline counted days from the current time of day, so a deadline read as 1 day overdue on its own date and every upcoming count was one day short. Both now count whole UTC calendar days. The timeline generator accepts DEADLINES_FILE and TIMELINE_OUTPUT_FILE, so its tests no longer need to swap the real data file.
monitor.py --simulate allreached 24 of the 25 Apple tracks. The AI-related track matched none of its own sample text. It now matches, and the test counts all 25 tracks instead of spot-checking three.The AI policy monitor matched whole words only, so "disclose" and "policies" in an announcement never produced the disclosure and Play policy topics. It now matches on stems.
verify-citations.pywalked hidden tool-state directories, so a local browser log under .gstack produced 49 false failures. Hidden directories other than .github are skipped. The two fixture URLs in the guard gauntlet are allowlisted as fixtures.pull-metadata.shpiped the Play listings into a python heredoc, which replaces stdin, so the listing pull always failed to parse. The listings now travel in the environment. Not run against the live Play API.docs/REGULATORY-GAP-REPORT-2026.md and the GLOBAL-REGULATORY state table cited Louisiana HB 570, which never takes effect. Both now cite HB 977, Act 185 of 2026, as the deadline data already did.
The Quebec Law 25 line cited only a vendor blog. It now cites the Commission d'accès à l'information page, states the administrative penalty maximum that page gives, and says plainly that the penal fine maximum was not read on the statute.
release-audit.pygiven a path that does not exist fell back to auditing this playbook and printed a BLOCKED verdict for it. It now rejects the path before any scan.CI never ran the accessibility audit test suite or a validator test. It runs both now.
Bot PR review, 19 September 2026. The 58 open scheduled Jules PRs were triaged. Five carried an empty commit. The other 53, reruns of 13 jobs, were each reviewed against current master with tests run and every added citation checked live. The durable parts of eight were adopted with corrections (#684, #691, #693, #698, #700, #706, #718, #727) and every PR was closed with its reason. None of the dated snapshot reports were adopted. Several presented the monitors' sample announcements as verified official sources, cited EN 301 549 and WCAG clauses that do not exist or sit at another level, or stated the vacated FTC click to cancel rule as in force.
The policy monitors now write the simulated-output notice themselves whenever they used sample data, so a regenerated report or PR draft can no longer drop it, and the notice names the real --mock and --live flags. monitor-privacy --live appended the sample announcements to real feed items because --mock defaulted to inline. Tasks repeated in the Android, security, and privacy reports are deduplicated.
The Android monitor told developers to adopt the Privacy Sandbox Topics and Attribution Reporting APIs. Since October 2025 Google has scheduled both for phase-out on Android. Its minSdk, generative AI, and foreground service tasks now match Play policy text.
scripts/monitor.py and docs/PLATFORM-MECHANICS-2026.md cited Apple news ids that Apple never published. Both now cite the 3 February 2026 Upcoming SDK minimum requirements post.
release-audit.py counted deadline-checker lines as findings, so a two-file app reported 14 critical issues. It now reports the 4 real ones.
CI now runs the monitor, timeline, deadline checker, and release audit test suites, which were never run before.
The scanner pooled its findings across every app under the project root (#612). A rule asked whether the tree held the risky symbol and whether it held the mitigating one, and a clean sibling app answered for a broken one. The guard now discovers app roots (an Expo, React Native, Flutter, or Capacitor app, an Android project, an Xcode project) and when two or more exist below the project root, or the root is itself a framework app with nested framework apps, each is scanned on its own with its own
App.section, platform line, and findings under the singleProject.header. A platform folder named ios or android is part of the app above it. A Swift package, a Flutter package or plugin, a React Native module, a Heroku app.json, a test fixture, and anything under Pods, node_modules, build, dist, or vendor never count, and a nested demo Xcode project under a root native app stays part of that app. A single app produces byte-identical output to before. Platform detection stopped at find depth 4, so an app at packages/mobile/app/ios reported iOS=0 and the whole Apple ruleset was skipped. It now reaches depth 12, the same reach as the privacy manifest probe. The source scan ran a grep over every file for each of its 115 checks. It now concatenates every text file once and greps that blob, with a per-run end marker that proves the write completed and a per-file fallback when it did not, so a real 700-file iOS repo scans in 19 seconds instead of 28 with a byte-identical report. The two probes that read the whole tree directly (privacy manifest presence and R8 minification) honour the same app boundary, the find prune escapes glob characters in an app name, a project path that is itself a symlink is walked through its target instead of scanning empty, and the temp file pair is created once and removed on exit. 57 new test cases, 184 total, pinning every counterexample from three adversarial review rounds and three independent reviewer passes, including a no-Gradle R8 regression that the byte comparison against the previous guard caught and the tests had not.The guard's hook-mode payload parser was not JSON-aware (#610, reported and measured by mj-deving). The regex extraction stopped at the first escaped quote, so
cd "$CLAUDE_PROJECT_DIR/apps/app" && npx eas submit --platform iosreduced to two characters and the guard exited 0 unscanned, and a backslash-newline continuation left the JSON newline escape literal, soeas submitsplit across two lines never matched. The command is now read from.tool_input.command(or a top-levelcommand) with jq, then python3, then a backslash-aware fallback when neither is installed. Backslash-newline continuations fold into one space, and bare newlines stay as separators, so a trigger split across two separate commands is never invented. In hook mode a block now writes the report to stderr, the only stream Claude Code shows on exit 2, so the reason no longer arrives empty. A pass stays on stdout and standalone mode is unchanged. An adversarial review of the fix added four more guards. the trigger is matched against the raw command with quote characters stripped, soeas "submit",bash -c 'eas submit', and a submit inside apython3 -cstring are all scanned, and only a single simple line led by an inert text command (echo,printf,grep,cat,head,tail,wc,sort,uniq,tee) with no substitution, pipe, or separator has its quoted spans and trailing comment blanked, so a plain echo or grep that mentions a submit never blocks whileecho "$(eas submit)"and agitalias still scan. jq and python3 are each probed with a trivial run and their real exit status is checked, so a present but broken interpreter (the macOS python3 stub without Command Line Tools, a stale pyenv shim, a jq that dies on real input) falls through instead of silencing the guard, while a payload python3 genuinely rejects as invalid JSON stays silent. A leadingcd <dir> &&, when it is the only directory change in the command and resolves inside the project, scopes the scan to that app, which is how an EAS monorepo submits. A payload whosetool_nameis not Bash, or that carries more than one JSON document, is never scanned. A hook timeout signal flushes the buffered report to stderr, and when no temp file can be created the report stays on stdout as before with only the block reason line added on stderr. 80 new test cases, including runs with jq and python3 removed from PATH, a present but broken interpreter on PATH, and every counterexample from four adversarial review rounds.The guard scanned Python virtualenvs, bundled web output under dist/, and lowercase test folders (test/, tests/, integration_test/) as app source. A virtualenv's vendored API JSON alone raised five false criticals on one Flutter project. Directories are now pruned by name below the project root only, which also fixes a project sitting under a folder named build being scanned as empty (#542).
Every
find | grep -q .pipeline exited 141 underset -o pipefailonce grep stopped reading and find died of SIGPIPE, so a project with more than one PrivacyInfo.xcprivacy (any CocoaPods or SPM project) was reported as missing its privacy manifest, and platform detection could miss a platform. The pipelines now drain their input, as release_string_has already did.ANDROID-USER-DATA-DISCLOSURE matched lowercase English words case-sensitively, so it fired on "files" in any documented repo and stayed silent on READ_CONTACTS. It now matches the permission constants and API symbols (#542).
APPLE-3.1.1-EXTERNAL-PAYMENT and GOOGLE-PLAY-BILLING only recognised native StoreKit and BillingClient symbols, which never appear in a Flutter, React Native, Expo, Capacitor, or Cordova app's source. The store purchase plugins for those frameworks now count.
APPLE-PRIVACY-NUTRITION-LABELS looked for NSPrivacyCollectedDataTypes but never read .xcprivacy files, where that key lives. They are now scanned.
BOTH-SUBSCRIPTION-HARD-CANCEL matched "call" inside "automatically", so "renews automatically until cancelled" read as an instruction to call. "call" and "write" now match as whole words.
ANDROID-USER-DATA-DISCLOSURE now keys off permissions declared in AndroidManifest.xml (contacts, SMS, call log, accounts, all files), the surface Play enforces prominent disclosure on. Bare API symbols matched imports, comments and vendored SDKs. READ_MEDIA_IMAGES and READ_MEDIA_VIDEO moved to their own high finding, GOOGLE-PHOTO-VIDEO-PERMISSIONS-DECLARATION, which stays silent when the Android photo picker is in use.
GOOGLE-TARGET-API read build.gradle through a bare ** glob, which without globstar only sees one directory level, so android/app/build.gradle was never inspected on a real project. It now reads every build.gradle in the source list, holds the API 36 floor Play enforces since 31 August 2026, and blocks like the rejection it predicts.
New GOOGLE-PLAY-BILLING-V8-REQUIRED. a com.android.billingclient:billing dependency below major version 8 blocks, since new apps and updates need Billing Library 8 from 31 August 2026.
Privacy manifest validator. findings Apple TN3181 lists as an invalid manifest (empty reason arrays, a missing or empty NSPrivacyAccessedAPIType, an empty NSPrivacyAccessedAPITypes array, wrong value types, incomplete collected data types) are critical, so they block like the upload rejection they predict. A plist with an unexpected shape is a finding instead of a crash into a silent pass, and a missing python3 surfaces as a medium finding instead of nothing.
dist/ is pruned as build output but src/dist is kept, since that is an Android product-flavor source set. A copied .pub-cache is pruned as vendor code.
The README install prompt and the one-time check prompt never asked the agent to walk the account and program readiness checklist or the 90-day regulatory deadline window, both of which a code scan cannot see. Both prompts now do.
docs/PLATFORM-MECHANICS-2026.md cited the wrong announcement id for the June 2026 Guideline 4.3 tightening and still said API 35. Now a233fmpw and API 36 with the 1 November 2026 extension.
docs/EU-REGULATORY-2026.md section 2.3 said the EU unified fee model was not implemented. It applies from 1 October 2026 (Core Technology Commission, Attachment 14).
Past-dated deadlines added in this sweep carry absorbed_into, so the deadline checker points at the owning pattern or doc section instead of reporting them overdue.
The guard scanned the working directory when an explicit project path did not exist. It now fails open.
The gauntlet's silent-case checks matched a bare pattern id anywhere in the output, so a deadline line naming that id could fail a silence test. They now match the finding line.
README, NOTICE, CITATION.cff, and CONTRIBUTING.md still described MIT, CC BY 4.0, or the retired ORA 1.0 sunset terms after the licence change. All four now state the same licence as LICENSE.
README listed no entry for docs/CROSS-PLATFORM-FRAMEWORKS.md, docs/PRIVACY-POLICY-MIGRATION.md, docs/SECURITY-POLICY-MIGRATION.md, docs/REGULATORY-TIMELINE.md, or the per-script test suites.
CHANGELOG claimed the README install prompt stars the repo and follows the author through the GitHub CLI. That step was removed in #140 and the prompt now explicitly forbids acting on the user's GitHub account.
scripts/verify-citations.py and its 10-case gauntlet. A citation provenance verifier. An HTTP 200 is not proof a page is real, because developer.apple.com serves a byte-identical news index for any unknown article id. The verifier fetches a deliberately bogus control id per host and flags any citation whose content fingerprint matches that control. It separates bot-blocked 4xx and host-fault 5xx from genuine fabrication so the gate stays signal rather than noise. Found and fixed six dead or fabricated citations already present in the repo.
scripts/monitor-privacy.py and its test suite. Mobile and web privacy requirements monitoring across Apple, Google, and EU sources. Selected from eight competing implementations on citation integrity, the five-way majority version carried nine fabricated citations each.
scripts/monitor-security.py and its test suite. Seventeen mobile security requirements, matched against real API symbols in your code rather than prose keywords. Selected over a longer rival that detected nothing against a fixture of real API symbols.
scripts/generate-timeline.py and its test. Compiles a chronological regulatory timeline from data/regulatory-deadlines.json, cross-referenced into the playbook's own docs. Additive over deadline-checker.py, which only prints a rolling 90-day window.
scripts/accessibility-audit-test.sh. A test suite for the existing accessibility audit, proven to go red when a rule is mutated.
data/regulatory-deadlines.json. EU e-Evidence Regulation (EU) 2023/1543, applying 18 August 2026, and the Distance Marketing of Financial Services Directive (EU) 2023/2673 withdrawal button, applying 19 June 2026. Both verified against EUR-Lex.
source.android.com/security/bulletin.xml returned 404. A live feed monitor-android.py and monitor-security.py fetched on every run, silently receiving nothing. Android Security Bulletins publish no RSS feed, so the dead call was removed and the canonical page cited instead.
masvs.owasp.org was a dead domain. Corrected to mas.owasp.org/MASVS.
Three developer.android.com paths returned 404 (privacy sandbox, Play Integrity deprecation guide, foldable devices). Corrected against live documentation.
support.google.com answer/113289 returned 404. Corrected to answer/10788890.
Two EDPB general guidance links returned 404. Corrected to the live guidelines page.
monitor.py mock announcements used realistic developer.apple.com/news links. Moved to the RFC 2606 .invalid TLD so a simulation fixture can never be mistaken for a real citation, which is how fabricated citations enter the corpus.
release-audit.py flagged its own generated readiness report as an affected file.
monitor-regulatory.py trust hierarchy strings drifted from AGENTS.md. Realigned.
53 duplicate PRs from a scheduled bot regenerating the same ~11 features were deep-reviewed, deduplicated to one verified merge per feature, and closed with a recorded verdict naming the superseding merge. Two PRs were disqualified outright for citing fabricated Apple/Google announcement URLs (live-verified against the real sources); one was disqualified for a reproducible hang bug from wiring an unbounded directory scan into the guard hook with no timeout.
deadline-checker.py's regulatory-deadlines path resolution silently skipped the whole deadline section when the guard hook is installed under the flat
~/.claude/hooks/layout instead of the nested repo layout. Now resolves under both.The Brazil Digital ECA effective date was corrected from an unverified 2025-03-17 to the live-confirmed 2025-09-17.
Seven scanner edge cases from the October review, each pinned by a test that failed first. The accessibility audit now reads a label closure wrapped in parentheses, such as
label: ({ Image(systemName: "trash") }), so the icon-only Button is reported, and its Image rule scans comment-free code, so// Example: Image("logo")is no longer a finding, while a view that blanks only comment lines (the code after a leading block comment that closes on its line still counts, even when a second block comment follows it, and a line led by*counts as a comment only inside a block comment, so a multiplication continuation line is still read, and a line inside a Swift multiline string, an escaped triple quote or a raw#"""string included, is never read as a comment, and a triple quote inside a//comment, inline or on its own line, never opens one, and a block comment runs on only through lines that look like comment lines, so any other line is read as code, and a line holding a\(interpolation, or a raw string's\#(, is never blanked) is read beside it, so a Swift regex holding a quote (/"/) never hides the Image after it while a real Image beside a comment that namesaccessibilityLabelnow is. The AI policy monitor prefers an Atom link withrel="alternate"or no rel overrel="self", resolves an inheritedxml:baseagainst the feed's own URL into the absolute URL, reads the RSS Content module body incontent:encodedfor keyword matching, and picks the date as published, then updated, then the RSS 1.0dc:date, whatever the element order. The Apple developer monitor joins inline markup the same way the AI policy monitor does, soL<em>LM</em>reads LLM.
1.0.0 (2026-06-06)
Added
- Apple App Store rejection map across guideline sections 1 through 5, every rule with its trigger and fix, plus the 2026 age rating and AI disclosure changes.
- Google Play rejection map across every policy, plus the four level enforcement ladder from rejection to account termination.
- Advanced 2026 layer. Privacy manifests, export compliance, payments and the DMA, the full legal layer (GDPR, EU AI Act, DSA, COPPA), gambling depth, AI content policy, and Android specifics.
- Mistake pattern taxonomy, the appeal playbook, and real rejection case studies.
- Cross store coverage. Huawei AppGallery, the Chinese stores, Samsung, Amazon, Microsoft, and RuStore.
- Open source patterns doc. The fastlane precheck rule set, the Android Play Policy Insights and security lints, and the Google Play pre-launch report.
- Competitive gap analysis of the other open source compliance repositories.
- A structured, AI loadable references tree. Rules by category and guidelines by app type, each rule carrying a concrete detection command, generated from the taxonomy.
- A machine readable rejection pattern taxonomy with 53 patterns and 46 detection recipes.
- A tested pre submission guard hook that blocks risky submission commands.
- A tested metadata audit engine that audits the live store listing with a propose and re validate loop, plus a pull wrapper for the asc CLI.
- A data validator that checks the taxonomy and recipes stay consistent, run in CI.
- A continuous integration pipeline that runs the validator, both test suites, and a references drift check on every push and pull request.
- An agent skill, a slash command, a review notes template, and a copy and paste install prompt.
- Apple and Android logos, a 2026 urgency section with current statistics, engagement calls to action, a contributor guide, four good first issues, and a credits file.
- Dual license. Code under MIT, content under CC BY 4.0, attribution compulsory.