Repository navigation
[SUPERSEDED / UNMERGED] Observer v0 consumer source integrated via MVP #181 - #167
mark-e-deyoung wants to merge 8 commits into
Conversation
…with sanitized RPC errors
…ty-redaction suite
2026-11-20 07:40+0100 integration ancestry/hygiene gateLive Git compare: #166 observer candidate Safe join order: corrected #468 WinInspect native binary+digest and #166 real HWND acceptance FIRST, reconcile #166 against exact latest owning draft head with no loss of #168 cancellation and #169 deadline tests, independently re-run combined workflow. Only then compose #167 read-only event-consumer contract into freshly accepted adapter, compare complete diffs and run its synthetic negative tests + broad conformance; do not assume product/provider supports v0 event contract simply because synthetic tests are green. Parent #158 remains draft with 14/14 old exact-head passes. No branch force-update or merge before native observer accepted. Failure/DLE lineages preserved; no unnecessary PRs created. |
2026-11-20 WineBot broad-conformance baseline attribution — sanitized artifact comparisonRetrieved public-safety sanitized artifacts from earlier WineBot main run 43616100705, artifact 14122332924, and observer PR #167 run 44682108040, artifact 14605022602. Both carry schema Therefore it is established that the observer PR did not increase the broad conformance failure count compared with that historical main checkpoint. Since the public reports intentionally hide individual failing test identifiers, this does NOT establish that the same seven assertions failed. No CI waiver, no claim of green broad conformance; the exact test difference is still unknown. Focused observer/identity test 28 PASS is independently recorded 44682108012. Public WineHQ 11 synthetic 44689542766: full version-matched launcher payload installed, NLS resource located and wine-11.0 gate passed; fresh prefix startup timed out (124) at 150s before any event counters. This is runtime startup blocked, event delivery not adjudicated. New public 44690187443 uses WINEARCH=win64, separate bounded wineboot initialization and synthetic observer probe with diagnostic markers, at checkpoint Ubuntu runtime installation IN PROGRESS. No private GHA action, no release. |
2026-11-21 — final DLE supersession / no source lossAuthoritative single direct review candidate: #181 exact Close this PR as SUPERSEDED / UNMERGED to remove duplicate review and merge paths, preserving the Git commit graph, original branch, PR conversation, evidence/run links and independent source history. Closure is not a claim of integration into protected |
Consumer blocker / source
WinInspect-private #463 implements read-only
observer.capabilities,observer.open,observer.pollon protocol0.4.0; WineBot's public adapter already uses wire protocol0.4.0but its explicitREAD_ONLY_METHODSdenied all three observer methods. This bounded, public WineBot change makes the consumer ready for a future qualified daemon, without claiming v0.5 product acceptance.Exact diff
Three scoped files:
api/core/wininspect.py, newtests/test_wininspect_observer_contract.py, and existing.github/workflows/wininspect-error-redaction.ymlupdated to run the added tests. Exact integration headdd00716cdfe159b88c5fd3a2e0c88c77c6369796(two commits ahead of main). No server, package manager, control plane, GUI, permission, listener or actuator changes.MUTATION_METHODS).WinInspectRPCError(WinInspectError). For observer methods, redact untrusted daemon error text and unknown codes; do not disclose remote hello identity or target identifiers.Admission/qualification
Use existing free public GitHub Actions (WinInspect RPC identity-redaction test workflow and any regular CI matching changed source). No private hosted minutes or real credentials; this does not start native Wine/Windows processes. Treat source as unqualified until exact PR-head CI succeeds.
Next gate
Follow public WinInspect#45 synthetic event proof with actual validated private #463 constructive projection and Windows/Wine11 daemon RPC, then this adapter's end-to-end consumer readback. Do not merge, deploy, or claim released v0.5 solely from synthetic tests.
2026-11-20 strict event-kind convergence
WinInspect native observer source emits exactly seven portable
kindvalues (window.created/shown/hidden/destroyed/location_changed/focused/foreground_changed). This PR now enforces that exact allowlist in the read-only WineBotobserver_poll()parser, while explicitly rejecting actuation-like/unknown values and non-string malicious payloads withWinInspectErrorrather than a Python type leak. Integration code and negative test head:e5bef7a3dc119556e6b485ee18ff3a3a2ec55ad7.mainare not attributed to this change without comparing exact failing assertions.2026-11-20 observer capability authority enforcement
Follow-on defensive check requires
observer.capabilities.actuation_authorityto be the literal JSON booleanfalse, denying missing,true, numeric0, and string"false"values without exposing untrusted daemon data. Synthetic negative tests added at exact PR headfd439d3c35282589be0bfc14c496c87314551d1f. Latest public observer regression 44682108012, BuildKit publication guard 44682108006, broad CI 44682108040 were queued/in progress at checkpoint. Previous exact-head event-kind allowlist focused 44681878337 PASS. No private Actions minutes, product merge, or native provider acceptance claimed.