Skip to content

Add App Store Connect domain skill#391

Open
gorikfr wants to merge 1 commit into
browser-use:mainfrom
gorikfr:skill/appstoreconnect-domain-skill
Open

Add App Store Connect domain skill#391
gorikfr wants to merge 1 commit into
browser-use:mainfrom
gorikfr:skill/appstoreconnect-domain-skill

Conversation

@gorikfr
Copy link
Copy Markdown

@gorikfr gorikfr commented May 26, 2026

What

Adds a domain skill for appstoreconnect.apple.com under agent-workspace/domain-skills/, capturing how to drive ASC reliably via browser-harness. Three files:

  • _architecture.md — the durable gotchas that apply across ASC pages:
    • ASC is two UIs at once: modern Angular/React SPA pages (left-sidebar nav lives in shadow DOM) vs. legacy WebObjects pages embedded in a same-origin iframe. How to tell which you're on, and how to reach the real elements in each.
    • A shadow-root deep-walk snippet for locating SPA nav items.
    • The multi-tab targeting pattern: with several tabs open the daemon's default target may not be the ASC tab — pin every call with cdp("Target.getTargets")js(..., target_id=...) / Target.activateTarget.
  • promo-codes.md — minting one-time-purchase promo codes (no API exists; iframe-only):
    • The "N of 100 remaining" counter is optimistic and updates on input — the History tab is authoritative for whether codes were actually generated (prevents double-minting / burning the 100-per-version quota).
    • The quantity field clamps to the max if mis-cleared; the agreement checkbox is a styled span.itc-checkbox whose hidden input may not trip the enable logic.
    • Codes can be scraped straight from the View-Codes modal DOM ([A-Z0-9]{12}) — no file download needed.
  • pricing-and-availability.md — reading per-storefront prices (Apple's auto-equalized non-base outliers are normal), and verifying the 174/175 "availability never affirmatively set up" trap after release.

Notes

  • Off by default — only surfaces under BH_DOMAIN_SKILLS=1.
  • No pixel coordinates, secrets, or task narration — the durable site shape only, per the domain-skill guidance.
  • Assumes a pre-authenticated session; documents stopping at the Apple ID / 2FA wall rather than entering credentials.

Summary by cubic

Adds a new domain skill for appstoreconnect.apple.com that documents reliable browser-harness control across modern SPA pages and legacy WebObjects iframes. Clarifies multi-tab targeting, shadow DOM navigation, and DOM-based actions to reduce flaky coordinate clicks.

  • New Features
    • Adds agent-workspace/domain-skills/appstoreconnect.apple.com/ with _architecture.md, promo-codes.md, and pricing-and-availability.md.
    • _architecture.md: explains SPA vs. iframe pages, shadow DOM deep-walk, and pinning the correct tab via Target.getTargets + js(..., target_id=...).
    • promo-codes.md: end-to-end minting in the legacy iframe; warns about the optimistic counter; uses History tab as source of truth; shows DOM scraping of codes.
    • pricing-and-availability.md: reading per-storefront prices (auto-equalization is normal) and verifying availability is set for all 175 regions post-release.
    • Behind BH_DOMAIN_SKILLS=1; assumes a pre-auth session and stops at Apple ID/2FA prompts.

Written for commit a9e5bc8. Summary will update on new commits. Review in cubic

Documents how to drive appstoreconnect.apple.com via browser-harness:
- _architecture.md: the two-eras UI (modern SPA with shadow-DOM nav vs.
  legacy WebObjects iframe), shadow-root deep-walk, and the multi-tab
  targeting pattern (Target.getTargets -> js(target_id=...)).
- promo-codes.md: minting promo codes through the legacy iframe — the
  optimistic remaining-counter vs. authoritative History tab, the
  100/version quota clamp, the styled span.itc-checkbox agreement, and
  scraping codes from the View-Codes modal DOM.
- pricing-and-availability.md: reading per-storefront prices, Apple's
  auto-equalized outliers, and verifying the 174/175 "availability never
  set up" trap after release.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant