Console pages as absolute deep links: cli/lib/console-links.ts builds the URL of every App Store Connect / Play Console page from apple.appId, play.developerId and play.appId (app list / developer chooser when unknown); every plain 'App Store Connect > ...' / 'Play Console > ...' direction in cli/ and templates/ now carries it, validate / scan / declarations / release plan JSON carry url, the desktop shows an Open button; tests/console-links.test.ts guards it; AGENTS rule 11, pitfall 71

This commit is contained in:
CRTkafa 2026-10-15 19:55:37 +08:00
parent f898d642d0
commit e500e88e40
50 changed files with 381 additions and 92 deletions

View file

@ -822,3 +822,15 @@ that fails without the fix (see CONTRIBUTING.md).
and `firstProductGaps` in --json), `release status` and the desktop checks (`appleFirstProductWarnings`), `validate`
/ `release plan` (blocker), the `apple submit` plan (blocker); `iap-review` says "ready, not submitted yet";
`tests/first-products.test.ts`.
## 71. The owner was sent to a console page with plain directions
- **Symptom:** a message said "App Store Connect > App Information > Age Rating" or "go to Play Console" and the owner
had to find the app, the page and the card by hand.
- **Cause:** storebound's findings, fix hints and errors named console pages as text paths (40+ in cli/), without the
app's URL.
- **Do:** when you send the owner to a console page, give the absolute deep link (storebound prints it; `storebound
console plan` has start URLs), never just "go to App Store Connect". Set apple.appId, play.developerId and
play.appId so links open the app's own page instead of the app list.
- **Guard:** `cli/lib/console-links.ts` (every page key, absolute URL with and without ids; `url` in validate / scan /
declarations / release plan JSON, an Open button in the desktop) and `tests/console-links.test.ts`, which fails on a
console path in cli/ or templates/ without an https URL.