Skip to content

🔍 Upkeep Report #668

Closed
Closed

Description

@github-actions

🔍 Upkeep Report

Generated 2026-07-05T21:05:28.080Z

The repo is healthy: every finding is low or medium severity except a single 'high' that is a well-understood, already-tracked non-blocker. No correctness, security, or determinism issues surfaced — the findings cluster almost entirely into documentation staleness and single-source-of-truth drift. The one item to treat as a hard ship-gate is the App Store screenshot placeholder collapse: every committed preview PNG is a pixel-identical placeholder across screens and both apps, so this set must never be uploaded to App Store Connect (it is the known-deferred snapshot->screenshot harness gap tracked by #236/#365 — dedupe against it, don't open a new issue). After that, the highest-leverage cleanups are the SDD-006 as-built reconciliation (mise-task-operations index missing the shipped new_game:scaffold task; SDD-006/resume-seam specs still describing a pre-PR1, three-game, absent-ckdb world). The cheap wins are the skill-count drift (bump 8→9 in README.md and CLAUDE.md to match the 9 skill directories) and collapsing the two silent-drift duplicates (the elapsed() formatter into GameAppKit, Agents.md into a generated stub of CLAUDE.md). Recurring root cause across the low-severity noise: hand-maintained facts that shadow mechanically-derivable ground truth (directory counts, shipped tasks, duplicated helpers) drift when the source changes and the prose isn't propagated.

Summary

Severity Count
🔴 High 1
🟠 Medium 3
🟡 Low 8
Total 12

Themes

LOW — Skill-inventory count drift: screen-contract-spec added without bumping prose counts

Four findings from two independent reviewers (convention, docs_staleness) all trace to the same event: a ninth project-bound skill (screen-contract-spec) was added but the human-authored prose counts that shadow the directory listing were not all updated. .claude/skills/README.md contradicts itself (intro says 8, header/table say 9) and CLAUDE.md's 'Where truth lives' table still says 8, while the actual .claude/skills/*/SKILL.md directory count and the zh-Hant mirror both agree on 9. The root cause is a hand-maintained count that duplicates a mechanically-derivable fact (number of skill directories); every skill addition must be manually propagated to multiple prose sites, and this one was propagated inconsistently. Fixing all sites to 9 (matching the directory count as SSOT) resolves the whole cluster.
Files: .claude/skills/README.md, CLAUDE.md, .claude/skills/README.zh-Hant.md

MEDIUM — App Store screenshot placeholder collapse across every device matrix

duplicate_orphan (three findings: iPhone-6.9, iPad-13, Mac) and visual_icon (one finding) independently detect that the committed docs/app-store/screenshots/ preview tree is pixel-identical placeholders — within each device bucket every screen collapses to one image, and the same image is reused across both Sudoku and Minesweeper. This is the exact 'all-identical collapse' bug TASKS.md requirement #3 forbids. The two reviewers disagree on severity and framing: duplicate_orphan rates the iPhone set 'high' as a ship-blocker, while visual_icon rates it 'low' because it is the KNOWN-DEFERRED snapshot->screenshot harness gap already documented in the screenshots README and tracked by issue #236/#365. Both are consistent on the fact — these PNGs are broken placeholders that must not reach App Store Connect — and consistent that regeneration flows through the store:screenshots / snapshot-capture path once the harness lands. Triage should dedupe against #236 rather than open a new issue; the residual action is the standing distinctness guard before any real upload.
Files: docs/app-store/screenshots/minesweeper/iphone-6.9/en/01-home.png, docs/app-store/screenshots/sudoku/iphone-6.9/en/01-home.png, docs/app-store/screenshots/minesweeper/ipad-13/en/01-home.png, docs/app-store/screenshots/sudoku/ipad-13/en/01-home.png, docs/app-store/screenshots/minesweeper/mac/en/01-home.png, docs/app-store/screenshots/sudoku/mac/en/01-home.png, docs/app-store/screenshots/TASKS.md

MEDIUM — SDD-006 new-game-scaffold shipped, but spec + ops-index docs not fully reconciled

Three findings (convention on mise-task-operations/SKILL.md; spec_flow on the SDD-006 RFC and the resume-seam-design spec) all stem from work that has landed since the docs were last touched: PR1 shipped mise run new_game:scaffold (#678), Tiles2048/SDD-004 was removed, and cloudkit/minesweeper.ckdb was committed. The mise-task-operations skill claims to index 'EVERY repo ops task' yet omits the real new_game:scaffold task; the SDD-006 RFC §2 still says 'there is no code generator today' (contradicting its own PR1-shipped status header) and titles a section 'Conformance of the three existing games' when only two shipped games remain; and the resume-seam-design spec still calls minesweeper.ckdb 'absent from the repo' though it is now committed. The common root cause is as-built drift: shipped changes were only partially back-propagated into the prose (some sections carry dated 'Corrected (2026-07-05)' notes, others were missed). Adding the missing task row and dated as-built notes closes the cluster.
Files: .claude/skills/mise-task-operations/SKILL.md, docs/superpowers/specs/2026-06-29-sdd-006-new-game-scaffold-rfc.md, docs/superpowers/specs/2026-06-10-resume-seam-design.md, mise-tasks/new_game/scaffold

LOW — Hand-maintained duplicate content with no single source of truth (mirror-principle drift)

Two findings from different reviewers flag copies of content that will silently diverge the moment one side is edited — the same class of bug CLAUDE.md's 'mirror principle' warns against. code_hygiene finds the resume-pill elapsed(_:) -> String formatter duplicated byte-for-byte in both per-app composition wrappers (Minesweeper Live.swift and Sudoku AppComposition.swift) even though a shared game-agnostic home already exists next to it (GameAppKit/ResumeTitle.swift); the MS copy's own comment admits it 'Mirrors Sudoku's'. duplicate_orphan finds Agents.md is byte-for-byte identical to CLAUDE.md, two hand-maintained copies of the same agent guide. Both are low-severity today because the copies are currently in sync, but both are drift traps: the fix is the same in spirit — collapse to one source (hoist elapsed into GameAppKit and call it from both mappings; make Agents.md a generated stub/symlink of CLAUDE.md).
Files: Packages/MinesweeperKit/Sources/MinesweeperAppComposition/Live.swift, Packages/SudokuKit/Sources/SudokuAppComposition/AppComposition.swift, Packages/GameAppKit/Sources/GameAppKit/ResumeTitle.swift, Agents.md, CLAUDE.md

Findings

Severity Conf File Category Reviewers Problem
high high docs/app-store/screenshots/minesweeper/iphone-6.9/en/01-home.png duplicate duplicate_orphan All nine committed iPhone-6.9 App Store screenshots (both Minesweeper and Sudoku: home, daily, board, completion, settings) are pixel-identical placeholders. Distinct per-screen screens have collapsed to a single image, which is exactly the 'all-identical collapse' bug the screenshot spec says must never ship.
medium high .claude/skills/mise-task-operations/SKILL.md staleness convention The mise-task-operations skill declares itself the index of 'EVERY repo ops / build / release task' with an 'All tasks' table, but the table omits the new_game:scaffold task that exists at mise-tasks/new_game/scaffold.
medium high docs/app-store/screenshots/minesweeper/ipad-13/en/01-home.png duplicate duplicate_orphan The four committed iPad-13 App Store screenshots (Minesweeper home/board and Sudoku home/board) are all pixel-identical, so 'home' and 'board' are the same image and both apps share it — another instance of the all-identical screenshot collapse.
medium high docs/app-store/screenshots/minesweeper/mac/en/01-home.png duplicate duplicate_orphan The four committed Mac App Store screenshots (Minesweeper home/daily and Sudoku home/board) are all pixel-identical, so distinct screens and both apps collapse to one image — the same placeholder-collapse bug on the desktop matrix.
low high .claude/skills/README.md inconsistency convention, docs_staleness The intro sentence states there are 8 project-bound skills, but the same file's section header and skill table both list 9, and the actual repo contains 9 project-bound SKILL.md directories. The count is internally contradictory and stale.
low high CLAUDE.md staleness convention, docs_staleness The 'Where truth lives' table states there are 8 project-bound (flat) skills, but the repo now contains 9 project-bound SKILL.md directories and the skills README table + zh-Hant translation both count 9.
low high docs/app-store/screenshots/sudoku/iphone-6.9/en/01-home.png duplicate visual_icon Every preview PNG in the docs/app-store/screenshots/ staging tree is a byte-identical placeholder: within each device bucket all screens collapse to one image, and the same image is reused across both apps (Sudoku and Minesweeper). Distinct screens/apps are not visually distinguishable.
low high docs/superpowers/specs/2026-06-10-resume-seam-design.md staleness spec_flow The 'Out of scope (downstream #455)' note claims the Minesweeper CloudKit schema file is 'user-seeded, absent from the repo', but cloudkit/minesweeper.ckdb is now committed in the repo.
low high docs/superpowers/specs/2026-06-29-sdd-006-new-game-scaffold-rfc.md inconsistency spec_flow The heading '### Conformance of the three existing games (audit 2026-06-29)' contradicts its own body: only two games (Sudoku + Minesweeper) exist after Tiles2048/SDD-004 was removed, and the body/table audit only two shipped games.
low high Packages/MinesweeperKit/Sources/MinesweeperAppComposition/Live.swift duplicate code_hygiene The resume-pill subtitle formatter static func elapsed(_ totalSeconds: Int) -> String is duplicated byte-for-byte in both per-app composition wrappers instead of living in a shared game-agnostic target. This is exactly the hand-written per-app-wrapper duplication the CLAUDE.md 'mirror principle' forbids ('When MS needs something Sudoku has, extract a shared parameterized target ... never copy-paste-and-adapt').
low medium Agents.md duplicate duplicate_orphan Agents.md is byte-for-byte identical to CLAUDE.md. Two hand-maintained copies of the same agent-guide content will silently drift the moment one is edited.
low low Packages/SudokuKit/Tests/SudokuUITests/__Snapshots__/DailyHubViewTests/snapshotUnfinishedIPhoneLight.DailyHub-iPhone-light-unfinished.txt inconsistency duplicate_orphan Three Sudoku DailyHub structure/accessibility text snapshots for semantically different states (all-completed, easy-completed, unfinished) are byte-identical, even though the paired PNG baselines differ. The .txt structure snapshot may not be capturing per-state differences (completion badges / puzzle-card status), reducing its regression value.

Full interactive HTML report: open this run → download the report-html artifact (expires 2026-10-03, ~90d).

Activity

  1. added
    audit
    on Jul 3, 2026
  2. wei18 commented on Jul 6, 2026

    @wei18
    Owner

    Triage: 12 findings — 4 duplicate / 2 wont-fix / 0 stale / 5 actionable (+1 bundling note)

    Verified against main@b026e64 (2026-07-06). No prior triage comment on this issue.

    DUPLICATE (4) — known-deferred App Store screenshot placeholder collapse, tracked by #236

    All four duplicate_orphan/visual_icon findings on docs/app-store/screenshots/** are the same underlying gap: the committed preview PNGs are placeholders pending the real snapshot→screenshot harness. This is explicitly the class CLAUDE.md's upkeep section calls out as an established won't-fix/dupe ("screenshots → #236"), and the report body itself says to dedupe against #236/#365 rather than open a new issue.

    Residual action already correctly identified by the report: keep the "must never upload these to ASC" guard in mind until the harness lands; no new tracking issue needed.

    WONT-FIX (2)

    • low Agents.md byte-identical to CLAUDE.md (duplicate_orphan) — false positive, already triaged once before. Agents.md is a git symlink to CLAUDE.md (mode 120000, commit 4f0fe03, verified via ls -la Agents.md → Agents.md -> CLAUDE.md); the audit tooling resolves symlinks before hashing so it double-counts one file as two. Documented as a dismissed false positive from the prior 🔍 Upkeep Report #631 audit round: meetings/2026-07-04_upkeep-631-2b-completion-unification-tf.md:22-24.
    • low DailyHub .txt structure snapshots byte-identical across 3 completion states (duplicate_orphan) — matches CLAUDE.md's established "intentional snapshot equalities" won't-fix category. Packages/SudokuKit/Tests/SudokuUITests/SnapshotStructureHelper.swift:1-15 documents the design intent: the .txt baseline captures SwiftUI view-tree type structure (to catch a row being added/removed), not per-state text content — the paired .image PNG baseline is what's supposed to catch the visual completion-badge difference. Identical structure output across differing data states is expected, not a regression-value gap.

    ACTIONABLE (5, + bundling note)

    1. Skill-count drift, 8→9 (2 files) — .claude/skills/README.md intro line still says "Project-bound skills (8)" while its own header/table and the zh-Hant mirror say 9 (verified: find .claude/skills -maxdepth 2 -name SKILL.md → 9 dirs). CLAUDE.md:119 "Where truth lives" table also still says "8 project-bound skills". Root cause: screen-contract-spec skill was added in feat(skills): add screen-contract-spec skill #684 (2026-07-05 00:46) after the last staleness fix-up PR docs(upkeep): fix staleness + index-drift findings from audit #631 #666/fc71c6c (2026-07-04 00:30) which had bumped other counts. Size S — two one-line text edits, no new issue needed, Leader can fix inline.
    2. mise-task-operations/SKILL.md missing new_game:scaffold row — verified still absent (grep -n new_game .claude/skills/mise-task-operations/SKILL.md → no match) even though mise-tasks/new_game/scaffold exists and ships per SDD-006 PR1 (feat(new-game): add mise new_game:scaffold generator (#479 pr1) #678). Size S, route into open epic epic: new-game scaffold — 3rd+ game bootstrap for the shared-modules game factory #479 (new-game scaffold bootstrap) rather than a new issue.
    3. SDD-006 RFC heading says "three existing games" — docs/superpowers/specs/2026-06-29-sdd-006-new-game-scaffold-rfc.md:71 still reads "Conformance of the three existing games (audit 2026-06-29)"; only Sudoku + Minesweeper remain since Tiles2048/SDD-004 removal (30d3c64). Size S (heading + dated as-built note), route into epic: new-game scaffold — 3rd+ game bootstrap for the shared-modules game factory #479.
    4. resume-seam-design spec says minesweeper.ckdb "absent from the repo" — docs/superpowers/specs/2026-06-10-resume-seam-design.md:99 is stale; cloudkit/minesweeper.ckdb is committed (verified ls cloudkit/). Size S, route into epic: new-game scaffold — 3rd+ game bootstrap for the shared-modules game factory #479 (same as-built reconciliation cluster as feat(asc-register): CLI to bootstrap Game Center via ASC API #2/docs(readme): cleaner zh-en flow #3).
    5. elapsed(_:) -> String duplicated byte-for-byte — confirmed identical in Packages/MinesweeperKit/Sources/MinesweeperAppComposition/Live.swift:232 and Packages/SudokuKit/Sources/SudokuAppComposition/AppComposition.swift:224, while a shared game-agnostic home (Packages/GameAppKit/Sources/GameAppKit/ResumeTitle.swift) already exists next to it and doesn't host this formatter. Real violation of the CLAUDE.md mirror principle (never copy-paste-and-adapt when MS needs what Sudoku has). Size S/M — hoist into ResumeTitle.swift, call from both composition wrappers (touches 3 files, mechanical, low risk). Open a new small issue (no existing tracker fits) or fold into next mirror-principle cleanup pass.
    6. (bundling note) — items 2–4 share one root cause (SDD-006 as-built docs drift) and are cheapest fixed together as one PR against epic: new-game scaffold — 3rd+ game bootstrap for the shared-modules game factory #479 rather than three separate ones.

    Evidence trail

    • Screenshot dupes: #236 (closed epic) confirmed via gh issue view 236; #365 (merged PR) confirmed via gh issue view 365.
    • Skill count: find .claude/skills -maxdepth 2 -name SKILL.md → 9; .claude/skills/README.md:7 says "(8)"; CLAUDE.md:119 says "8 project-bound skills".
    • new_game:scaffold: ls mise-tasks/new_game/ → scaffold exists; grep new_game .claude/skills/mise-task-operations/SKILL.md → no hits.
    • SDD-006 heading: docs/superpowers/specs/2026-06-29-sdd-006-new-game-scaffold-rfc.md:71.
    • ckdb: ls cloudkit/ → minesweeper.ckdb present; spec line at docs/superpowers/specs/2026-06-10-resume-seam-design.md:99.
    • elapsed(): grep -n "func elapsed" hits in both Live.swift:232 and AppComposition.swift:224, none in ResumeTitle.swift.
    • Agents.md: ls -la Agents.md → symlink to CLAUDE.md; prior dismissal at meetings/2026-07-04_upkeep-631-2b-completion-unification-tf.md:22-24.
    • DailyHub .txt: md5 of the 3 iPhone-light .txt baselines identical; scope note at Packages/SudokuKit/Tests/SudokuUITests/SnapshotStructureHelper.swift:1-15.
  3. wei18 commented on Jul 6, 2026

    @wei18
    Owner

    All 12 findings dispositioned: 4 duplicates (#236/#365 screenshot class), 2 won't-fix (Agents.md symlink false positive; intentional structure-snapshot equality), 4 doc-staleness actionables fixed and merged in #711, and the remaining code actionable (byte-identical elapsed(_:) in both apps) tracked as #710. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    audit

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions