Skip to content

[DRAFT] Wine 11 runtime/instrumented images and disposable deployment - #250

Draft
mark-e-deyoung wants to merge 19 commits into
fix/r063-layered-volume-admission-20261126from
rdte/r066-installer-integrated-20261127
Draft

mark-e-deyoung wants to merge 19 commits into
fix/r063-layered-volume-admission-20261126from
rdte/r066-installer-integrated-20261127

Conversation

@mark-e-deyoung

@mark-e-deyoung mark-e-deyoung commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Purpose

Make the integrated Wine 11 source usable as prebuilt disposable Linux/amd64 images, with separate runtime and instrumented modes, a usable browser desktop, and source-bound publication/deployment evidence.

Changes

  • Add runtime and instrumented OCI targets on pinned WineHQ 11.0. Runtime omits recording/debug tooling and prewarmed prefixes; instrumented adds native tracing/debug/recording tools and independent Windows input capture. Both retain the same Wine engine and ordinary input actuator.
  • Add a digest-only host launcher and read-only, UID1000 Compose deployment with six external state volumes, bounded resources, an internal workload network and loopback API/viewer ingress.
  • Bind each instance to its private control location, reserve administration in the Docker daemon, refuse conflicting writers and stop the verified containers even when Wine cannot quiesce. Ambiguous or unclean state blocks automatic restart.
  • Add passive mode/provider capability contracts, a separate observer credential and bounded window-lifecycle observation interface. Keep the exact WinInspect wire 0.4.0 requirement; the incompatible public v0.4.4 provider is not bundled.
  • Improve Human/CV viewer presentation, source-pixel geometry/replay, mobile focus/close behavior, keyboard access and truthful mode/provider/capture status.
  • Build and test only public source and synthetic inputs on standard hosted runners. Exercise actual Wine GUI save, independent input events, live RFB pixels, crash/recreate and the published-digest host launcher. Scan, sign, attest and verify the exact tested image objects before source-specific candidate delivery.
  • Refresh the Python packages that blocked the first candidate scan, disable ambient framework telemetry export, and replace an unbounded fixture display wrapper with explicit Xvfb readiness.

Current qualification and publication hold — 2026-11-30

Current exact delivery source: 70237f55a4f6a482d56ec047007aee7d9821423b on this existing draft PR, non-force/expected-head fast-forward from 8efcc5133dd773af9bae0d9b9555bbab0c011a65. Its three changed paths are the real-mode pressure probe, candidate image qualification script and read-only workflow timeout. Previously independent #254 / #255 were integrated by ancestry; no main/stable merge. New exact-head PR CI is running after integration; the separate pre-integration exact-head source already passed its required tests. Do not claim integrated PR acceptance until the new workflow census is terminal.

Actual sustained runtime and instrumented image qualification: public run 46349343936 / job 141619001891 terminal SUCCESS 2026-11-30 05:51:27 UTC. The job reports 396 tests passed, runtime 55 samples, 3329 seconds, instrumented 55 samples, 3329 seconds on source-exact local image objects. Each mode completed the real Wine GUI save/input journey, four-client/480-request observer/STOP denial pressure before and after its 55-minute sampled interval, unchanged cgroup limit-event counters, preserved app/profile/config state, real browser/RFB geometry, SIGKILL/recreate replay, and configured security-scan checks. Mandatory CI 46349344006 and publication-denial guard 46349343930 also passed for this exact source before integration. This is sampled post-STOP observation, not active 55-minute concurrent saturation, a hostile-tenant trial, an independently admitted provider, or physical hardware.

Publication remains blocked. R075 unconditionally denies push/public registry publication from this source. The historical GHCR development digests documented below are not exact-source hardware candidates and must not be promoted or deployed on the strength of these new results. Local Docker image IDs and archive SHA256 are not OCI manifest digests; independent custody, source/object mapping and security/reviewer admission are still missing. R077 verified only bounded historical receipt custody, not hardware approval. All eight mandatory pre-hardware checks remain open. NOT_READY_FOR_HARDWARE_TEST. Review the authoritative roadmap and private DLE R083 checkpoint. The independent R081 VM/QEMU/physical preflight work is synthetic/plan-only; R082 QEMU witness is not yet full-CI qualified.

Historical development-image verification (superseded source; no hardware admission)

Exact source: 3eb403a998484fc2b89273fa3edfbf7601f1324b.

Candidate publication run 46165227087 is SUCCESS, including all gates against the published images and final owned-fixture cleanup. The actual required cloud suite passed 396 tests. Local Ruff, mypy across 27 API files, shell/YAML checks and publication/capability guards also passed.

