Repository navigation
Description
🔍 Upkeep Report
Generated 2026-06-09T21:56:03.045Z
⚠️ INCOMPLETE RUN — 1 reviewer(s) failed (duplicate_orphan). Findings below are partial; an empty or low count does not mean the repo is clean.
The repo is in good overall health: there are no high-severity findings, and the four reporting reviewers surfaced 11 low/medium issues that cluster into a few benign maintenance themes rather than functional defects. The most actionable items are release- and doc-hygiene gaps. Before any App Store submission, the byte-identical placeholder screenshots (iphone-6.9, ipad-13, and mac sets — identical across both apps) must be replaced with real per-screen captures. Two flow prototypes (Minesweeper Home/Daily/Practice and the Reminders Phase-2 primer) are stale only in their 'not yet built / unreachable' build-status framing — the underlying designs match shipped code, so they just need re-tagging or regeneration. Lower-priority cleanup: remove or properly issue-track two speculative orphans flagged with placeholder TODOs (ASCClient.missingResponseBody, ErrorReporter.recent()), realign three small convention/SSOT divergences (re-export file organization, XCTest in DesignPreviewSnapshotTests, the '6 files' vs '5 files + meetings/' skill index), and confirm the intent of two byte-identical snapshot fixtures. Coverage caveat: the duplicate_orphan reviewer failed to run, so orphan/duplicate detection is only partially covered (by code_hygiene and visual_icon); a re-run is advisable to close that gap.
Summary
| Severity | Count |
|---|---|
| 🔴 High | 0 |
| 🟠 Medium | 6 |
| 🟡 Low | 5 |
| Total | 11 |
Themes
MEDIUM — Stale prototype docs: build-status framing has fallen behind shipped code
Both spec_flow findings are HTML flow prototypes whose design content still matches the code but whose build-status framing does not. minesweeper-app-flow.prototype.html still tags Entry/Home, Daily, and Practice as 'TARGET · not yet built' / 'exists in source but unreachable', and reminders-flow.prototype.html still banners the RemindersKit Phase-2 primer as 'not yet built'. In both cases the feature has since shipped (Minesweeper Home mode-card + Daily/Practice routes via #288/#289 on 2026-06-04, post-dating the 2026-06-03 prototype generation; the Reminders Phase-2 primer sheet, permission/settings models, and live scheduler all now exist in SettingsUI/SudokuUI/RemindersKit). The common root cause is that aspirational 'TARGET' prototypes are not being re-tagged or regenerated when the work lands, so the docs become the stale side of the SSOT while the code is correct.
Files: docs/minesweeper/minesweeper-app-flow.prototype.html, docs/designs/reminders-flow.prototype.html
MEDIUM — App Store screenshots are byte-identical placeholders across screens and apps
Both visual_icon screenshot findings describe the same systemic gap on different device buckets: every committed App Store screenshot is a byte-identical placeholder. The iphone-6.9 set (9 PNGs, one shared hash) and the ipad-13 and mac sets (each its own shared hash) all repeat one placeholder image per screen, and the Sudoku and Minesweeper sets are identical to each other. Because ScreenshotUpload globs the whole directory, every placeholder is in upload scope. The root cause is that the screenshot pipeline currently holds placeholder/baseline-derived images that have never been replaced with real, per-screen, per-app captures — a release-readiness gap rather than a code defect.
Files: docs/app-store/screenshots/sudoku/iphone-6.9/en/02-daily.png, docs/app-store/screenshots/minesweeper/ipad-13/en/03-board.png
MEDIUM — Speculative orphan code retained behind untracked placeholder TODO markers
Both code_hygiene orphan findings share one root cause: code kept alive for a 'future' use that never materialized, marked with non-trackable TODOs instead of filed issues. ASCClient's ClientError.missingResponseBody case has no throw/match site and carries a 'remove if still unused after error refactor settles' TODO; ErrorReporter.recent() is a public API exercised only by its own test, documented as 'Exposed for future debug surfaces' with a placeholder TODO(issue: TBD). Both violate the phase-close marker hygiene the repo enforces via phase-todo-sweep — speculative surface area plus untracked markers. They should be removed until needed, or backed by a real filed issue.
Files: Packages/ASCRegisterKit/Sources/ASCRegister/ASCClient.swift, Packages/TelemetryKit/Sources/Telemetry/ErrorReporter.swift
LOW — Convention / SSOT drift between mirrored structures and their declared specs
This cross-reviewer theme (code_hygiene + convention) collects three small divergences where a concrete artifact has drifted from a declared or mirrored source of truth. SudokuEngine folds the #446 DeterminismKit re-export into the unrelated UTCDay-named file while the parallel MinesweeperEngine gives it a dedicated DeterministicRNGReexport.swift, breaking the otherwise-mirrored core layout convention. The DesignPreviewSnapshotTests suite uses XCTest, contradicting the swift-testing-baseline skill that the rest of the repo follows. And the skills index README describes spec-phase-orchestration as '6 files' while the authoritative skill body says '5 files + meetings/ directory'. None are functional bugs; the common thread is documentation/organization that has fallen out of step with its SSOT and should be re-aligned (or the deviation explicitly recorded).
Files: Packages/SudokuCoreKit/Sources/SudokuEngine/UTCDayReexport.swift, docs/designs/code/Tests/DesignPreviewSnapshotTests/ComponentSnapshotTests.swift, .claude/skills/README.md
LOW — Snapshot fixtures with byte-identical pixels across differently-named scenarios
Two visual_icon findings flag snapshot test fixtures where distinctly-named scenarios render identical pixels. The Minesweeper 'board terminal overlay' snapshot is byte-identical to the Completion 'loss' snapshot in both dark and light schemes — strong evidence that one fixture renders the wrong view or the two scenarios are redundant. The Sudoku RootView empty-state snapshot is byte-identical to the HomeView snapshot, which is likely intentional (RootView with no resume candidate is HomeView) but is flagged as a possible redundant fixture. The shared question is fixture intent: confirm each scenario is meant to capture a distinct view, then either fix the mis-wired setup and re-record, or drop the redundant snapshot.
Files: Packages/MinesweeperKit/Tests/MinesweeperUITests/__Snapshots__/MinesweeperBoardTerminalOverlaySnapshotTests/snapshotTerminalOverlay_iPhone_dark.Board-iPhone-dark-terminal-overlay.png, Packages/SudokuKit/Tests/SudokuUITests/__Snapshots__/RootViewTests/snapshotEmptyStateIPhoneLight.RootView-iPhone-light-empty.png
Findings
| Severity | Conf | File | Category | Reviewers | Problem |
|---|---|---|---|---|---|
| medium | high | docs/app-store/screenshots/minesweeper/ipad-13/en/03-board.png |
duplicate | visual_icon | iPad-13 and Mac App Store screenshots are also byte-identical placeholders within each device bucket, and identical across both apps — same placeholder issue as the iPhone set, on the remaining device classes. |
| medium | high | docs/app-store/screenshots/sudoku/iphone-6.9/en/02-daily.png |
duplicate | visual_icon | All iPhone-6.9 App Store screenshots are byte-identical placeholder images. Distinct labeled screens (home / daily / board / completion / settings) all carry the same pixels, and the Sudoku and Minesweeper sets are identical to each other too — so the storefront would display one placeholder for every screen of both apps. |
| medium | high | docs/designs/reminders-flow.prototype.html |
staleness | spec_flow | The prototype presents itself as an unbuilt aspirational target: the honesty banner reads 'RemindersKit Phase 2 — not yet built' and the 'Honesty notes' state 'Target, not built. Phase 2 (primer UI) is the design goal; nothing here is shipped.' The Phase-2 primer UI it describes is now implemented in the repo, so this not-built framing is out of date. The underlying design (foundation types, SettingsUI primer location, scheduler API) still matches the code; only the build-status framing is stale. |
| medium | high | docs/minesweeper/minesweeper-app-flow.prototype.html |
staleness | spec_flow | The flow prototype tags 'Entry & Home' as 'TARGET · not yet built' and tags both 'Daily' and 'Practice' as 'TARGET · exists in source but unreachable' (no navigation entry). The code has since moved past this: Minesweeper now opens to a Home mode-card surface and both Daily and Practice are reachable through Home cards. The prototype's flow status no longer matches the shipped navigation. |
| medium | high | Packages/ASCRegisterKit/Sources/ASCRegister/ASCClient.swift |
orphan | code_hygiene | The ClientError.missingResponseBody enum case appears to be dead code. The author has already flagged it for removal with an inline comment, and a repo-wide search finds no construction or matching of this case anywhere outside its own declaration. |
| medium | medium | Packages/MinesweeperKit/Tests/MinesweeperUITests/__Snapshots__/MinesweeperBoardTerminalOverlaySnapshotTests/snapshotTerminalOverlay_iPhone_dark.Board-iPhone-dark-terminal-overlay.png |
duplicate | visual_icon | The Minesweeper 'board terminal overlay' snapshot is byte-identical to the Completion 'loss' snapshot, in BOTH dark and light. Two differently-named test scenarios (BoardTerminalOverlay vs Completion-loss) producing the same pixels in both color schemes suggests one fixture is rendering the wrong view (or the two scenarios are redundant). |
| low | high | docs/designs/code/Tests/DesignPreviewSnapshotTests/ComponentSnapshotTests.swift |
convention | convention | The DesignPreviewKit snapshot-test suite under docs/designs/code uses XCTest (import XCTest + final class ...: XCTestCase), contradicting the repo's declared testing convention. |
| low | medium | Packages/SudokuCoreKit/Sources/SudokuEngine/UTCDayReexport.swift |
inconsistency | code_hygiene | The two game cores organize their #446 DeterminismKit re-export shims inconsistently. SudokuEngine folds the @_exported public import DeterminismKit into UTCDayReexport.swift (a file named only after the unrelated TimeKit/UTCDay re-export), whereas the parallel MinesweeperEngine core gives the same re-export its own dedicated DeterministicRNGReexport.swift. A reader searching SudokuEngine for where DeterminismKit is re-exported cannot find it by filename. |
| low | medium | Packages/TelemetryKit/Sources/Telemetry/ErrorReporter.swift |
orphan | code_hygiene | ErrorReporter.recent() is a public API with no production consumer — it is exercised only by its own unit test. It is documented as speculative ("Exposed for future debug surfaces") and carries an untracked TODO with a placeholder issue id (TODO(issue: TBD)), which violates the phase-close marker hygiene the repo enforces via phase-todo-sweep. |
| low | low | .claude/skills/README.md |
inconsistency | convention | The skills index one-liner describes spec-phase-orchestration as '6 files', but the skill's own body defines the structure as '5 files + meetings/ directory'. |
| low | low | Packages/SudokuKit/Tests/SudokuUITests/__Snapshots__/RootViewTests/snapshotEmptyStateIPhoneLight.RootView-iPhone-light-empty.png |
duplicate | visual_icon | The Sudoku RootView empty-state snapshot is byte-identical to the HomeView snapshot. Likely intentional (RootView with no resume candidate renders HomeView), but flagged as a potential redundant fixture. |
Full interactive HTML report: open this run → download the report-html artifact (expires 2026-09-07, ~90d).
Activity
wei18 commentedon Jun 10, 2026
Triage(對照 #361 已處理項)
已知 / 已分流(不在本輪動工):
terminal-overlay==completion-losssnapshot — won't-fix(誤報):等值是 fix(minesweeper): game-over screen inset 16pt, live board bleeds through edges/safe area (P1-5) #388 overlay 全覆蓋的刻意斷言(測試 header 自述),詳見 🔍 Upkeep Report #361 的 Group C 調查。RootView-empty==HomeView— won't-fix(預期:empty 狀態 root content 即 HomeView;報告自己也標 "likely intentional")。本輪修復(dispatch 中):
docs/designs/reminders-flow.prototype.html— "Phase 2 not yet built" 框架過時(primer 已 ship 於 SettingsUI)→ 重新標記 build-statusdocs/minesweeper/minesweeper-app-flow.prototype.html— Entry/Home/Daily/Practice 仍標 "TARGET · not yet built/unreachable"(feat(minesweeper): Home + Root mode-card entry surface (mirror Sudoku HomeView) #288/feat(minesweeper): make Daily + Practice hubs reachable (AppRoute + entry) #289 已 ship)→ 重新標記ASCClient.missingResponseBody死 enum case(作者已留移除註記)→ 移除ErrorReporter.recent()無 production consumer +TODO(issue: TBD)佔位 → 移除 speculative API + 其測試UTCDayReexport.swift(檔名不符)→ 拆出DeterministicRNGReexport.swift與 MS 對齊(refactor(shared): extract DeterministicRNG/SplitMix64 → DeterminismKit, MonotonicClock → TimeKit (#446) #451 留下的不一致).claude/skills/README.md"6 files" vs "5 files + meetings/" — Leader 直接修(subagent 無法寫 .claude/)DesignPreviewSnapshotTests用 XCTest — 待確認:docs/designs/code是 standalone 設計 sandbox(不在 workspace test graph)則 won't-fix 註記,否則轉換Coverage caveat:本輪 duplicate_orphan reviewer 失敗(partial run)。若要補跑該 reviewer,屬 upkeep workflow 重跑(user-owned)。
docs(skills): fix spec-phase-orchestration index line — 5 files + mee…
docs: address CR blockers — purge removed New Game mode from frames, …
chore: re-tag shipped prototypes + remove dead ASC/Telemetry code, sp…
wei18 commentedon Jun 10, 2026
Hygiene PR #462 merged (CR round-2 after a REJECT caught 4 factual inaccuracies in the re-tag pass — all fixed, incl. purging the #410-removed New Game mode from every frame).
Leftover nit from CR (out of #462's file set):
MinesweeperUI/MinesweeperRoot.swift:7source comment still lists the sidebar as "(New Game / Daily / Practice / Leaderboard / Settings)" — same drift class; will fold into the next MinesweeperUI-touching PR rather than a one-line PR.Remaining #459 items: ✅ all actionable findings done (#461 + #462). Screenshots → #236; snapshot dups → won't-fix (#361 C); XCTest sandbox → won't-fix (outside test graph, evidence in #462 body). duplicate_orphan reviewer re-run = user-owned workflow decision.
wei18 commentedon Jun 10, 2026
All actionable findings done: #461 (skills index) + #462 (prototype re-tags ×2, dead ASC/Telemetry code, re-export split). Routed/won't-fix items documented in the triage + closing comments. Closing — same convention as #361.