Skip to content

[RDTE ONLY] Run actual Windows built-in GUIs inside WineBot and inspect scoped screenshots - #131

Closed
mark-e-deyoung wants to merge 25 commits into
mainfrom
experiment/wine-app-visual-ux-20261023
Closed

mark-e-deyoung wants to merge 25 commits into
mainfrom
experiment/wine-app-visual-ux-20261023

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

Actual WineBot UI execution, not WinBot native Windows

This is a DISPOSABLE PUBLIC $0 RDTE; NEVER MERGE branch based on prior closed-unmerged WineBot #130 qualification at 8814b4995a73ff582a1500675943f2e559a6e117. It deliberately reuses #124's real WinInspect v0.4.4 artifact pin and #125/#127/#129 public-artifact/log/provenance containment candidate, leaving all production PRs draft and main unchanged.

Purpose: directly run Windows built-in programs inside the real WineBot intent-rel Linux/Wine 10 + Xvfb image, observe visible X11 windows, produce only synthetic scoped individual window PNGs and a minimal status/dimension JSON; compare WineBot UI/UX/DX for human (including assistive), automation, and agent audiences.

  • Build actual WineBot intent-rel in a standard public Ubuntu runner, run the WineBot headless service, verify API health, Wine + X11 + window capture dependencies.
  • Within the disposable fresh Wine prefix, invoke Wine Notepad with a synthetic text fixture, Wine File Manager, Wine Configuration, Registry Editor. Discover their X11 windows by bounded matching; capture ONLY matching windows via ImageMagick X11 import -window <id> and strip metadata. If absent/unsupported, record window_visible=false, do not fabricate screenshots.
  • Artifact allows only PNG images and a schema-controlled report public_results.json with named-app launch/window/screenshot flags and public frame dimensions; no raw window names/paths, API credentials, host/hardware, logs, full-root screenshots, real documents, real user data or telemetry.
  • Disable recording and tracing, generate and mask a disposable API token, don't expose host ports, no VNC external access. Compose down with disposable volumes at exit.
  • No 3D games, unapproved installers, private CI, paid Windows runners, private source, sovereign nodes, production/physical host actions or release.

Boundaries: direct test-only container invocation of Wine built-ins is not proof of successful broker/API-mediated agent control; independent WinBot guest tests are unrelated. Accessibility tree observation is a separate qualified capability and X11 window discovery alone does not imply true UI Automation availability. Preserve first failures and exact artifact receipts.

Gate: run the exact PR head to completion, inspect actual images and safe manifest, then log findings in WineBot security and project workset; close PR unmerged, no branch deletion. Known v1 conformance remains red and unchanged; this research does not qualify #123 contract parity or authorize merging #124/#125/#127/#129.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 execution checkpoint — first real WineBot build / first failure

Exact initial branch head ffd6b129f1f84967ed29406b97d40f2918069fc4, public run 39993349239 completed FAIL after successfully building actual WineBot intent-rel and achieving WINEBOT_API_HEALTH=healthy, WINEBOT_WINE_X11_CAPTURE_PREREQS=PASS. It failed BEFORE launching the Windows apps at shell line 39: artifacts/public-wine-gui/results.csv: Permission denied.

Root cause: the WineBot service startup changes ownership of the bind-mounted host artifact tree to container UID 1000. The GitHub-hosted runner cannot subsequently write into that directory. This was a real WineBot host/container DX integration issue, not an app crash or Wine 10 launch failure, and not a reason to claim any screenshots from run #1.

Bounded corrective action: sudo chown -R "$(id -u):$(id -g)" artifacts/public-wine-gui after WineBot startup/health, constrained to this experiment's specific public output folder; no product/container base changes or privilege bypass in the runtime. New exact branch head 55e6a4adb7b67157f561e2b1d40aed0dc02aa81c; public Actions run 39994111643 in progress. Container build and process per-app verdict pending; keep separate from first-run proof.

Test surface: Wine Notepad (synthetic text), Wine File Manager, Wine Configuration, Registry Editor; X11 window-specific screenshots only; no WinBot/native Windows GUI, VNC listener exposed, user data, real source images, public raw logs, history mutation or production gate changes. All security, conformance, and merge gates retained.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 baseline real WineBot GUI execution RECEIPT — 96 DPI/grayscale

Exact PR #131 head 55e6a4adb7b67157f561e2b1d40aed0dc02aa81c; disposable public run 39994111643 COMPLETED PASS. This is WineBot intent-rel runtime built from previously qualified #130 base running Wine 10 with Xvfb, NOT native WinBot/Windows.

  • Image BUILD PASS; actual WineBot API HEALTHY; Wine/xdotool/ImageMagick import tools PASS.
  • Wine Notepad LAUNCH:1 WINDOW:1 CAPTURE:1 (synthetic UTF-8 local document visibly displayed).
  • Wine File Manager LAUNCH:1 WINDOW:1 CAPTURE:1.
  • Wine Configuration LAUNCH:1 WINDOW:1 CAPTURE:1.
  • Wine Registry Editor LAUNCH:1 WINDOW:1 CAPTURE:1.
  • Exactly four window-specific, stripped PNGs plus allowlisted JSON winebot.synthetic-window-rdte.v1. Artifact winebot-wine-builtins-window-only ID 12518678338, ZIP SHA256 fd5e3b447d4fb7ce2ba6a5e689f0e00af42ecc238b874102fea81309415bb482, independently downloaded/byte verified. ZIP members notepad.png (676×486), winefile.png (952×489), winecfg.png (410×411), regedit.png (952×489), public_results.json. No .dockerbuild, raw process logs, session IDs, public host IP, API token, full desktop root image, or private data in report.
  • First run 39993349239 failed before app launch due bind-mounted host artifacts ownership; fixed with a narrow post-start ownership normalization. Earlier first-failure preserved, no false screenshot claims.