Mode Published immutable reference Uncompressed size
Runtime ghcr.io/sempersupra/winebot@sha256:a9daca88f426197b502e967c089633f28a008ad49889fb153ca104ac197db2e6 3,420,650,522 bytes
Instrumented ghcr.io/sempersupra/winebot@sha256:9bac690e5a742462ea5606e22eb83944798f1b6ce791d7708099f81c96dc6ed8 3,524,912,167 bytes

Both images are anonymously pullable. Pulled identity matches the tested local objects; signatures and CycloneDX SBOM attestations were verified. The configured scan gate reported zero fixed HIGH/CRITICAL findings for each image. Only source-specific candidate tags were published.

Both live modes passed real Notepad input/save, observer-role denial, STOP behavior, real browser/RFB pixel comparison, Human/CV geometry and crash/recreate state replay. Instrumented mode additionally passed independent Windows input sensing and tracer stop/restart. All four source-bound screenshots were actually inspected.

The actual host launcher passed for both published digests: custom loopback ports; stop/restart with all six volumes and unchanged credentials; exact data in a new container; refusal of a second private control directory; and real failed Wine quiescence followed by exact Docker termination, retained data and blocked restart. The deployment receipt is emitted only after scoped fixture cleanup succeeds.

Publication evidence artifact 15271593425 contains qualification/publication/deployment JSON, two browser receipts, four synthetic PNGs and two SBOMs. ZIP SHA-256: 5ef26847ad8cf954e7d9ae19d59e93398087e1b80492350486ca57740209f599.

All 19 executed workflows passed on this exact source; the duplicate PR publication run was intentionally skipped. No workflow remains active or failed. This includes main CI, real Notepad++/OpenTTD, real MSI restore, prefix restore, installer parity and recipe parity.

The 55-minute composite soak/recovery run 46165231940, job 141041238410, completed SUCCESS at 2026-11-28 17:31:10 UTC. Its actual log reports long_soak_passed at 17:29:00.736, openbox_recovery_passed at 17:29:05.233, pass at 17:31:08.146 and qualified_composite at 17:31:08.663. Source assertions cover the 3300-second resource soak, post-soak health, desktop recovery, runtime recreation and state checks after SIGKILL exit 137 and recreation.

That sustained result applies to intent-rel on compose/layered.yml, built from this delivery head plus pinned Wine11 base source 8c5ed8019a3518cf534b158662755172bfce7c59. The two new published mode digests have their separate image/launcher qualifications; a 55-minute soak is not assigned to them. Composite cleanup is best effort. Strict owned-fixture cleanup is established separately by the published-launcher deployment receipt.

The preceding f421afb8 scan failure was repaired with updated dependency pins; the two fixture startup stalls were repaired with explicit bounded Xvfb readiness. Current exact-source reruns passed without weakening those checks.

Scope and release status

This remains the existing stacked integration PR on parent #249 (5e975c5312b37debc29499ad264a34d10b065413), preserving its installer/recipe lineage and prior evidence. It does not retarget or merge protected main and does not promote a stable tag.

Live compatible WinInspect provider acceptance, the separately tracked protected lifecycle authority, hostile-workload containment and physical GPU/audio/input/assistive hardware qualification remain separate gates. The host-launcher fixes do not replace those gates.

Usage and precise capability/acceptance boundaries are in docs/disposable-runtime.md.

… onto R063

Source-exact additions from aa13b67; no runtime, security gate or mandatory CI edits. Draft RDTE only; no promotion.

Copy link
Copy Markdown
Collaborator Author

R067 exact-head reconciliation (2026-11-27): prior integrated head 35476bcc12bf356dac90a9c4fd2ba1adcb48daf9 passed all five workflows, including mandatory CI 45970482697. New head 2250985efc2ce27064fcfb9793b99a15e645f149 adds one bounded original Notepad++ MSI layered Wine11 qualification workflow; real installer run 46026593350 and CI 46026593150 in progress at observation. No runtime/security gate changes; no raw artifacts or installer publication. Original install/uninstall and saved-user-data checks are deliberately distinct from independent recipe reconstruction or complete rollback parity. Keep draft and all security holds. Canonical DLE. NOT_READY_FOR_HARDWARE_TEST.

Copy link
Copy Markdown
Collaborator Author

