Skip to content

chore: upkeep wave 2 for #757 triage — friend-list plist key, print→telemetry, prototype re-tags, doc counts - #827

Merged
wei18 merged 1 commit into
mainfrom
chore/757-upkeep-wave2
Jul 16, 2026
Merged

wei18 merged 1 commit into
mainfrom
chore/757-upkeep-wave2

Conversation

@wei18

@wei18 wei18 commented Jul 16, 2026

Copy link
Copy Markdown
Owner

What

The 6 accepted rows from the #757 triage comment pinned to Generated 2026-07-14T21:06:06.381Z, plus two review-surfaced cleanups in the same files.

Highlights

  • MS friend-list usage string: NSGameKitFriendListUsageDescription added to MS's Info.plist (key name taken from Sudoku's plist — the report and an earlier research note disagreed on the spelling; the plist is truth). MS ships the feat(settings): Share App + Write a Review rows; GC invite-friends row (iOS 26+) #744 invite-friends surface, so the prompt without a usage string is a review/TCC risk.
  • Localized properly in BOTH apps via InfoPlist.xcstrings (7 locales), mirroring the proven NSUserTrackingUsageDescription (feat(att): Path B follow-ups — priming timing + localized NSUserTrackingUsageDescription #371) shape: plist literal as base fallback, catalog carries the localizations. Reviewer verified the new entries are structurally identical to the shipping ATT entry.
  • Deleted an orphaned dead string: Sudoku's Localizable.xcstrings had carried a fully-translated copy of the same friend-list string keyed by its English value since f728a1c (2026-06-08) — Info.plist never reads that catalog, so those translations were dead on arrival. Same bug class this wave fixes for MS; found by the code review of this commit's own first cut (which had made exactly that mistake for MS before it was corrected).
  • print→telemetry: bootMonetization's success branch printed to stdout while its failure branch already used Telemetry. Now TelemetryEvent.bootStepSucceeded, OSLogSink-mapped at .info/public (BootStep is a closed ump/att/adMob enum, no PII). Zero production print() left in Packages.
  • Prototype Stats re-tags (feat(shell): Statistics screen v1 from PersonalRecord (adopted proposal) #773/feat(stats): per-app Statistics screen v1 from PersonalRecord (Home entry) #820) per each file's own SUPERSEDED-note convention, mocks untouched; doc counts (SnapshotMatrix total 50→58 + its stale §4 header; designs/README 25-images citation).

Verification

scan:l10n green (the gate caught the fixture drift from the orphan deletion — regenerated) · plutil -lint both plists · TelemetryKit 32/32 · GameAppKit 35/35 · SudokuKit l10n/InfoPlist filters 7/7 · swiftlint --strict clean · both prototypes parse · tuist generate OK.
Adversarial code review: APPROVE — catalog mechanism independently verified against the ATT precedent, all 7 translations checked per-locale (incl. Korean particle agreement), telemetry exhaustive-switch wiring confirmed, doc counts independently recounted.

Part of #757 (the upkeep issue stays open; its body regenerates nightly).

🤖 Generated with Claude Code

…elemetry, prototype Stats re-tags, doc counts

The 6 "Accepted — fixing" rows from the #757 triage comment pinned to
_Generated 2026-07-14T21:06:06.381Z_:

- App/Minesweeper/Info.plist: add NSGameKitFriendListUsageDescription
  (key name taken from Sudoku's plist, which is the truth — the report's
  and an earlier research note's spellings disagreed). MS ships the #744
  invite-friends surface and reads the shared GameCenterKit friends scope,
  so the usage string is required; without it the prompt is a review/TCC
  risk.
- App/{Minesweeper,Sudoku}/Resources/InfoPlist.xcstrings: localize that key
  to all 7 locales in BOTH apps, mirroring how NSUserTrackingUsageDescription
  is handled (#371): plist literal stays as the base fallback, the catalog
  carries the localizations.
- App/Sudoku/Resources/Localizable.xcstrings: delete an orphaned, fully
  translated copy of the same friend-list string keyed by its English value
  (added f728a1c, 2026-06-08). Info.plist usage strings are never read from
  Localizable.xcstrings, so those translations have been dead since the day
  they landed — the exact bug class this wave fixes for MS, found by the
  code review of this commit's own first cut. Its brand-name handling also
  diverged (數獨/数独 vs the catalog's own convention of leaving "Sudoku"
  untranslated, per the neighbouring ATT string); the live InfoPlist entry
  follows the convention. Fixture regenerated accordingly.
- GameAppKit MakeGameApp+Helpers.swift: the bootMonetization success branch
  printed to stdout while the failure branch already funnelled through
  Telemetry. It now observes a new TelemetryEvent.bootStepSucceeded, mapped
  in OSLogSink at .info with public privacy (source + step are stable
  taxonomy strings — BootStep is a closed ump/att/adMob enum, no PII).
  This was the only production print() left in Packages; there are now zero.
- docs/designs/sudoku-app-flow.prototype.html +
  docs/minesweeper/minesweeper-app-flow.prototype.html: re-tag for the
  Statistics screen (#773, shipped #820) per each file's existing
  SUPERSEDED-note convention — header meta + Home flow-sub, mocks untouched.
- docs/designs/code/SnapshotMatrix.md: the stale "Total target: ≈50
  (21+16+13)" line contradicted the file's own Coverage summary; corrected
  to 58 (21+13+17+7). §4's header count (6) was stale against its 7 rows —
  corrected in passing since it sits inside the same contradiction.
- docs/designs/README.md: the "25 images" citation predates the matrix's
  growth; now points at the Coverage summary and notes the 25 figure is a
  historical v1 lock.

Verification: scan:l10n green (2 catalogs, 7 locales, 0 placeholders — the
gate caught the fixture drift from the orphan deletion and it was
regenerated); plutil -lint clean on both plists; TelemetryKit 32/32;
GameAppKit 35/35; swiftlint --strict clean; both prototypes parse; tuist
generate succeeds.

Part of #757.

Co-Authored-By: Claude Fable 5 <[email protected]>
@wei18
wei18 enabled auto-merge (squash) July 16, 2026 04:39
@wei18
wei18 merged commit ded6449 into main Jul 16, 2026
4 checks passed
@wei18
wei18 deleted the chore/757-upkeep-wave2 branch July 16, 2026 04:39
wei18 added a commit that referenced this pull request Jul 16, 2026
…type Remove Ads re-tag, SettingsView header comment (#833)

Triage (pinned to 2026-07-15T21:04:32.553Z report, posted as an issue comment)
classified 5 findings as no-action (NSGameKitFriendListUsageDescription already
fixed by #827, preview-screenshot placeholders and AppIcon manifests are
established won't-fixes/re-detects, Agents.md is a symlink false positive) and
1 as a real drift needing its own follow-up issue (SettingsView wrapper
structural divergence + Settings.bundle Root.plist duplication — a refactor,
not a text fix).

Fixes 3 accepted doc/text items:
- docs/app-store/screenshots/README.md + docs/app-store/screenshot-strategy.md:
  both claimed iPad baselines don't exist / are unwired, contradicted by #506
  (on-disk iPad PNGs + mise-tasks/store/screenshots MAP wiring). Corrected the
  tables — iPad baselines are already 2064x2752 RGBA, ASC-exact on dimensions,
  only the alpha channel remains unaddressed like iPhone/Mac.
- docs/minesweeper/minesweeper-app-flow.prototype.html: SHIPPED Entry & Home
  prose still described a "Remove Ads card" as present on Home; removed in
  SDD-003 Epic 7. Reworded to match Sudoku prototype's already-corrected
  convention for the same paragraph.
- Packages/MinesweeperKit/Sources/MinesweeperUI/SettingsView.swift: header
  comment claimed it wraps GameShellUI.SettingsShellView; it wraps
  SettingsUI.SettingsScreen. Fixed the one line.

Part of #757.

Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant