You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENTITY_ERROR.ATTRIBUTE.TYPE
scoreSortType: 'ASCENDING' is not a valid value. Expected one of: 'ASC', 'DESC'
ENTITY_ERROR.ATTRIBUTE.REQUIRED
submissionType: You must provide a value for the attribute 'submissionType'
```
`recurrenceRule = "DAILY"` was accepted (guess validated).
Fix
`Packages/SudokuKit/Sources/ASCRegister/Config.swift`: `LeaderboardConfig.sortOrder` value `"ASCENDING"` → `"ASC"` (still ascending = lower-better, matches design.md §How.3.1 "Low to High"). Verify with consistency test.
`Packages/SudokuKit/Sources/ASCRegister/Config.swift`: Add `submissionType: String` field to `LeaderboardConfig`. Best-guess value:
`"BEST_SCORE"` — keep user's best time (matches sudoku semantics: improving your record matters; new worse times shouldn't pollute)
Alternative: `"MOST_RECENT_SCORE"` — replace each submission. Rejected because users would lose their best.
`Packages/SudokuKit/Sources/ASCRegister/ASCClient.swift` `createLeaderboard`: add `"submissionType": config.submissionType` to the attributes block.
Test: extend `ConfigConsistencyTests.swift` with one assertion per new field (sortOrder == "ASC", submissionType == "BEST_SCORE" across all 3 boards).
Risk
`"BEST_SCORE"` is a best guess. If ASC rejects, try `"BEST"` or check error response for the actual enum set (likely surfaces in 409 body the same way previous rounds did).
Discovery
Via `swift run ASCRegister apply` 2026-05-20 (Phase 10 A2).
Activity
fix(asc-register): sortOrder ASCENDING→ASC, add submissionType=BEST_S…
fix(asc-register): sortOrder ASCENDING→ASC, add submissionType=BEST_S…
chore(workflows): seed .claude/workflows/ cohort + refresh CR core mo…
docs(test-plans): Phase 3 — #18 safe-area pass + flag resume-family e…
docs(test-plans): Phase 3 iCloud-unlocked batch — +4 pass, resume bug #…