Skip to content

chore(upkeep): fix skill counts, prototype tags, noop spelling, plist order (#934) - #958

Merged
wei18 merged 3 commits into
mainfrom
chore/upkeep-934-sweep
Jul 28, 2026
Merged

wei18 merged 3 commits into
mainfrom
chore/upkeep-934-sweep

Conversation

@wei18

@wei18 wei18 commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Part of #934

Five small, independently-verified findings from the #934 upkeep triage (pinned comment 2026-07-27T21:15:49.763Z), fixed with a surgical diff — no scope creep, no shared/contested files (Packages/GameCenterKit, SudokuAppComposition, docs/foundations.md, docs/v1/plan.md untouched per the concurrent #955 work).

Items (triage classification: all verified findings, actionable)

  1. Skill count 9→8 — CLAUDE.md §Where truth lives claimed "9 project-bound skills"; actual count under .claude/skills/ (excluding the apple-dev-skills submodule) is 8. screen-contract-spec moved out to the design-app playbook 2026-07-21 (6e5b1a2). Agents.md symlink untouched.
  2. Same stale count in the apple-dev-skills spec doc — docs/superpowers/specs/2026-06-24-apple-dev-skills-shared-plugin-design.md (AS-BUILT NOTE, architecture diagram, §5 header) corrected 9→8, with a new dated UPDATE (2026-07-28) note in the doc's own established correction style — preserves the historical 2026-07-13 "corrected to 9" record instead of overwriting it.
  3. Prototype re-tag (recurring audit finding) — both docs/designs/sudoku-app-flow.prototype.html and docs/minesweeper/minesweeper-app-flow.prototype.html still labeled the board→completion transition "push .completion". Shipped reality: completion mounts as an in-board overlay, not a stack push; the pushed .completion route serves only the daily re-view (follow-up(macos): completion pushed-route elimination + pause→close icon (2B); leaderboard-fetch-on-loss guard (2C) #667/fix(sudoku): unify completion to the in-board overlay on all platforms #669 Sudoku, fix(minesweeper): game-over screen inset 16pt, live board bleeds through edges/safe area (P1-5) #388/fix(minesweeper): mirror #379 — re-tap solved daily card routes to Completion #386 MS — MS's own prose already documented this, only its edge label was stale). Re-tagged both edges + Sudoku's previously-untagged S09 node and prose (which also referenced a nonexistent "retry" completion variant). MS's edge now uses kind:'state', matching the same overlay-not-push treatment already used for its sibling M11→M12 lose-overlay edge.
  4. NoOp→Noop spelling consistency — NoOpTrackingSink was the sole capital-O "NoOp" type in a codebase that spells this pattern "Noop" everywhere else (NoopErrorReporter + 6 sibling placeholder types repo-wide). Renamed type + file to NoopTrackingSink; updated its test file and the one other call site (GameAppKit/MakeGameApp.swift).
  5. Info.plist key order — NSUserTrackingUsageDescription sat at different positions in the two apps' otherwise-identical key sequence (drift present since the two files first diverged, pre-chore: group app targets under App/ + co-locate license_plist configs #393). Reordered Minesweeper's copy to match Sudoku's.

Verification

  • swift test --package-path Packages/TelemetryKit — 32 tests passed.
  • swift test --package-path Packages/GameAppKit (consumer of the renamed call site) — 58 tests passed.
  • mise run lint:swift_strict on the 3 changed Swift files — 0 issues.
  • mise run scan:settings_root — passed.
  • mise run scan:l10n — passed (2 catalogs, 7 locales, no drift).
  • plutil -lint App/Minesweeper/Info.plist — OK; post-fix plutil -p diff between the two Info.plists shows only the expected app-specific string differences (CFBundleDisplayName + the two app-name-substituted description strings), same key order.
  • Repo-wide grep confirms no remaining NoOpTrackingSink references in any .swift file.

🤖 Generated with Claude Code

wei18 and others added 3 commits July 28, 2026 13:15
… order (#934)

Five surgically-scoped fixes from the #934 upkeep triage (all verified
against main @ 972d7a7):

1. CLAUDE.md §Where truth lives claimed 9 project-bound skills; actual
   flat-skill count under .claude/skills/ (excluding the apple-dev-skills
   submodule) is 8 — screen-contract-spec's master copy moved out to the
   design-app playbook on 2026-07-21 (6e5b1a2).
2. Same stale "9" count in docs/superpowers/specs/2026-06-24-apple-dev-skills
   -shared-plugin-design.md (AS-BUILT NOTE, architecture diagram, §5 header)
   — corrected to 8, with a new dated UPDATE note (mirroring the doc's own
   2026-07-13 correction convention) explaining the reversion without
   erasing the historical 07-13 record.
3. Both app-flow prototypes still labeled the board->completion transition
   "push .completion". Shipped reality (#667/#669 Sudoku, #388/#386 MS):
   completion mounts as an in-board overlay, not a stack push; the pushed
   .completion route serves only the daily re-view. Re-tagged the S09/M14
   edges and Sudoku's untagged S09 node + prose (which also referenced a
   nonexistent "retry" completion variant); MS's edge now uses the same
   kind:'state' (overlay, no push) treatment already used for its sibling
   M11->M12 lose-overlay edge.
4. Packages/TelemetryKit/Sources/Telemetry/NoOpTrackingSink.swift was the
   sole "NoOp" (capital O) type in a codebase that otherwise spells this
   pattern "Noop" (NoopErrorReporter and 6 other sibling placeholder types
   repo-wide). Renamed type + file to NoopTrackingSink; updated its test
   file and the GameAppKit call site.
5. App/Sudoku/Info.plist and App/Minesweeper/Info.plist had
   NSUserTrackingUsageDescription at different positions in an otherwise
   identical key sequence. Reordered Minesweeper's copy (the one that broke
   the shared LS*/NSGameKit*/NSUserTracking* block ordering, present since
   the two Info.plists first diverged pre-#393) to match Sudoku's.

Co-Authored-By: Claude Fable 5 <[email protected]>
…example (#934)

CR round 1 on PR #958:

- sudoku-app-flow.prototype.html: the sentence item 3 edited still claimed a
  leaderboard slice with sign-in/loading variants — all deleted by #698
  (CompletionView is hero + time + mistakes + Close only). Prose and the S09
  phone-label now say so.
- foundations.md: the TelemetrySink code example renamed to NoopTrackingSink to
  match the item-4 rename (a current-API example, unlike the frozen v1 docs
  which keep the old spelling as history).

Co-Authored-By: Claude <[email protected]>
Acceptance caught the phone-source annotation two lines below the corrected
S09 label still citing the #698-deleted CompletionState machinery.

Co-Authored-By: Claude <[email protected]>
@wei18
wei18 enabled auto-merge (squash) July 28, 2026 05:26
@wei18
wei18 merged commit ec2c88a into main Jul 28, 2026
5 checks passed
@wei18
wei18 deleted the chore/upkeep-934-sweep branch July 28, 2026 05:27
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