Skip to content

[RDTE ONLY] Compile corrected WinInspect RPC source and verify inside WineBot - #140

Closed
mark-e-deyoung wants to merge 27 commits into
mainfrom
qualification/wininspect-correlated-source-wine-20261024
Closed

mark-e-deyoung wants to merge 27 commits into
mainfrom
qualification/wininspect-correlated-source-wine-20261024

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

RDTE ONLY — compile already-qualified upstream WinInspect #18 correlation fix and run in actual WineBot/Wine

Motivation: WineBot #136 proved actual executable layout, read-only loopback TCP, and RPC wire 0.3.0 but /wininspect/capabilities and /wininspect/windows return HTTP 502: response_id_mismatch on exact run 40045869471. Root cause is already known and independently fixed experimentally, not a new patch request: WinInspect issue/PR #18, x64 and ARM64 Windows CI 35118765766. The v0.4.4 public release remains uncorrected; do not silently accept missing IDs in WineBot.

Controlled single-run public $0 test

  1. Checkout exact public WinInspect v0.4.4 source SHA b2d07ae3ff1df53a62c27ec3fa27f1452ff5926a, no token persistence.
  2. Apply upstream #18's exact one-line semantic patch resp.id = req.id; at the common post-dispatch site with a unique-anchor precondition; build wininspectd.exe with standard public Ubuntu MinGW cross-compiler, no OpenSSL network dependency or private source.
  3. Build WineBot's actual intent-rel image from the previously vetted, unmerged security/build composition; copy only the newly compiled daemon into that throwaway container after verifying SHA-256 bytes match; no Docker image promotion or release ZIP modification.
  4. Launch synthetic Notepad inside real Wine/Xvfb; request authenticated read-only /windows, /wininspect/capabilities, /wininspect/windows. Print only booleans, count classes, allowlisted software versions, source SHA, and trial gates.
  5. No GitHub artifact uploads, BuildKit history, network listeners except WinInspect loopback, raw host logs, screenshots, private source, private Actions minutes, remote sessions, or mutating RPCs. Cross-compiler and binary remain ephemeral on the public runner, discarded with the job.

Fail closed if patch anchor, MinGW compiler, source build, copied-binary integrity, WineBot health or WinInspect semantics fails. This does not authorize merging upstream #18, product WineBot #134/#138/#139, release binaries, stock-client substitution, or broker input. Source-only experiment and normal CI expected legacy v1 conformance red are independent.

Disposition: close this experimental PR unmerged after evidence, retain branch and exact run receipt. Next step after proof is a separately authorized, version-pinned upstream release/integration; no permanent ID-less response compatibility shim.

Copy link
Copy Markdown
Collaborator Author

2026-10-24 terminal first failure — upstream patched WinInspect source build under public Linux MinGW

Exact immutable test: Actions run 40046540351 on WineBot@5fa975bcffdf18509854b2f669497252b386e3b9 completed FAILURE, scoped Windows-in-Wine qualification; no silent retry or private runner used.

Passed independent boundaries:

  • Checkout immutable public SemperSupra/WinInspect@b2d07ae3ff1df53a62c27ec3fa27f1452ff5926a (v0.4.4).
  • Unique-source-anchor application of the existing upstream #18 correction (resp.id=req.id after dispatch): PINNED_SOURCE_PATCH_GATE=PASS.
  • Public GitHub-hosted Ubuntu MinGW x86_64 installation: SOURCE_CROSSCOMPILER_PRESENT=true.
  • CMake cross-compiler configure targeting Windows, with WININSPECT_USE_OPENSSL=OFF: WININSPECT_PATCHED_CMAKE=PASS.

First failing step: cmake --build wininspect-source/build --target wininspectd --parallel 2 returned nonzero in ~2s: WININSPECT_PATCHED_BUILD=FAIL. Error details remained in job-local suppressed compiler log and are not qualified, so do not infer a specific unsupported header, toolchain ABI, compiler warning, missing symbol or upstream code failure without the actual diagnostic.

Not executed: patched daemon binary generation, post-copy hash check, WineBot replacement-in-disposable-container, semantic /wininspect/capabilities or /wininspect/windows verification. No patched binary or screenshot uploaded; there is no Wine runtime PASS from this effort. The original WineBot 502 response_id_mismatch is a confirmed uncorrected-release issue.

Source-custody and gates: This test's original intent was a non-publication Linux cross-build; no release or binary artifact was generated. Upstream #18 remains open/unmerged, with independent Windows Server x64 and native ARM64 source-level PASS (35118765766). Continue only via (a) bounded, non-sensitive compiler error classification on a fresh public Linux RDTE, or (b) an explicitly approved temporary Windows-native build → Linux Wine qualification path with release/license/artifact custody reviewed first; do not infer approval for a new public binary artifact. Maintain strict WineBot RPC ID matching, broker gates and #515 source/privacy controls.

Disposition: scoped cross-build feasibility first failure recorded. Preserve branch and logs/run receipts; no merge/release. This PR can be closed UNMERGED as a falsified qualification, and future compiler/Windows bridge work should use a new bounded candidate with evidence of suitability.

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