Add wc-capture: forensic front-end capture of our deployed app

Playwright tool to mirror our own WorkClaw app's compiled front-end (CSS,
JS, fonts, SVGs) and dump each screen's DOM + computed styles, for matching
Clawmates to the real thing instead of guessing from screenshots.

Auth is by hand (you log in, incl. the emailed code, it reuses the session);
`live` mode does login + capture in one go for OTP logins. out/ + the one-off
grab scripts are gitignored; eslint ignores the captured minified assets.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
Omar Sobh
2026-06-12 08:00:16 -05:00
co-authored by Claude Opus 4.8
parent 23a4bad07d
commit 355a6f23b9
4 changed files with 275 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# Captured reference material + session — never commit (it's a snapshot of the
# live app, and auth.json is a live session token).
out/
# One-off forensic scripts (hardcoded session/claw URLs) — keep local, not in repo
grab*.mjs