Repository navigation
chore(ascregister): config hygiene — fix counts, drop orphans, collapse dup parser - #927
Merged
Merged
Conversation
…se dup parser #757 wave-6 (4 low-severity ASCRegisterKit findings, one pass): - Config.swift comments said "13 achievements"/"13 short IDs" and "v2.6 batch (5)" — the array + ConfigConsistencyTests pin 11 (8 v1 + 3 v2.6), 680 pts. Corrected the three stale count strings (points total was already right). - Deleted orphan Config.allAchievementFullIds + AchievementConfig.stepCount (zero readers; stepCount was an unrelated GameCenterKit percent-progress concept, never in any ASC payload — grep-confirmed). - Collapsed the byte-identical APIResource.fromDict (private) + fromDictPublic (internal) into one internal fromDict; renamed fromDictPublic → fromDict (the ...Public suffix lost meaning once deduped) and updated all 5 call sites (incl. the cross-file ASCClient+IAPScreenshots caller). Zero behavior change (bodies were character-identical). Verified: ASCRegisterKit 169 tests + swiftlint --strict clean. Dual CR: APPROVE x2 (counts re-derived from the array/tests; orphans + no dangling fromDictPublic grep-confirmed; parser bodies byte-identical, all call sites resolve to the internal survivor). Part of #757 Co-Authored-By: Claude Fable 5 <[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.
What
#757 wave-6 ASCRegisterKit hygiene (4 low findings):
v2.6 batch (5)→(3); 680-pt total was already right).Config.allAchievementFullIds+AchievementConfig.stepCount(zero readers).APIResource.fromDict/fromDictPublicinto oneinternal fromDict(5 call sites updated).Verification
swiftlint --strictclean.fromDictPublicgrep-confirmed; parser bodies character-identical, zero behavior change.Part of #757
🤖 Generated with Claude Code