Skip to content

ASC apply round 8 — INVALID_POINTS_RANGE: achievements must be 0-100 per Apple #40

Closed

Description

@wei18

Round 8 of apply: 25/33 actions succeeded (all leaderboards + localizations). First achievement POST failed:

status: 409  path: /v1/gameCenterAchievements
code: ENTITY_ERROR.INVALID_POINTS_RANGE
detail: You must provide points between 0 and 100 for an achievement.
source.pointer: /data/attributes/points

Our current points (design.md §How.3.2):

  • first_puzzle: 10 ✓
  • daily.complete_one: 20 ✓
  • daily.streak_3: 50 ✓
  • daily.streak_7: 100 ← at boundary (Apple says 'between 0 and 100' — may or may not include 100)
  • practice.complete_10: 30 ✓
  • practice.complete_100: 100 ← at boundary
  • hard.master: 150 ← EXCEEDS
  • daily.sweep: 90 ✓

Total: 550.

Fix proposal

Cap hard.master at 100 (matches Apple's max). Total drops to 500.

If Apple rejects 100 itself (exclusive range), lower the two 100-pt entries to 99 or 95.

Files:

  • Packages/SudokuKit/Sources/ASCRegister/Config.swift — AchievementConfig.hard.master points 150 → 100
  • docs/design.md §How.3.2 — points table updated; total 550 → 500; add note about Apple's 0-100 per-achievement cap
  • Packages/SudokuKit/Tests/ASCRegisterTests/ConfigConsistencyTests.swift — pointsBudget test updated (550 → 500)

§未決

If 100 itself is rejected on round 9, we iterate (try 95 across the 3 boundary entries).

Discovery

swift run ASCRegister apply 2026-05-20 round 8. 25/33 actions succeeded before the first achievement create errored.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions