Innovation Engine — productivity

A/B Variant Glance Card

June 22, 2026

Whenever a new landing-page variant ships on bys-website (a commit matching `feat(ab-landing)`), this renders every live variant side-by-side into one stitched image and drops it on the TCL e-ink tablet plus a desktop notification. Right now each new variant (dee_service, dee_letter, the 3-way sticky split) lives behind its own `?variant=` URL that has to be opened one at a time — this lets Ethan eyeball them all at once and catch a visual regression or an off-brand variant before it gets traffic.

bys-website gitPlaywright MCPTCL Note tablet sync (~/Tablet/)

Create ~/bin/ab-variant-card (bash, ~70 lines): (1) poll `git -C ~/bys-website log -1 --format=%s` via a cron entry every 15 min, dedupe against a state file at ~/.local/state/ab-variant-card/last-sha, and only fire when the subject matches `feat(ab-landing)`. (2) Read the variant list by grepping the admin preview bar source for the known variant keys, or hardcode-then-discover from `?variant=` handling. (3) For each variant, drive the existing Playwright MCP / `mcp__playwright__browser_navigate` + `browser_take_screenshot` against the live URL `https://braceyourself.solutions/?variant=` (or the *.pages.dev preview), saving PNGs to /tmp. (4) Stitch with ImageMagick `montage -tile x1 -geometry +8+8 -label '%f' /tmp/variant-*.png ~/Tablet/ab-variants-$(date +%F).png`. (5) `notify-focus` with the count of variants captured. Add a regression test in ~/bin/ab-variant-card.test.sh asserting the dedupe state-file logic and that a non-matching commit subject produces no output.

Needs Review
Build timed out after 5 minutes
Active Projects
russ-telegram, innovation-engine, joyos-lab-staging, joyos-labs-monitor, jekelinspections
Category
productivity