Repository navigation
fix(board): let the iPad regular-width Minesweeper board viewport fill its column - #1106
Conversation
…#1101) MinesweeperBoardView.macLayout was written for the Mac detail pane and is selected by horizontalSizeClass == .regular, so iPad inherited the Mac caps: macOuterMaxWidth 900 centred the layout and macBoardMaxSide 600 pinned the board viewport to a 600 pt square in both orientations, leaving ~540 pt of the board column empty in portrait (#1101 measurements). New `regularBoardContainer` environment value (RegularBoardContainer.swift): - .fillsColumn (iOS default): the board frame takes the column's full width AND height; the #764 cellSizing ladder picks the cell side from that rect. - .cappedDetailPane (macOS default): the locked 900 / 600 Mac rule, unchanged. Platform default pinned by RegularBoardContainerTests (mutating the #else branch turns it red). An environment value rather than `#if os(iOS)` so the macOS test host can render the iPad rule: the iPad snapshot and the emit_iPad_board ASC frame inject .fillsColumn explicitly. Baselines: the old iPad PNG is kept byte-for-byte under a new `snapshotBeginnerCovered_regularCapped_light` test that injects .cappedDetailPane at the same 1032x1376 size (passes without re-record, the mechanical proof the Mac rule did not move); the iPad .fillsColumn baseline is re-recorded. All iPhone and Mac baselines untouched (415 tests / 71 suites green). The 7 Minesweeper ipad-13 03-board store frames are regenerated (scan:store_frame_drift PASS); they stay #1054-affected. Simulator (iPad Pro 11-inch M5, iOS 26.4; #1101 method): portrait Intermediate/Expert viewport 481.5x595.5 -> 481.5x1117.5 (leftover column ~4 pt), landscape Intermediate 595.5x595.5 -> 749.5x749.5 (no scrolling), landscape Expert 595.5x595.5 -> 857.5x749.5; iPhone Expert control unchanged at 397.7x615.7. Sudoku's identical 960/640 cap is tracked as #1105. Co-Authored-By: Claude Fable 5.1 <[email protected]>
…round 2) Code review on a137f69: Beginner (9x9) is width-bound in every regular layout, so under .fillsColumn the fitted branch's `.center` alignment put the same 484 pt board in the middle of the whole column, moving the blank from below the board to above AND below it, and the ASC Beginner store frame gained a large gap between the HUD and the board. PM ruling (2026-09-24): "fill the column" means the board starts where the column starts, so the fitted board is top-aligned under .fillsColumn only. - `boardGrid` takes `fittedAlignment: Alignment = .center`, applied only to the `.fitted` branch frame; compact (iPhone) keeps the default, capped (Mac) passes `.center` via the new pure `fittedAlignment(for:)` helper (.fillsColumn -> .top, .cappedDetailPane -> .center), pinned by RegularBoardContainerTests. - Mutations: default flipped to `.top` turns 11 iPhone/iPad board snapshots red; helper's .fillsColumn branch flipped to .center turns the unit test red. Full suite 416 tests / 71 suites green; no iPhone or Mac PNG moved; the capped iPad baseline still sha1 dd773643f6a36922bbd447ddd292ce1f356cc4a2. - iPad .fillsColumn baseline re-recorded (board flush with the column top); the 7 Minesweeper ipad-13 03-board store frames regenerated (168 slots, only those 7 changed). They stay #1054-affected. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Code review — round 1 (a137f69), two independent reviewershaiku → APPROVE, 0 findings. Verified: capped path modifier-by-modifier equal to base (900 / 600); file set = 2 sources + 3 tests + 2 snapshot PNGs + 7 ipad-13 03-board frames, nothing else; old iPad PNG and the new sonnet → REQUEST-CHANGES, 1 BLOCKER (evidence: rendered Leader adjudication: the BLOCKER is factually right and was escalated to the PM as a design ruling (contact point 2). PM ruling: top-align the fitted board under |
Code review — round 2 (f73289d), sonnet re-review → APPROVEVerified by the reviewer from the ref (not from the commit message):
MINOR (cosmetic, carried from round 1, not blocking): Not verified by the reviewer: full 416 / 71 run (filtered suites only), the 5 non-en/ja locale frames (same code path), simulator numbers and pinch-zoom (Leader-measured, see PR body). |
T6 驗收(fresh-context)repo
總判定:ACCEPT-with-findings Findings(不影響 ACCEPT,但值得記錄):
我沒驗的部分(依 PR body,未重跑,標示信心度):
🤖 Generated with Claude Code |
|
PM merge record, head Owner ruling: Option A — the iPad board fills the column. PM rulings: seam S2 (an environment value, not The round-1 blocker and its fix. A reviewer found that Beginner is width-bound, so filling the column merely moved the empty space from below the board to above and below — and Verified independently:
Note: the round-2 commit body still says 11 red snapshots; the correct figure is 10, as recorded here and in the PR body. History was not rewritten for a count. Out of scope and tracked: #1105, Sudoku's identical 960/640 regular-width cap. |
…#1112) Code review on #1113 flagged a BLOCKER: the per-slot drift gate read "HEAD:${frame} doesn't exist" as "the generator SKIPPED-NO-COPY this locale", so a diff that changes a baseline and `git rm`'s every frame it feeds passed the gate clean — the exact shape someone would use to make a red gate green without actually regenerating anything. Replace the single existence check with three explicit rules per expected frame: 1. missing at both HEAD and MERGE_BASE -> skip (never had a frame). 2. present at HEAD and present (non-deleted) in the diff -> fresh. 3. anything else -> STALE, including present-at-HEAD-but-untouched and present-at-MERGE_BASE-but-deleted-at-HEAD (the latter gets a "(deleted in this diff)" suffix on its "missing:" line so a reviewer can tell a drop apart from a plain stale frame). Rule 2 needs CHANGED_PRESENT (`git diff --name-only --diff-filter=d`) instead of the existing CHANGED, because CHANGED already lists deleted paths — matching a deleted frame against it would have made the fix a no-op. Harness: added case 11 (`deleted-frames`) — baseline A drifts, every frame it feeds is `git rm`'d. Confirmed red against the pre-fix gate (10 passed, 1 failed: deleted-frames, exit 0 instead of 1) before applying the fix, green after (11 passed, 0 failed). Cross-check against the 383b088 (pre-#1112) gate: cross-slot-snapshot, cross-slot-capture, partial-locale, and deleted-frames all correctly FAIL (the gate wrongly passes a diff that should be rejected), confirming the harness still discriminates old gates from the fixed one. Back-tested the fixed gate against three real historical commits — 383b088, 34c3b03, 93bdc18 — each `--base <sha>^`: all PASS, exit 0, no false positives introduced. Part of #1112, following #1111, #1104, #1106. Co-Authored-By: Claude Fable 5.1 <[email protected]>
…-gate harness (#1112) Two more cases requested after the deleted-frames fix (#1112), to pin two more boundaries of the "HEAD vs MERGE_BASE existence" rules: Case 12 (slot-retired): deleting the Slot() line itself out of the generator's SLOTS table — not just letting a baseline drift — must stay a PASS even though baseline A still drifts and all 7 of its old frames are gone too. The gate derives its mapping from the checked-out working tree's copy of scripts/build-ascspec-screenshots.py (== HEAD in CI), so once that Slot() line is gone from HEAD, its baseline is no longer "mapped" and none of its frames are required. Sudoku's and minesweeper's iphone-6.9 01-home Slot() calls share byte-identical arguments (they differ only by which BASELINES_SUDOKU/BASELINES_MS root they resolve against), so the case retires sudoku's copy specifically by line number and asserts the signature's count drops from 2 to 1, not to 0. Case 13 (deleted-frames-partial): baseline A drifts, 6 of 7 locale frames are honestly regenerated, and only the th frame is `git rm`'d. The gate must flag exactly th as stale (with "(deleted in this diff)") and must not flag any of the 6 honestly-regenerated locales. Verified: all 13 cases PASS against the fixed gate (13 passed, 0 failed). Against 70574a1 (the previous commit, pre-deleted-frame-fix): cases 11 (deleted-frames) and 13 (deleted-frames-partial) FAIL — th being absent at HEAD was read as "never generated" and wrongly passed — while 12 (slot-retired) still PASSes, since that case doesn't touch the existence-check logic at all. Against 383b088 (origin/main, pre-#1112 per-slot check, 7 passed, 6 failed overall): cross-slot-snapshot, cross-slot-capture, partial-locale, deleted-frames, and deleted-frames-partial all FAIL as required; slot-retired still PASSes there too (escape-trailer-cross-slot also fails, as already established before this change — that gate predates per-slot checking entirely). Back-tested the fixed gate against 383b088^, 34c3b03^, 93bdc18^: all PASS, exit 0, no false positives. shellcheck clean on both scripts. Part of #1112, following #1111, #1104, #1106. Co-Authored-By: Claude Fable 5.1 <[email protected]>
…-gate harness (#1112) Two more cases requested after the deleted-frames gap was closed (part of #1112), to pin two more boundaries of the "HEAD vs MERGE_BASE existence" rules: Case 12 (slot-retired): deleting the Slot() line itself out of the generator's SLOTS table — not just letting a baseline drift — must stay a PASS even though baseline A still drifts and all 7 of its old frames are gone too. The gate derives its mapping from the checked-out working tree's copy of scripts/build-ascspec-screenshots.py (== HEAD in CI), so once that Slot() line is gone from HEAD, its baseline is no longer "mapped" and none of its frames are required. Sudoku's and minesweeper's iphone-6.9 01-home Slot() calls share byte-identical arguments (they differ only by which BASELINES_SUDOKU/BASELINES_MS root they resolve against), so the case retires sudoku's copy specifically by line number and asserts the signature's count drops from 2 to 1, not to 0. Case 13 (deleted-frames-partial): baseline A drifts, 6 of 7 locale frames are honestly regenerated, and only the th frame is `git rm`'d. The gate must flag exactly th as stale (with "(deleted in this diff)") and must not flag any of the 6 honestly-regenerated locales. Verified: all 13 cases PASS against the fixed gate (13 passed, 0 failed). Against 70574a1 (the previous commit, pre-deleted-frame-fix): cases 11 (deleted-frames) and 13 (deleted-frames-partial) FAIL — th being absent at HEAD was read as "never generated" and wrongly passed — while 12 (slot-retired) still PASSes, since that case doesn't touch the existence-check logic at all. Against 383b088 (origin/main, pre-#1112 per-slot check, 7 passed, 6 failed overall): cross-slot-snapshot, cross-slot-capture, partial-locale, deleted-frames, and deleted-frames-partial all FAIL as required; slot-retired still PASSes there too (escape-trailer-cross-slot also fails, as already established before this change — that gate predates per-slot checking entirely). Back-tested the fixed gate against 383b088^, 34c3b03^, 93bdc18^: all PASS, exit 0, no false positives. shellcheck clean on both scripts. Part of #1112, following #1111, #1104, #1106. Co-Authored-By: Claude Fable 5.1 <[email protected]>
…-gate harness (#1112) Two more cases requested after the deleted-frames gap was plugged (part of #1112), to pin two more boundaries of the "HEAD vs MERGE_BASE existence" rules: Case 12 (slot-retired): deleting the Slot() line itself out of the generator's SLOTS table — not just letting a baseline drift — must stay a PASS even though baseline A still drifts and all 7 of its old frames are gone too. The gate derives its mapping from the checked-out working tree's copy of scripts/build-ascspec-screenshots.py (== HEAD in CI), so once that Slot() line is gone from HEAD, its baseline is no longer "mapped" and none of its frames are required. Sudoku's and minesweeper's iphone-6.9 01-home Slot() calls share byte-identical arguments (they differ only by which BASELINES_SUDOKU/BASELINES_MS root they resolve against), so the case retires sudoku's copy specifically by line number and asserts the signature's count drops from 2 to 1, not to 0. Case 13 (deleted-frames-partial): baseline A drifts, 6 of 7 locale frames are honestly regenerated, and only the th frame is `git rm`'d. The gate must flag exactly th as stale (with "(deleted in this diff)") and must not flag any of the 6 honestly-regenerated locales. Verified: all 13 cases PASS against the fixed gate (13 passed, 0 failed). Against 70574a1 (the previous commit, pre-deleted-frame-fix): cases 11 (deleted-frames) and 13 (deleted-frames-partial) FAIL — th being absent at HEAD was read as "never generated" and wrongly passed — while 12 (slot-retired) still PASSes, since that case doesn't touch the existence-check logic at all. Against 383b088 (origin/main, pre-#1112 per-slot check, 7 passed, 6 failed overall): cross-slot-snapshot, cross-slot-capture, partial-locale, deleted-frames, and deleted-frames-partial all FAIL as required; slot-retired still PASSes there too (escape-trailer-cross-slot also fails, as already established before this change — that gate predates per-slot checking entirely). Back-tested the fixed gate against 383b088^, 34c3b03^, 93bdc18^: all PASS, exit 0, no false positives. shellcheck clean on both scripts. Part of #1112, following #1111, #1104, #1106. Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ing it on any ascspec change (#1113) * test(ci): add a throwaway-repo harness for the store frame-drift gate (#1112) Adds mise-tasks/test/store_frame_drift, a self-contained bash harness that drives mise-tasks/scan/store_frame_drift with real git commits in a disposable git repo, instead of hand-waving about what the gate "should" do. It copies scripts/build-ascspec-screenshots.py into the throwaway repo, derives the baseline/capture -> (device, app, slot) mapping from the gate's own `--list` output, seeds placeholder fixture files for every mapped baseline/capture and every 7-locale ascspec frame, commits that as a main branch, then branches off main once per scenario to make a real diff and run the gate against it with `--base main`. Nine scenarios are covered: three reproduce the #1112 gap (the gate treats "any file under docs/app-store/screenshots-ascspec/ changed" as proof the right frame was regenerated, so a drifted baseline paired with a regenerated-but-wrong slot, or only 6 of 7 locales for #998, both pass silently), and six confirm existing intended behavior still holds: an honest snapshot or capture regeneration, an unmapped baseline, the straightforward no-regeneration case (#995), and both escape hatches (commit trailer and the PR-label env override). This phase only writes the test — it does not touch the gate itself. Run twice for verification: once against the gate in this worktree, once against the identical copy fetched from origin/main (part of #1112), both times via the harness's --gate flag. Both runs produce the same result: cross-slot-snapshot, cross-slot-capture, and partial-locale FAIL (the gate wrongly passes them today), the other six PASS, overall exit 1 — pinning down the bug as a failing test ahead of the fix. One deviation from the original case list: escape-trailer and escape-label use the same diff as the no-frames case (baseline-only, no ascspec change) rather than the cross-slot-snapshot diff, because a cross-slot diff already satisfies the gate's coarse "ascspec/ changed" check and returns PASS before the escape-hatch code path is ever reached — using it would never exercise the escape hatch and would never print WARN. The no-frames diff is the only shape that reaches the escape-hatch branch at all. Related: #998, #995, #1054, #1001. Co-Authored-By: Claude Fable 5.1 <[email protected]> * fix(ci): check the store frame-drift gate per slot instead of per diff (#1112) mise-tasks/scan/store_frame_drift used to pass a PR as soon as ANY file under docs/app-store/screenshots-ascspec/ changed, so a drifted baseline paired with a regenerated-but-wrong slot (or only some locales, #998) went through silently and could get frozen by ASC on the next submission. The gate's ROWS now carry a 5th column, locale: "*" for a Slot() (one baseline feeds every locale's frame) or the specific locale for a CaptureSlot() row (a live capture only feeds its own locale, #1054). The coarse `grep -F docs/app-store/screenshots-ascspec/ <<<"$CHANGED"` check is gone. For every changed, mapped baseline/capture, the gate now expands every frame path it feeds (docs/app-store/screenshots-ascspec/<app>/ <device>/<locale>/<slot>.png, over ALL_LOCALES when locale is "*") and requires that exact path to also be in the diff — but only when the frame already exists at HEAD, since a locale the generator SKIPPED-NO-COPY never had one to begin with (`git cat-file -e HEAD:<path>`). Anything stale is named explicitly as `device/app/slot`, its missing frame path, and the baseline that changed — in the WARN (escape hatch used) and FAIL messages alike. `--list` gained a LOCALE column; its row count is unchanged (36: 22 Slot rows + 2 CaptureSlot x 7 locales). mise-tasks/test/store_frame_drift (#1112's self-test harness, added in a prior commit on this branch) now passes 10/10: the three scenarios that exposed the bug (cross-slot-snapshot, cross-slot-capture, partial-locale) correctly FAIL today and now correctly PASS once a slot's own frames are regenerated; a new case 10 (escape-trailer-cross-slot) confirms the escape hatch still works now that a cross-slot diff reaches that branch at all, which it never did under the old coarse check. Re-running the same harness against the pre-fix gate (origin/main's copy) still reproduces cases 1-3 as FAIL, proving the harness still catches the original regression. Back-tested against three real historical frame-regeneration commits in detached worktrees (`--base <sha>^`), confirming no false positives under the new per-slot logic: - 383b088 (store:capture 03-board frames, #1111): PASS - 34c3b03 (macOS 27 snapshot re-baseline): PASS - 93bdc18 (part of #1106, iPad board viewport): PASS .github/workflows/lint.yml's frame-drift-gate job runs the self-test (`mise run test:store_frame_drift`) as a step before the gate itself, and its header comment now describes the per-slot/per-locale check. The mise-task-operations skill's task table reflects both the updated gate description and the new test:store_frame_drift task. Related: #998, #995, #1054, #1001, #1111, #1104, #1106. Co-Authored-By: Claude Fable 5.1 <[email protected]> * fix(ci): group the frame-drift failure by slot and name both resolution paths (#1112) The FAIL and WARN output now print one block per (device, app, slot, baseline) with one "missing: <frame path>" line per stale frame, so the fix is copy-pasteable; the previous form repeated the "fed by" baseline once per frame (14 lines for a Slot() missing all 7 locales). The Fix section names both resolution paths explicitly: (a) regenerate on macOS and commit every listed frame, or (b) when regeneration produces a byte-identical frame (the compositor downscales, so a small baseline change can vanish), use the frame-drift-verified label or the Frame-Drift-Verified: trailer and say why. A strict gate without a documented honest exit is the kind that gets an escape hatch bolted on later and loses the check entirely. Harness: case 1 (cross-slot-snapshot) now also asserts the failure text points at the escape trailer and lists the en frame in the "missing:" form; case 3 (partial-locale) asserts the th frame in the same form. Verification (all on this commit): - bash mise-tasks/test/store_frame_drift -> 10 passed, 0 failed, exit 0 - same harness against the origin/main gate -> cases 1-3 FAIL (the hole is still detected), escape-trailer-cross-slot FAIL (old gate never reaches the hatch), 6 PASS - new gate in detached worktrees at 383b088 (#1111), 34c3b03 (#1104), 93bdc18 (#1106), each diffed against its parent -> PASS, exit 0 - shellcheck on both task files -> exit 0 part of #1112 Co-Authored-By: Claude Fable 5.1 <[email protected]> * fix(ci): treat a deleted store frame as stale, not as never-generated (#1112) Code review on #1113 flagged a BLOCKER: the per-slot drift gate read "HEAD:${frame} doesn't exist" as "the generator SKIPPED-NO-COPY this locale", so a diff that changes a baseline and `git rm`'s every frame it feeds passed the gate clean — the exact shape someone would use to make a red gate green without actually regenerating anything. Replace the single existence check with three explicit rules per expected frame: 1. missing at both HEAD and MERGE_BASE -> skip (never had a frame). 2. present at HEAD and present (non-deleted) in the diff -> fresh. 3. anything else -> STALE, including present-at-HEAD-but-untouched and present-at-MERGE_BASE-but-deleted-at-HEAD (the latter gets a "(deleted in this diff)" suffix on its "missing:" line so a reviewer can tell a drop apart from a plain stale frame). Rule 2 needs CHANGED_PRESENT (`git diff --name-only --diff-filter=d`) instead of the existing CHANGED, because CHANGED already lists deleted paths — matching a deleted frame against it would have made the fix a no-op. Harness: added case 11 (`deleted-frames`) — baseline A drifts, every frame it feeds is `git rm`'d. Confirmed red against the pre-fix gate (10 passed, 1 failed: deleted-frames, exit 0 instead of 1) before applying the fix, green after (11 passed, 0 failed). Cross-check against the 383b088 (pre-#1112) gate: cross-slot-snapshot, cross-slot-capture, partial-locale, and deleted-frames all correctly FAIL (the gate wrongly passes a diff that should be rejected), confirming the harness still discriminates old gates from the fixed one. Back-tested the fixed gate against three real historical commits — 383b088, 34c3b03, 93bdc18 — each `--base <sha>^`: all PASS, exit 0, no false positives introduced. Part of #1112, following #1111, #1104, #1106. Co-Authored-By: Claude Fable 5.1 <[email protected]> * test(ci): pin slot retirement and partial frame deletion in the drift-gate harness (#1112) Two more cases requested after the deleted-frames gap was plugged (part of #1112), to pin two more boundaries of the "HEAD vs MERGE_BASE existence" rules: Case 12 (slot-retired): deleting the Slot() line itself out of the generator's SLOTS table — not just letting a baseline drift — must stay a PASS even though baseline A still drifts and all 7 of its old frames are gone too. The gate derives its mapping from the checked-out working tree's copy of scripts/build-ascspec-screenshots.py (== HEAD in CI), so once that Slot() line is gone from HEAD, its baseline is no longer "mapped" and none of its frames are required. Sudoku's and minesweeper's iphone-6.9 01-home Slot() calls share byte-identical arguments (they differ only by which BASELINES_SUDOKU/BASELINES_MS root they resolve against), so the case retires sudoku's copy specifically by line number and asserts the signature's count drops from 2 to 1, not to 0. Case 13 (deleted-frames-partial): baseline A drifts, 6 of 7 locale frames are honestly regenerated, and only the th frame is `git rm`'d. The gate must flag exactly th as stale (with "(deleted in this diff)") and must not flag any of the 6 honestly-regenerated locales. Verified: all 13 cases PASS against the fixed gate (13 passed, 0 failed). Against 70574a1 (the previous commit, pre-deleted-frame-fix): cases 11 (deleted-frames) and 13 (deleted-frames-partial) FAIL — th being absent at HEAD was read as "never generated" and wrongly passed — while 12 (slot-retired) still PASSes, since that case doesn't touch the existence-check logic at all. Against 383b088 (origin/main, pre-#1112 per-slot check, 7 passed, 6 failed overall): cross-slot-snapshot, cross-slot-capture, partial-locale, deleted-frames, and deleted-frames-partial all FAIL as required; slot-retired still PASSes there too (escape-trailer-cross-slot also fails, as already established before this change — that gate predates per-slot checking entirely). Back-tested the fixed gate against 383b088^, 34c3b03^, 93bdc18^: all PASS, exit 0, no false positives. shellcheck clean on both scripts. Part of #1112, following #1111, #1104, #1106. Co-Authored-By: Claude Fable 5.1 <[email protected]> --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
Closes #1101
What
MinesweeperBoardView.macLayoutis selected byhorizontalSizeClass == .regular, so iPad inherited the Mac detail-pane caps (macOuterMaxWidth900 centring the layout,macBoardMaxSide600 pinning the board viewport to a 600 pt square in both orientations). #1101 measured ~540 pt of empty board column in portrait.PM ruling (2026-09-24, on the two-option numbers): Option A — the iPad board viewport fills the column (width and height), cell size left to the #764
cellSizingladder; seam S2 — an environment value, not#if os(iOS), so the macOS test host can render the iPad rule for the iPad snapshot and the ASC store frame.RegularBoardContainer.swift(new):.fillsColumn(iOS default) /.cappedDetailPane(macOS default) +\.regularBoardContainerenvironment key (same shape asMinesweeperCellTokens.swift).MinesweeperBoardView.swift:macLayoutoutermaxWidthandmacBoardColumnmaxWidth/maxHeightare 900 / 600 under.cappedDetailPaneand.infinityunder.fillsColumn.compactLayoutandcellSizinguntouched..fittedbranch) cannot grow into the column, and centring it in the full column height moved the blank from below the board to above and below — visible in the ASC Beginner store frame.boardGrid(fittedAlignment: Alignment = .center)now applies the alignment only to the.fittedbranch frame;fittedAlignment(for:)maps.fillsColumn → .top,.cappedDetailPane → .center; compact callsboardGrid()(default.center). Pinned byRegularBoardContainerTests; mutating the default to.topturns the 10 iPhone board snapshots red (T6-verified count; the two iPad/capped tests pass the alignment explicitly and stay green, as intended — the round-2 commit body's "11" counted a first-record iPad run), mutating the.fillsColumnbranch to.centerturns the unit test red.iPhone and macOS did not move (mechanical proof)
MinesweeperKitsuite on head (f73289d), my own run:Test run with 416 tests in 71 suites passed(exit 0); round 1 was 415 / 71. Base (34c3b03) board suites: 23 tests / 4 suites green.git statusafter the run: no iPhone or Mac PNG modified. The only baseline changes are the iPad.fillsColumnre-record and the rename below.snapshotBeginnerCovered_regularCapped_light(new) hosts the same view at the same 1032×1376 /.regularsize but injects.cappedDetailPane; its baseline is the old iPad PNG moved byte-for-byte (221020 bytes, same blob) and it passes without re-recording — the Mac rule renders pixel-identically at a size where both caps bind.RegularBoardContainerTestspins the platform default; mutating the#elsebranch to.fillsColumngoes red (Expectation failed: (RegularBoardContainer.platformDefault → .fillsColumn) == .cappedDetailPane), green after revert.iPad baseline (rendered vs rendered, base 34c3b03 → head)
Board-iPad-light-beginner-coveredat 1032×1376: base = 600 pt cap inside a 900 pt centred column (board 592, top-aligned); round 1 = column 684 × 1344, board 682 square, centred vertically (the review BLOCKER); round 2 = same board flush with the column top, level with the HUD. Three-way composite:<scratchpad>/ev/ipad-baseline-3way.png.Store frames
mise run store:screenshots build-ascspecregenerated 168 slots, 0 failures; exactly the 7minesweeper/ipad-13/*/03-board.pngframes changed, every other frame byte-identical. Regenerated again after round 2 (168 slots, again only those 7 changed). Three-way side by side — pre-#1101 / round-1 centred / round-2 top-aligned:<scratchpad>/ev/store-frame-3way.png(round 2 puts the board back at the card top, under the HUD).mise run scan:store_frame_drift→PASS, noframe-drift-verifiedlabel needed. The Minesweeper03-boardframes stay #1054-affected (Liquid Glass G4 not renderable by the snapshot pipeline).Simulator re-measurement (#1101 method: grid = a11y-tree union of
MinesweeperCellButtonframes, viewport = pixel-scanned visible cell extent; iPad Pro 11-inch (M5), iOS 26.4, private sim; base and head measured on the same device)Base rows reproduce #1101's table exactly (same numbers on my device). Landscape cells are 45 (not the 44 I predicted) because the column top is y = 48, giving 750 pt of height; the portrait scroll branches start at y = 52 because of the 4 pt scroll-content margin. Round-2 numbers were measured after f73289d; Intermediate, Expert and all landscape rows are unchanged from round 1 except Beginner landscape moving 2.5 pt up (top-aligned). Three-way composites per configuration:
<scratchpad>/ev/compare-<difficulty>-<orientation>.png.Pinch-zoom (#815) on the new portrait Intermediate layout: works. XCUITest
pinch(withScale: 0.4)on a cell → a11y cell side 68 → 34 pt (the #815 0.5× floor), grid 1118² → 574² centred in the viewport at (36,324)–(610,898); ~13 of 16 columns visible at the overview instead of ~7. Evidence:<scratchpad>/ev/head-ipad-zoom/intermediate-portrait{,-zoomed}.png+-ax.json.Evidence dir (local, gitignored):
<scratchpad>/ev/—base-ipad/,head-ipad/,base-iphone/,head-iphone/(*.png,*-ax.json,probe-xcuitest.log),Probe1101.swift.archive(throwaway XCUITest probe, never committed),tools/.Review
Code Reviewer mandatory (>50 LOC): two independent reviews (sonnet + haiku) — round 1 (a137f69): haiku APPROVE, sonnet REQUEST-CHANGES with the Beginner-centring BLOCKER above (ruled and fixed in round 2); sonnet re-review of f73289d pending, result posted as a comment. Fresh-context T6 acceptance: posted as a PR comment.
🤖 Generated with Claude Code