Gate B human-walk: mask overlay washout + laggy knobs on iPad #55

Closed
opened 2026-09-07 21:17:34 +00:00 by grokbot_ty · 3 comments
Owner

Case

human-walk — Gate B mask UX on phone/tablet (Ty iPad @ https://192.168.1.202/)

Symptoms (Ty)

  1. Mask preview looks horrible — nearly solid green overlay, slab not visible.
  2. Sensitivity / Edge / Feather sliders take forever to adjust (multi-second lag).

Likely causes

  • applyMaskKnobs → removeSheetBackground on every range oninput (no debounce) = full CPU remask per tick on phone photos.
  • drawMaskOverlay paints opaque green; possible wrong mask polarity / Auto sheet failing so almost all pixels marked slab.

Product state required

Human can refine mask on a real slab photo: photo visible under translucent overlay; knobs respond quickly (debounce/throttle — cheap preview or rAF; full remask on input end / ~100–150ms debounce).

Dishonest proxies

vitest unit green; Select Photos BVT alone; homepage 200.

Branch

gate-b

## Case `human-walk` — Gate B mask UX on phone/tablet (Ty iPad @ `https://192.168.1.202/`) ## Symptoms (Ty) 1. Mask preview looks horrible — nearly solid green overlay, slab not visible. 2. Sensitivity / Edge / Feather sliders take forever to adjust (multi-second lag). ## Likely causes - `applyMaskKnobs` → `removeSheetBackground` on every range `oninput` (no debounce) = full CPU remask per tick on phone photos. - `drawMaskOverlay` paints opaque green; possible wrong mask polarity / Auto sheet failing so almost all pixels marked slab. ## Product state required Human can refine mask on a **real slab photo**: photo visible under **translucent** overlay; knobs respond quickly (debounce/throttle — cheap preview or rAF; full remask on input end / ~100–150ms debounce). ## Dishonest proxies vitest unit green; Select Photos BVT alone; homepage 200. ## Branch `gate-b`
Author
Owner

Tip live

  • Tip: 5a35dbf on origin/gate-b
  • Redeployed ubuDual5060 — hard-refresh https://192.168.1.202/
  • Fixes: translucent overlay, auto-sheet fallback, 150ms knob debounce
  • Not Gate green.
## Tip live - Tip: `5a35dbf` on origin/gate-b - Redeployed ubuDual5060 — hard-refresh https://192.168.1.202/ - Fixes: translucent overlay, auto-sheet fallback, 150ms knob debounce - Not Gate green.
Author
Owner

LIVE verify (product bar)

Tip: 247b6b9 on origin/gate-b — Playwright against https://100.64.0.9/

Check Result
Overlay translucent (avgAlpha ~16, max 80) pass
Knobs fast (sensitivity ~42–71ms, edge ~18–24ms) pass
Auto/green sheet not entire-frame slab (fraction ~0.20) pass

Evidence: test-results/gate-b-2026-09-07-live-verify/. LAN 192.168.1.202 unreachable from runner (Tailscale path verified). Not Gate green.

## LIVE verify (product bar) Tip: `247b6b9` on `origin/gate-b` — Playwright against **https://100.64.0.9/** | Check | Result | |---|---| | Overlay translucent (avgAlpha ~16, max 80) | pass | | Knobs fast (sensitivity ~42–71ms, edge ~18–24ms) | pass | | Auto/green sheet not entire-frame slab (fraction ~0.20) | pass | Evidence: `test-results/gate-b-2026-09-07-live-verify/`. LAN `192.168.1.202` unreachable from runner (Tailscale path verified). Not Gate green.
Author
Owner

Product correction (Ty P0 UAT)

Ty NEVER authorized a green overlay on the slab.

Expected mask preview

  • Show the actual slab pixels in the foreground
  • Background removed
  • Transparent/removed area = grey/white checkerboard (or equivalent)
  • NOT a green tint/wash painted over the slab

Current wrong behavior

drawMaskOverlay paints green over the mask — dishonest proxy for “mask visible.”

Product state required

Ty sees real wood on checkerboard while knobs refine the mask; debounce stays.

Dishonest proxies

Translucent-green “fix”; live-mask tests that only check avgAlpha of green; homepage 200.

## Product correction (Ty P0 UAT) Ty NEVER authorized a green overlay on the slab. ### Expected mask preview - Show the **actual slab pixels** in the foreground - Background removed - Transparent/removed area = grey/white **checkerboard** (or equivalent) - NOT a green tint/wash painted over the slab ### Current wrong behavior `drawMaskOverlay` paints green over the mask — dishonest proxy for “mask visible.” ### Product state required Ty sees real wood on checkerboard while knobs refine the mask; debounce stays. ### Dishonest proxies Translucent-green “fix”; live-mask tests that only check avgAlpha of green; homepage 200.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Ty_Tech/SlabUploader#55