R068 source-exact reconciliation (2026-11-27): prior head 2250985efc2ce27064fcfb9793b99a15e645f149 all six workflows green; actual original MSI journey job 140599454605 emitted isolated runtime, GUI save/capture/uninstall and persisted-state recreate receipts. New head 4e0811a90739d685a456de773713d242b2c83aa3 adds independent quiesced prefix checkpoint copy, extra-file negative oracle, same-volume fixture restore and exact inventory verification after recreation. Rollback workcell and mandatory CI in progress at observation. This is not independent real recipe reconstruction or production rollback. Canonical DLE update. All security and hardware holds remain. No hardware candidate or merge.

Copy link
Copy Markdown
Collaborator Author

R069 DLE reconciliation (2026-11-28): exact prior head 4e0811a90739d685a456de773713d242b2c83aa3 six workflows PASS; real checkpoint rollback emitted restored inventory/system registry and post-recreation receipts. New head bdafdc5c4d817090cbe4272791234014c39ecf4e adds narrow independent static MSI payload replay into a fresh Wine prefix, executable hash parity and separate GUI save/recreation checks; no MSI execution in replay, no captured registry import. Real workcell and mandatory CI pending. Not full installer recipe parity or production rollback. Canonical roadmap. All hardware gates remain unchecked; no promotion or security hold discharge.

Copy link
Copy Markdown
Collaborator Author

R070 reconciliation: current bdafdc5 six terminal SUCCESS incl mandatory CI and actual MSI/rollback/static replay, job 140845995700 fixed emitted receipts through recreation, zero published artifacts. New independent #251 eceabf3 strengthens exact retained-byte/inventory postconditions and corrects observed Node20 setup-go warning using verified immutable Node24 action. Parent unchanged; child pending exact CI/HIL. Static replay still not complete recipe parity or production rollback. No holds discharged.

Copy link
Copy Markdown
Collaborator Author

R071 owner-aligned convergence: #251 exact eceabf3 all 3 workflows PASS (CI 46111310909; real installer 46111310878/job 140875243518; guard 46111310876); actual R70 mutation-negative and exact app/document byte recreation receipts, zero published artifacts, no warnings in inspected job. Expected-head non-force fast-forward from bdafdc5 to eceabf3 succeeded and #251 auto-closed merged into this draft only. Main unchanged. Treat #250 as owning delivery integration line, no PR per patch or owner review for reversible routine work. Next integrate qualified lifecycle #242 and pressure #239 from shared ancestor eda0169; eight overlapping runtime/CI/deployment/test paths require deliberate union, no blind overwrite or gate relaxation. Preserve version floor, exact initializer, volume identity and complete mandatory tests. Single exact-head actual Wine11 product proof required. Owner/actor sync before work and each checkpoint; retain existing safety/release/hardware holds. NOT_READY_FOR_HARDWARE_TEST.

Copy link
Copy Markdown
Collaborator Author

R072 cloud-only continuation: local actor deferred by owner. Exact ac830ff corrects stale WinInspect framing fixture to wire 0.4.0, tests unlisted method refusal and broker denial before all three input endpoints, enrolls omitted tests/test_wininspect.py in mandatory test.sh; no production protocol changes. Non-force atomic update of existing integration branch. 10/13 workflows terminal green at last read; CI 46115913242, real installer 46115913228, startup isolation 46115913226 pending. Independent child #252 305dc47 adds effective kernel leaf caps/permissions to actual app/game journey and explicit zero additional swap; guard green, real workload/composite/CI/layer tests pending. Do not cancel or duplicate active jobs. Reconcile exact results and fast-forward only qualified child. Existing integrated trusted authority and hardware holds remain.

Copy link
Copy Markdown
Collaborator Author

R073: ac830ff exact 13/13 workflows PASS incl actual MSI replay/retained bytes 46115913228 and mandatory CI 46115913242. #252 305dc47 exact 5/5 PASS, actual app/game job 140889868186 emitted effective resource envelope before/after recreation plus broker STOP and saved state replay. Expected-head non-force fast-forward into this owning draft succeeded and #252 closed; no main promotion. Next exact head 5d49139 pins observed msitools version and tests every static extracted application file against original installed bytes, retaining all original/replay/rollback assertions. Terminal receipts pending; not full MSI semantic parity. Roadmap R073. All holds and mandatory pre-hardware gates remain open; NOT_READY_FOR_HARDWARE_TEST.

Keep viewer chrome outside remote pixels, add deterministic CV presentation,
repair mobile drawer focus and preserve compatibility symlink entrypoints.
Add bounded public-only browser fixture qualification with inspectable PNGs.

Local qualification: 25 UI/CLI/profile/diagnostic tests pass.
Refs #250
Session: winebot-r074-usable-images
Separate runtime capture policy, passive provider discovery and observer credentials. Add digest-pinned disposable host deployment and live image qualification/publication, preserve explicit provider and containment limits, align runtime CI with Wine 11, and improve human/CV dashboard presentation.

