Repository navigation
fix(asc-register): recurrenceDuration P1D → PT24H - #25
Merged
Merged
Conversation
Closes #24. ASC apply round 4 returned the only remaining error: recurrenceDuration: 'P1D' is not valid for the attribute. Expected an ISO 8601 duration with time components. P1D is date-only. ASC requires the T-prefixed form. PT24H expresses 24 hours, which is the canonical 'recurs every day' interpretation. Tests 350/350. 0 warnings.
wei18
added a commit
that referenced
this pull request
May 20, 2026
…dary (#30) Wire the elapsedSeconds × 100 conversion required by design.md §How.3.1 (ASC ELAPSED_TIME_CENTISECOND formatter, locked in by PR #17 + #21 + #23 + #25 + #27 ASCRegister API shape iterations). - LiveGameCenterClient.submitScore: compute Int64(elapsedSeconds) × 100; pass to SubmitScoreHook (default no-op for backward-compat). Public protocol signature unchanged — callers (GameCenterSink, Sink adapter) pass elapsedSeconds verbatim. - LiveGameCenterClientSubmitTests (NEW, 3 tests): - 251s → 25100cs - 0s → 0cs - 7200s (2h cap) → 720_000cs (matches §How.3.1 abandon rule) - Uses SubmitSpy actor to assert the conversion + leaderboard ID via LeaderboardIDs lookup, no GKLeaderboard wiring needed yet. Files NOT modified (verified clean): - GameCenterSink.swift — Int passthrough, no double-convert risk - GameStateTelemetryAdapter.swift — Int passes through - design.md §How.3.1 — already correct (× 100, mm:ss.SS, centisecond) - AppComposition/Live.swift — default-arg init means no call-site change Tests 352 → 355 (+3). 0 warnings. §未決 (2 deferred to Phase 10): live GKLeaderboard wiring + composition-root hook injection. Conversion itself locked by spy test. impl-notes: meetings/2026-05-20_submit-score-centisecond.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
wei18
added a commit
that referenced
this pull request
Jun 17, 2026
…es filed) (#542) Records this session's drivable-case sweep on the current sim: - pass: #5 rapid double-tap Leave, #28 zh-Hant strings (+ earlier #1/#2/#10/ #18/#25/#39 from #536 work) - fail: #22 Dynamic-Type header clip (#540), #34 timer accrues background time (#539) - pend w/ findings: #8 (near-win harness can't model home-return), #23 (digit-pad frames ≥44pt but glyphs render blank, #540), #29 (no tofu, but Purchases section unlocalized, #541) New issues: #539 (solve timer counts background time — leaderboard fairness), #540 (Dynamic Type AX3+ header/digit-pad breakage), #541 (Purchases/IAP section unlocalized; L10n gate misses catalog-less literals). Co-authored-by: Claude Opus 4.8 <[email protected]>
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 #24. Round 4 fix: ASC wants
recurrenceDurationwith time components (PT24H), not date-only (P1D). 2-line change. 350/350. 🤖 Claude Code