Visual inspection: 96 DPI yields readable at original pixels but very small classic Notepad menu/text, Wine File Manager's crowded tiny toolbar/tree and mostly empty pane, a cramped 410×411 Wine configuration dialog with small labels and tabs, and tiny Registry Editor tree/column headings. The app surfaces do not inherit the WineBot dashboard's dark responsive style; they are classic Wine/Win32 controls, so appearance fixes belong at Wine DPI/GDI-font/theme/window-manager/profile boundary before CSS changes. Wine configuration reports Windows 10 compatibility personality, not the Wine executable version.

Boundaries: direct disposable Wine process launch + matching X11 top-level window screenshot is real runtime evidence but not WineBot broker/API /apps/run parity, WinInspect/UIA accessibility qualification, input/readback task acceptance, 3D/game performance or VNC/Web dashboard test. No production merge, private Actions, licensed installer, or sovereign host execution. Pending controlled DPI A/B follow-up on same experimental branch.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 A/B Wine DPI execution — 144 vs 96, grayscale held constant

Exact 144 DPI source 0b1c05f13017ab5a02e75695de7dab2f60d3714f; Actions 39995188180 COMPLETED PASS, all four Wine built-in app launches/window captures PASS, WineBot image built/health PASS. WINE_DPI=144, WINE_FONT_SMOOTHING=grayscale on fresh disposable prefix; all other application/test conditions as prior 96 DPI baseline 39994111643. No 3D renderer/host/WinBot session equivalence claimed.

Downloaded and hash-verified exact artifact: ID 12518844161, ZIP SHA256 2025e341422657695885a580ea06c7cd5737eecce8218e5997c312e43556eb3b, only notepad.png, winefile.png, winecfg.png, regedit.png, public_results.json. All raw frame PNGs individually viewed.

Window 96 DPI 144 DPI
Notepad 676×486 674×475
Wine File Manager 952×489 950×478
Wine Configuration 410×411 611×577
Registry Editor 952×489 950×478

Empirical visual result: 144 DPI clearly increases menu/dialog/tree/text size and improves human legibility; Wine Configuration grows by ~50% in both dimensions. But built-in File Manager and Registry Editor retain almost constant window pixel dimensions, causing clipping of wide columns and registry hive text at 144 DPI; Notepad body/editor font grows less conspicuously than its menu. This is a real UI/UX layout and CV/OCR scale trade-off. Thus do not indiscriminately replace fixed 96 DPI automation profile: introduce explicit versioned human-readable (e.g. 144 DPI + adaptive window geometry), assistive (144+ text/focus/semantic), and deterministic-agent (fixed pinned DPI/resolution/smoothing) configurations with per-screenshot transform/viewport metadata and scale-aware bounding boxes.

Next exact parallel question: a third public branch candidate 4754828b6760f1351221f7e0ff2006cdf91a68bc tests ClearType at 144 DPI plus read-only local WineBot /windows and /wininspect/capabilities, /wininspect/windows readiness while Notepad runs. Only HTTP-success booleans / bounded count class will enter its allowlisted JSON; no API tokens, HWND values or untrusted window data published. Pending run 39996249349, no semantic result claimed yet.

All runs on public synthetic WineBot cell, release and security gates remain unmodified.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 third real WineBot visual & semantic RDTE — ClearType has no observed improvement; WinInspect unavailable

Exact candidate 4754828b6760f1351221f7e0ff2006cdf91a68bc on public run 39996249349, COMPLETED PASS (WineBot image/API/X11 and all four builtin app launches/windows/screenshots). Third profile 144 DPI + cleartype vs earlier 144 DPI + grayscale; same four Wine builtins/1280×720 desktop. Exact result artifact ID 12518954716, ZIP sha256 5d1a0df27ef71cde61c9b9a08d38208023081954534821dc438f577dcc748b0a; bytes independently verified, five allowlisted files only.

Visual-difference observation: at equal 144 DPI, Notepad and Wine Configuration PNG bytes match the grayscale condition exactly. File Manager and Registry Editor differ only in small dynamic date/status regions from separate runs; no font rendering difference was visible in static UI regions. ClearType produced no demonstrated benefit on this Xvfb/headless pipeline; keep grayscale for reproducible CV and avoid claiming font smoothing parity on real hardware displays.

