Repository navigation
fix(asc-register): cap hard.master achievement at 100 points - #41
Merged
Merged
Conversation
Closes #40. ASC round 8 returned INVALID_POINTS_RANGE on first achievement POST: 'points between 0 and 100'. Our hard.master = 150 exceeded. Changes: - Config.swift: hard.master 150 → 100 - design.md §How.3.2: table row + total 550 → 500 + v2 budget recomputed + note added re Apple's 0-100 per-achievement cap (issue #40) - feature-tour.md: promo copy aligned (total + Hard description) - ConfigConsistencyTests: pointsBudget 550 → 500 + new pointsRange test asserting every entry ∈ [0, 100] as regression guard §未決 (logged): whether 100 is inclusive. Three entries (daily.streak_7, practice.complete_100, hard.master) now sit at boundary. If round 9 still rejects with 100, lower those three to 95 (total → 485). 363 → 364 tests (+1 regression guard). 0 warnings. impl-notes: meetings/2026-05-20_asc-achievement-points-cap.impl-notes.md
wei18
added a commit
that referenced
this pull request
May 20, 2026
…M8) (#51) Closes 7 audit findings from the 3-reviewer sweep: B5 setup.md clone URL: Sudoku.git → Sudoku-spec.git (sibling Sudoku/ repo merged in 2026-05-17 per README L8) B6 design.md §How.3.3 protocol block: full rewrite to mirror actual GameCenterClient.swift signature. submitScore now takes (puzzleId:elapsedSeconds:difficulty:leaderboardKind:); new LeaderboardScope 3-case enum; PlayerSummary.teamPlayerId; AchievementProgress struct; GameCenterError actual cases. B7 §How.3.1 ↔ §How.3.3 contradiction: §How.3.3 now centisecond / mm:ss.SS / 720_000 cap (matches §How.3.1 + PR #25/#41/#17 trail). Sink pseudocode in §How.3.3 calls submitScore(elapsedSeconds:) with 7200s guard. M2 §Decisions populated with 14 high-impact entries citing meeting logs + PRs/issues. OS floor / single repo / deterministic generator / CloudKit Private-only / centisecond / PT24H / 7200s cap / 8 ach 500pt / no offline queue / Practice not GC / cross-day skip / AppRoute 7 cases / 7 locale / native GameCenter switch in flight. M3 §How.5.2 AppRoute rewritten to actual 7-case enum + footnote about issue #49 .leaderboard removal in flight. M7 methodology.md skill matrix: +9 rows (6 new project-local skills + 3 promoted from prose to matrix). New 協作/Review/Spec orchestration sub-group. M8 feature-tour.md L70 336+ → 364; plan.md sweep of stale 'Sudoku-spec/' two-repo references (4 sites collapsed). §未決 logged for Leader follow-up: - §How.3.5 + §How.5.1 still reference old LeaderboardScope case names — queue as Wave 1.5 or fold into #49 IMPL (which will remove fetchLeaderboardSlice / Slice anyway per Path 5a's reduced-scope variant). No code touched. No regression risk. impl-notes: meetings/2026-05-20_audit-wave-1-docs-sweep.impl-notes.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #40. Apple's 0-100 per-achievement limit. hard.master 150→100; total 550→500. design.md + feature-tour.md kept in sync. §未決: whether 100 itself is inclusive — iterate to 95 if round 9 still rejects. 364 tests.
🤖 Claude Code