Copy link
Copy Markdown
Collaborator Author

R074 reconciliation: R073 exact 5d49139 all 15 workflows PASS. Independent successor e4ad84c has 14/19 green, four active, one skipped at inspection. Real MSI job 141027639024 emitted static subset parity and independent GUI receipts; prefix restore and app/game green. Candidate-image PR run 46160863115 skips both jobs; the separate push-triggered package publication path is not a hardware gate and cannot be verified via the PR-only run listing. This workcell did not trigger it. Preserve active runs; next implement separate read-only exact-image qualification and fail-closed source/digest-bound promotion admission without relaxing security or pre-hardware gates. Roadmap R074. NOT_READY_FOR_HARDWARE_TEST.

…eployment

Keep Wine on its internal network while a bounded fixed-destination relay publishes loopback access. Register the startup tracer for API control, verify real noVNC pixels and CV coordinates, exercise published digests through the user launcher, and make legacy Wine11 fixture shutdown bounded and observable.
… recovery, and bounded fixture display startup
@mark-e-deyoung mark-e-deyoung changed the title [DRAFT R066] Converge installer capture and native fixture recipe parity onto R063 [DRAFT] Wine 11 runtime/instrumented images and disposable deployment Nov 28, 2026

Copy link
Copy Markdown
Collaborator Author

R075 / pre-hardware publication boundary: exact development head 3eb403a998484fc2b89273fa3edfbf7601f1324b has 18 green PR workflows plus separate green push publication/launcher run 46165227087. The already published objects remain bounded development evidence; no hardware designation, registry deletion or retagging. The composite 55-minute soak is for intent-rel/layered, not both distinct final mode images. Four-file corrective commit 8efcc5133dd773af9bae0d9b9555bbab0c011a65 closes automatic push publication, explicitly refuses the direct publisher before side effects, and enables the owning PR read-only qualification with all existing build/unit/GUI/recreate/scan assertions. Only bounded qualification JSON is uploaded on success; screenshots are hashed, not emitted as bytes. Exact-head qualification negative publication guard PASS; actual image build/qualification and remaining CI still pending. R075 roadmap. All eight pre-hardware gates remain unchecked. Next: implement and qualify independent source/object-bound receipt admission without opening publication; retain security/lifecycle/provider/installer/accessibility/soak holds. NOT_READY_FOR_HARDWARE_TEST.

Copy link
Copy Markdown
Collaborator Author

R076: exact 8efcc51 all 19 PR runs terminal green, including read-only image qualification 46193146510 and explicit negative publication guard. No hardware candidate admission: archive digest is not OCI identity, independent security/native WinInspect/shared control/rollback gates remain open. Independent review consistency draft #253 at 080418f is queued for public CI; it is deliberately not wired to publication and is synthetic only. Roadmap reconciled at 75bfc58. Preserve publication hold and all eight unchecked gates.

Copy link
Copy Markdown
Collaborator Author

R077: #253 R076 exact head 080418f passed all three workflows. Historical #250 image qualification run/job/artifact metadata reverified; new bounded public read-only audit at #253 bd5bd50 checks actual ZIP bytes and receipt plus five negatives (run 46247046987, in progress; CI 46247046986 pending; consistency and publication guard passed). Temporary expiring fixture audit, not publication admission. No OCI mapping or independent security approval yet. Roadmap reconciled at 3511a48. All eight pre-hardware gates remain open; NOT_READY_FOR_HARDWARE_TEST. No change to #250/main or hardware.

Copy link
Copy Markdown
Collaborator Author

