Skip to content

test(public): smoke real projected WinInspect executables on Windows - #34

Draft
mark-e-deyoung wants to merge 6 commits into
mainfrom
qualification/public-projected-binary-smoke-20261020
Draft

mark-e-deyoung wants to merge 6 commits into
mainfrom
qualification/public-projected-binary-smoke-20261020

Conversation

@mark-e-deyoung

@mark-e-deyoung mark-e-deyoung commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

Use existing approved public schema-v2 projected source, not any private v0.5 source, to demonstrate more than compile-only proof on free public windows-latest.

Scope

Public-only build/deploy plane: add scripts/Test-PublicProjectedBinarySmoke.ps1 plus one stage in existing projected-source-ci.yml. No source/**, .projection/**, credentials, secrets, default branch, release source, test corpora, private repo access or private CI.

After the existing public manifest validator and C++/Go Release builds with WININSPECT_BUILD_TESTS=OFF, the smoke invokes the actual generated WinInspect daemon executable in configuration-only mode (--no-config --dump-config --bind 127.0.0.1 --ipv4 --no-discovery --no-mdns); verifies parseable JSON and loopback-only bind, then invokes the generated Go portable executable without arguments and verifies usage. It prints only PASS and public binary SHA-256, not ephemeral identity data. Each subprocess is bounded and isolated in disposable APPDATA and cleaned up.

Limits

This proves real executable startup/config/CLI behavior of the already approved public projected baseline. It does not test a daemon listener, TCP/pipe RPC, UIA/Office, v0.5 transport/correction, WinBot, sealed dispatch, or private-source safety. Those remain held behind independent source-sanitization and runner-admission gates under WinInspect-private #387/#406 and Agent Dispatch #561/#581.

Admission

Draft PR only. Public-free Actions should trigger from this workflow diff. No private Actions or sealed runner dispatched. Verify exact PR head and native job steps/artifacts before classifying. Do not merge or publish on CI success alone.

Public-only live framed named-pipe increment

At final candidate head 4150acf46fccb1441cbae66f88801292ba2edf84, the third public file scripts/Test-PublicProjectedPipeSmoke.ps1 starts the existing published sanitized baseline daemon in isolated temporary APPDATA, --headless --read-only --no-clipboard and a unique local named pipe. Configuration pins the only TCP bind to 127.0.0.1, assigns OS ephemeral port 0, disables mDNS/discovery/rendezvous/HTTP/HTTPS/update-check, and terminates the daemon process tree and temporary files on success/failure. It sends a bounded 4-byte little-endian UTF-8 framed daemon.health request to localhost, checks bounded JSON reply, correlated request ID and ok=true; prints only safe verdicts. This does not validate the newer #400 pipe size limits, native v0.5 contracts or any attended UIA app.

Public CI run 39374200993 passed baseline compiled C++ and Go binaries plus config/CLI execution; daemon binary digest 11a32d311a5ca31f7e1f4ec230806415df9a2b03fbeba440ba7a71202a5fbe66, portable CLI digest 62ef8c85538df6e2932174290f8bbb1468fe6249237098cd4af34c904825166a. Live pipe stage only passes if new head CI 39374747486 completes successfully. Security job 39374747326 green. Draft/merge/release held.

2026-10-20 native IPC acceptance finding (hold)

Actual public run 39375042674 reached local named-pipe framed daemon.health readback, but exact request-id/ok oracle FAILED. Source causality independently verified: CoreEngine::handle overwrites resp.id=req.id when assigning the handler-returned fresh CoreResponse; daemon.health handler does not populate ID; no subsequent restoration. Earlier first run 39374747486 failed solely due unsupported harness ReadTimeout; fixed async harness. The product-level defect was reported to WinInspect-private DLE #406 and corrected solely in authoritative private draft #415. Previous public experiment #18 carries similar historic insight but must not be merged as a direct public source fix.

The latest public head uses a privacy-minimized diagnostic reporting only response-ID-match and success booleans, no result, hostname, paths or identifiers. Its current native run 39375734945 will remain FAIL if the old projected product responds without correlation; that is a legitimate negative oracle. Do not weaken the assertion or merge this public PR while its live functional check fails. Only a separately reviewed constructive source projection from private may correct the product after independent qualification. This PR contains only public CI/test code, not private source.

@mark-e-deyoung mark-e-deyoung left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2026-11-20 R06 negative-gate preservation. Exact public PR head dd3c8f6590c1b3cd5c282938f9d79c00fb4040c9: Projected source CI run 39375734945 completed FAILURE; public security validation run 39375734943 completed SUCCESS. The draft describes a strict named-pipe daemon.health request/response ID mismatch on the older approved projected source. This is a valuable falsifier, not stale test noise. Do not suppress the ID assertion, merge this failing gate, directly edit projected public source/**, or claim that private PR #468 already fixed this build. Re-run only AFTER authorized private exact-source testing + constructive sanitized projection/manifest validation. Align its live test with WineBot #166 RPC ID matching; then check paired unique requests, success and error responses. This review is a read-only gate disposition, not runtime qualification.

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