Skip to content

fix(wininspect): use v0.3.0 RPC protocol for WinInspect v0.4.4 - #139

Closed
mark-e-deyoung wants to merge 3 commits into
fix/wininspect-daemon-loopback-20261023from
fix/wininspect-rpc-protocol-030-20261024
Closed

mark-e-deyoung wants to merge 3 commits into
fix/wininspect-daemon-loopback-20261023from
fix/wininspect-rpc-protocol-030-20261024

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

Protocol correction — stacked draft, no merge

The exact real-WineBot run 40011098133 at 1fd0abf28d7f69dfd74e9edfde3cb7ee92f36a76 proved WinInspect v0.4.4 installed, daemon running, loopback TCP ready, synthetic Notepad visible and /windows working; WinInspect capabilities/windows endpoints remain non-200.

Source comparison: immutable SemperSupra/WinInspect@v0.4.4:source/core/include/wininspect/types.hpp explicitly declares PROTOCOL_VERSION = "0.3.0" (separate from release 0.4.4). source/daemon/src/request_handler.hpp returns E_PROTOCOL_VERSION for a mismatched params.protocol_version. WineBot was hardcoding "0.4.0" in that field.

Changes: explicit WININSPECT_PROTOCOL_VERSION="0.3.0", source-of-truth version in outgoing params, no caller override, three synthetic frame/protocol tests included in normal unit lane. Preserve original WinInspect TCP framing/hello, do not suppress an error response or bypass broker/lease enforcement.

Dependency chain: this draft stacks on #138 (local-only read-only daemon, qualified loopback), which stacks on #134 (complete v0.4.4 PortableApps nested directory). Production main still requires independently gated #124 pinned v0.4.4 build asset, security #515 reviews, and v1 contract #123 decision. Do not merge.

Next proof: apply this exact patch to additive disposable public WineBot RDTE #136, run actual /wininspect/capabilities and /wininspect/windows under Wine with synthetic Notepad. Record safe booleans/counts and exact first failure if any. A passing RPC is only read-only sensor qualification, not authorized agent input or model training.

Copy link
Copy Markdown
Collaborator Author

2026-10-24 independent correction qualification — not yet admitted

PR #139 at exact draft head 4cd84793bfa64efd3e157de0ef3325fcb4c4cb8e correctly distinguishes upstream WinInspect v0.4.4 release from PROTOCOL_VERSION=0.3.0. Its exact files were composed into public RDTE #136, but that runtime still failed the semantic acceptance gate after the version correction.

Exact 2026-10-24 project-native DLE handoff: latest f8d0635ec37a86046dfbbd3412d07e71fb45e43d, run 40045869471 real WineBot/Notepad/Linux+Wine, nested executables/daemon/TCP/health PASS; /wininspect/capabilities and /wininspect/windows HTTP 502, response_id_mismatch in the allowlisted RPC diagnostic. Do not infer this PR is sufficient for semantic compatibility. Remaining next step is safe upstream handshake/response-framing differential and strict RPC ID tests; avoid suppressing errors or leaking raw hello/runtime information. #139 stays stacked draft on #138→#134; security #515 and legacy conformance #123 gate production. Normal exact-head unit run 40045869518 was still running at handoff.

Copy link
Copy Markdown
Collaborator Author

Git/DLE hygiene: completed stacked source rung, retained in successor #141

Correct v0.4.4 daemon RPC protocol constant 0.3.0 and its synthetic negative fixtures are exact ancestors of active #141, which separately adds daemon-response error redaction. GitHub compare 4cd84793bfa64efd3e157de0ef3325fcb4c4cb8e → efb69db7b348b727e4a97093109cc02c6b41d245 confirms ahead and 0 behind, so the current draft #141 contains all original source commits. Prior first failures and exact-source CI receipts remain at this historical PR; main has NOT absorbed the stack.

Disposition: CLOSE historical PR UNMERGED, preserve original branch/SHA until ownership/worktree reconciliation. Active product/security review remains #141, security #515, WinInspect-private #415/#461. The existing official WinInspect v0.4.4 response-ID defect still makes the actual Wine semantic RPC endpoint fail-closed; do not claim successful application observation or merge/release. No private CI minutes, public private-source projection or remote ref deletion.

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