R084 exact-source FAIL / production-owner escalation (2026-11-30). Public matrix 46414370762 at 6178378, both actual Wine11 OCI jobs failed. Runtime 141833207130 and instrumented 141833206653 first failed fixed assertion missing_ahk_refusal; xdotool refusal passed both, instrumented xdotool hook absence passed. Instrumented AHK hook absence failed; independent original file unchanged PASS and sibling saved-content unchanged FAIL in both modes. Actual wrong-target side effect, not a harness syntax/lint failure. Valid lease and live window positives passed. Source hypothesis unchecked AHK activation matches evidence; production fix belongs to #250/production owner (not this lane). Do not merge/admit AHK targeting, weaken negative assertions, or mark CRE bridge qualified at this pin. CI 46414370669 all three jobs SUCCESS; guard 46414370766 SUCCESS; matrix/guard zero artifacts; generic CI only existing allowlisted count-only summary 15377895631, 359B, sha256:bc5cc6f68ec9a8c2c799985f00f7822457c41253d1318331bba344407c1ea7af. Prior positive acceptance remains only at 4540613. #250 19/19 latest suite, #155 9/9, #254 3/3, #255 independent soak 4/4 plus shared suite, #256 10/10, #257 3/3 all terminal. No duplicate active run. START bounded R084 follow-on: correct test-harness failure path so both independent mismatch checks, STOP and confirmed Docker retirement execute even after a target-selection failure; never report overall PASS if any original assertion fails. Only owned runner/docs, no production workaround, no private source. Requalify exact successor on standard public matrix and CI; expected production refusal regression remains red pending owning repair. R075 unconditional hold, 8 OPEN gates, NOT_READY_FOR_HARDWARE_TEST. No image/bridge artifact publication, protected main, pins, WinInspect, private CRE, local actors or hardware.

Copy link
Copy Markdown
Collaborator Author

R084 production-owner follow-up: R084 failure-path CLOSE / production dependency BLOCKED (2026-11-30). Exact #258 head/ref 69a3771079c1e9cb680fabb294b3ea5a3fd425b3, parent 61783783c388b4e6720a67f2fada80022c1611a5, 13 ahead/0 behind #250 70237f55a4f6a482d56ec047007aee7d9821423b; only four R084 paths. Real public matrix 46423854595 terminal FAIL both modes (jobs 141865672837 / 141865673200). Direct fixed-marker readback and executable concordance check (connector-side evidence processing, not new hosted CI): 24 runtime and 29 instrumented markers; first failed check missing_ahk_refusal both, xdotool refusal PASS both, instrumented xdotool hook absence PASS/AHK hook absence FAIL. Original unchanged PASS, sibling changed FAIL both. Crucially, failure-path phase=stop PASS and positive Docker-scoped retirement_confirmed_absent PASS both despite existing wrong-target mismatch. Post-STOP sibling expected-text FAIL cannot establish additional STOP-caused mutation: baseline already corrupted; no claim of separate sibling no-new-effect. No final qualification marker; matrix remains NOT_QUALIFIED. Evidence checker rejected six labeled receipt mutations per mode (missing retirement, falsely green AHK refusal, falsely green sibling preservation, missing STOP, duplicate retirement, falsely green job conclusion); synthetic controls test receipt concordance, not new runtime faults. Guard 46423854557 SUCCESS, matrix/guard inventories zero artifacts. CI 46423854582 still IN_PROGRESS, preflight job 141865667353 building lint runner, no artifact at readback. Dedicated workflow exact source readback: standard ubuntu-24.04, read-only contents permission, no upload step or registry push; direct publisher blob eeadcd802360c8b7e96a5adb6e92b48fdb05d85d still unconditionally fails before publication. No new job or source mutation while current CI active; do not retry known-red identical production. Source inspection api/routers/input.py blob 85e46f3340dbe82bd0176b3ecdf04f6f7438fe0e lines 269–285: title and HWND branches both emit WinWaitActive followed by unconditional Send; route fail-closed resolution, verify actual active HWND, nonzero exit on timeout, and propagate refusal to owning #250. Preserve untargeted intentional behavior separately; also test stale/reused or ambiguous target and positive selection; do not claim a timeout check alone proves race-free dispatch. Await owning repair/source pin before bridge acceptance; no production modification here. Next R084 harness increment after CI terminal or owner repair: offline verifier in its separate network-none read-only container snapshot exact bytes of both files immediately before STOP (including corrupt sibling), compare post-STOP bytes against that observed baseline, preserve original expected-text FAIL and no raw/hash payload uploads. No duplicate long builds, no private source, actual CRE workspace, provider, VHE, native Windows, TrueNAS/KVM or hardware claim. R075 unchanged, eight gates OPEN, NOT_READY_FOR_HARDWARE_TEST.

Copy link
Copy Markdown
Collaborator Author

R089: separate bounded source-owner review candidate #261 at 942afe2cfc5635277ddb4c6e03447d53aca4330d addresses the previously escalated missing-target AHK defect without changing this branch or #258. It inherits the independent two-window verifier unmodified; only input.py and existing mandatory keyboard tests differ from #258. Actual bridge 46621660280, CI 46621660425 and read-only image 46621660116 pending. Review exact result before adoption; no merge or release. ID-only AHK requests now fail closed; title prefix must resolve uniquely, activation/PID/title/focus checks precede Send. Not atomic focus/STOP proof.

This branch has not been deployed

No deployments
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