Important native semantic gap exposed: while real Notepad was open, authenticated read-only GET /windows returned success; GET /wininspect/capabilities and GET /wininspect/windows did NOT return successful responses; window count class unavailable. This is concrete public WineBot v0.4.4 candidate failure to expose WinInspect semantics under the tested runtime, NOT yet diagnosed as missing binary, disabled daemon, process crash, timeout, protocol rejection, or permissions. A targeted boolean/status diagnostic is warranted before proposing a fix. Do not infer UI Automation absent systemwide or enable mutation/workarounds merely because X11 screenshot works.

Control acceptance remains unqualified: these RDTEs used docker-local Wine executable launch in a disposable cell and only read-only local HTTP; they have not validated WineBot /apps/run, /wininspect/click, broker-managed leases, keyboard semantics, screen-reader access, or real-user control. Production PR #124's checksum fix built an image but successful WinInspect daemon semantics were not previously established by smoke checks. Existing #515 security/public artifact and v1/vNext release gates remain separately open.

Copy link
Copy Markdown
Collaborator Author

2026-10-23 terminal precise WinInspect packaging diagnosis, beyond the initial unavailable endpoint

Actual exact-head public WineBot RDTE run 39997099944 at 89feed8837ff5820096c44620ab9a5b920634cdb COMPLETED PASS for image build, service health, X11 and all four built-in Windows app launch/window/screenshot checks. Artifact 12520482464 SHA-256 4bcbc3089ed89f838e6020c1a7f7bdce21ac9fd43ba6123354260f4d39f43811, independently downloaded, hashed and JSON read; only four window PNGs and allowlisted public_results.json.

WinInspect read-only diagnosis while synthetic Notepad window observed:

x11_windows_api_ok           true
wininspect_capabilities_ok   false
wininspect_windows_ok        false
WinInspect enabled           true
WinInspect installed         false
wininspectd.exe present      false (at configured expected directory)
wininspect.exe present       false (at configured expected directory)
wininspect-gui.exe present   false (at configured expected directory)
daemon running               false
TCP ready                    false

This is specifically a path/inventory mismatch, not merely failed WinInspect TCP or a demonstrated upstream semantic-model failure. Fresh read of upstream authoritative SemperSupra/WinInspect@v0.4.4:source/scripts/build-portableapps.sh lines 29–43 shows the PortableApps ZIP stages executables under App/WinInspect/; WineBot docker/Dockerfile unzips the verified ZIP into /opt/winebot/windows-tools/WinSpy, while WineBot api/core/wininspect.py defaults tool_dir() to that flat root and expects wininspectd.exe, wininspect.exe, wininspect-gui.exe immediately beneath it. Consequently the expected runtime file path is likely /opt/winebot/windows-tools/WinSpy/App/WinInspect/wininspectd.exe, NOT /opt/winebot/windows-tools/WinSpy/wininspectd.exe. This inference follows immutable upstream build script plus verified runtime absence at the wrong path; the executable nested path has not yet been independently listed inside this actual container, so avoid overstating that last detail.

Next minimal correction: create an independent draft integration candidate on the approved #124 package build composition, resolving tool_dir() to the verified PortableApps nested location (while supporting the old flat location/custom env path) and add path-inventory unit tests. Rerun fresh public WineBot intent-rel with non-mutating /wininspect/capabilities and /wininspect/windows, then report actual daemon readiness/capability. Do not weaken ZIP SHA pin, copy binaries blindly, disable broker, merge into main, or assert full semantic HIL qualification without that next empirical receipt.

UX conclusions preserved: 96 DPI grayscale baseline is tiny; 144 DPI improves UI legibility but causes clipping in non-resizing File Manager/Registry windows. At 144 DPI, ClearType yielded no measurable static-text improvement over grayscale in Xvfb screenshots. Prefer orthogonal visual profiles: human-readable with scale-aware geometry; deterministic-visual-agent with pinned DPI/resolution/smoothing and screenshot transforms; assistive focus and accessible names require a working WinInspect semantic path. All existing P0/conformance/security admission gates remain.

Copy link
Copy Markdown
Collaborator Author

DLE terminal experiment disposition — historical completed RDTE, not product acceptance

The disposable Wine 10 built-in GUI/X11 observation workcell has TERMINAL SUCCESS in exact-head public run 39997099944 (winebot-windows-builtins); no uploaded artifacts remain accessible in GitHub artifact enumeration. It is not an acceptance of image-by-image visual review, UI Automation, native WinBot or Wine 11. The run served its bounded window-discovery/first-blocker purpose and the current owner priority is Wine 11 native observer, already qualified separately in public Actions run 41873917181. Preserving branch/source and negative constraints avoids repeat Wine 10 diagnostic churn.

Exact source: 89feed8837ff5820096c44620ab9a5b920634cdb. CLOSE UNMERGED; no product correctness/visual acceptance inferred and no direct production main promotion. Keep historical first-failure evidence and original branch for custody, but remove this terminal disposable experiment from active review. Track remaining real Wine 11/native WinInspect product and security work through private #406, private #367 and WineBot research DLE. No private Actions minutes, branch deletion or release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant