Skip to content

[DRAFT MVP IC1] Unified control, recovery, durability, observer and async reap - #181

Draft
mark-e-deyoung wants to merge 28 commits into
mvp/ic1-integration-20261117from
integration/mvp-control-reap-observer-20261121
Draft

mark-e-deyoung wants to merge 28 commits into
mvp/ic1-integration-20261117from
integration/mvp-control-reap-observer-20261121

Conversation

@mark-e-deyoung

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

Copy link
Copy Markdown
Collaborator

R031 single MVP source-review candidate — 21 November 2026

Base retargeted to owning qualified MVP #158 mvp/ic1-integration-20261117@9809519b94b9074ed681b297237f6dec89d43186; source HEAD unchanged eda01696f297b930185546993a2f5184e340603c. Compare gives 27 commits ahead / 0 behind, 28 intended source paths, incorporating source-qualified #173 formal, #174 recovery, #177 durability, #167→#180 read-only observer consumer, and #179 real child-reap regression. This PR is now the single direct candidate for review/integration against #158, rather than a stacked merge into #176; no change to source files or user runtime was made by retargeting.

Exact source-head results BEFORE retarget: full CI #44912186223 SUCCESS, TLC #44912186227 SUCCESS, eight focused source/provenance/publication checks SUCCESS. Re-read any PR events triggered by base change and require all new terminal source-head checks before acceptance. Underlying #158 already had 14/14 source-bound success incl real layered Wine11/Notepad++/OpenTTD, backup and restore, and conformance, but that is historical baseline evidence, not a native WinInspect v0.5 release.

No release/hardware promotion. Private WinInspect #468 still lacks admitted cloud C++ core qualifier, reviewed projection and new public executable, so WineBot #166 true HWND acceptance deliberately fails on stale v0.4.4. Separate formal/OS process-admission follow-ons #182/#183 remain DRAFT and are NOT part of this exact candidate; no distributed CAS/remote fencing, orphan-inactive recovery or already-emitted input/recorder effects claimed. Protected main unchanged; no private GHA minutes, paid inference, local hardware or GHCR image publication.


Goal

Converge the two separately exact-head CI-green MVP-dependent source workcells on canonical qualified cross-layer control, recovery and durability baseline #176. This is not a release or native WinInspect v0.5 admission.

Source-custody and atomicity proof

Canonical #176: 3cdfdc2299f732d2d2e23139b6a05a919e4106b5, CI success #44872891236 and TLC+eight focused exact-head checks green.
Observer consumer #180: 1c78994b334dc07ade047e2ecc2819003598cd5f, CI success #44889403077 and eight focused green, with original #167 read-only adapter/event source+test blobs.
Async direct-child reap #179: 5271b6040d78de6cb3cf7a40e7ce612f70ebed7b, CI success #44873076259, TLC and BuildKit green.

This integration branch begins at exact #180 and applies only two byte-identical blobs from #179 under one new Git tree commit eda01696f297b930185546993a2f5184e340603c: tests/test_mvp_inflight_cancel.py and .github/workflows/formal-cross-layer-tlc.yml. Compare against #180 shows exactly two paths, one commit ahead/zero behind. The formal workflow retains production source path triggers and adds the cancellation test. The mandatory scripts/ci/test.sh remains 100755 with both regression suites enrolled, as independently checked from the actual Git tree. No runtime modifications beyond source already in #180, #176, #167.

Runbook / acceptance

Run new combined exact-head public GHA full lint/unit, frozen v1 contract conformance, integration smoke, TLC three safety models + two known-bad red controls, observer/error redaction, disposable provenance and publication guards. A PASS on each independent parent is not a substitute for this union. Investigate first exact failure without waivers or weakening input/cursor/authority checks. Do not move the protected MVP/main branch or merge draft until accepted review and explicit release gates.

Non-claims / blockers

  • Proves synthetic direct-child termination/reaping upon async task cancellation; does not undo X11 events already delivered or kill arbitrary process groups/grandchildren/AHK.
  • WinInspect read-only observer v0 consumer contract is not native daemon event delivery, actual Notepad++ HWND acceptance, screenshot/a11y actuation, or WinInspect v0.5 release. The current public v0.4.4 daemon is known unqualified. Private WinInspect #468 lacks admitted $0 nonpublic cloud C++ qualification and reviewed projection; Agent Dispatch #561 owns that admission.
  • Multi-process ownership CAS, inactive orphan journals, recorder finalization and already-committed guest effects remain separate proof obligations.
  • Preserve DRAFT and NOT_READY_FOR_HARDWARE_TEST. No private GHA minutes, paid services, user hardware, private source projection or binary/image publication.

Import exact source/test blobs from independently CI-green #177 into the
combined formal/recovery MVP candidate #176. Preserve authoritatively
qualified state sync semantics and trigger TLC for persistence changes.
No release promotion; all combined exact-head gates must run again.
Bring exact existing #167 RPC adapter, synthetic contract regression and
focused CI workflow onto canonical MVP #176 without replacing newer code.
Enroll new tests in mandatory full CI. This is consumer-readiness only;
no native WinInspect release or Wine11 HWND acceptance claimed.
Carry byte-identical test and formal-path source from exact-head green
#179 onto fully CI-green observer consumer #180. Preserve executable
mandatory test runner and validated source blobs. This is a source-only
integration candidate; terminal combined-head CI and review remain gates.

Copy link
Copy Markdown
Collaborator Author

2026-11-21 — unified-source qualification and closure sequencing

Actual source convergence: #181 exact eda01696f297b930185546993a2f5184e340603c is one commit above independently exact-green observer consumer #180 1c78994b334dc07ade047e2ecc2819003598cd5f, and contains only exact #179 blobs tests/test_mvp_inflight_cancel.py 6d73239ad56b4a8ec23733ef3b59d80aaa317099 and formal workflow c67060667eb50ca7c834b89f6cde9c777d0c335f. Git tree scripts/ci/test.sh mode is 100755 with both mandatory suites; no production semantic changes beyond #176/#180.

New combined exact-head public results: TLC #44912186227 SUCCESS incl three blue models/two expected red controls; unit isolation #44912186197 SUCCESS; BuildKit #44912186213, RPC redaction #44912186244, provenance #44912186202, disposable contracts #44912186214, public evidence #44912186273 and vNext evidence #44912186290 all SUCCESS. Full CI #44912186223 has preflight unit PASS, conformance/smoke still in progress at checkpoint. Do not promote or supersede #179/#180 until terminal full CI.

Separate next-proof workcell: #182 models two competing processes (not modeled in existing session handover) and records a proposed epoch/lock admission protocol, with production gap explicitly held. It is NOT part of this source integration. WineBot Issues are disabled (GitHub 410); PR/docs are DLE authority. No main merge/hardware/private minutes/paid services.

@mark-e-deyoung mark-e-deyoung changed the title [DRAFT MVP IC1] Integrate exact-head green read-only observer and subprocess-reap controls [DRAFT MVP IC1] Unified control, recovery, durability, observer and async reap Nov 21, 2026
@mark-e-deyoung
mark-e-deyoung changed the base branch from integration/mvp-cross-layer-atomicity-20261121 to mvp/ic1-integration-20261117 November 21, 2026 14:19

Copy link
Copy Markdown
Collaborator Author

2026-11-21 — critical-path source consolidation and upstream entrypoint authority gap

Unified source candidate: #181 retargeted directly onto accepted qualified MVP #158 with unchanged source head eda01696f297b930185546993a2f5184e340603c; full CI #44912186223, formal TLC #44912186227 and all eight focused checks terminal SUCCESS. Duplicated source drafts #173/#174/#177 and #176/#179/#180/#167 now closed UNMERGED with exact hashes, individual test receipts and survivor #181 documented; no source history/branch removed, protected main unaffected.

Parallel model qualification: #182 at 638f3cacd0451009fa39371af4d4451e2cdd5a02 qualified four TLC blue models and three required red counterexamples in formal #44912931173 after correcting a one-line disjunction parse/next-state modeling defect; broader CI still pending. No claim of production two-process fencing.

Critical design discovery: #183 adds an API lifespan process lock and real POSIX synthetic two-process/SIGKILL tests, but static review of docker/entrypoint.sh + scripts/init/30-start-services.sh proves shell entrypoint writes starting, initializes Wine/infrastructure, optionally starts recorder/tracing and persists API token before background uvicorn obtains its new lifespan lock. Therefore #183 is explicitly API-ONLY/NOT_RELEASE_READY, not global process admission. Required sequential next work is early entrypoint admission + atomic FD/ownership transfer with real two-entrypoint failure injection, followed by persisted generation CAS and orphan recovery. Do not waive this by treating a green Python-unit or TLC model as a system-level pass.

Native observer blocker unchanged: WinInspect-private #468 exact source C++ qualification and approved projection still lack an admitted nonpublic $0 cloud executor (Agent Dispatch #561); WineBot #166 deliberately rejects unqualified v0.4.4 at the real HWND gate. No secret projection, paid private runner, hardware, release or main merge.

Copy link
Copy Markdown
Collaborator Author

2026-11-22 R036 — three independent free-tier batches, no source-merging assumption

Direct owning MVP #181 remains eda01696f297b930185546993a2f5184e340603c, all full CI/focused gates PASS, intentionally unchanged.

Independent successor work:

  1. #184 current de024b17b2b7e2d51a9a746a494c6ab13c5de3a2: entrypoint-to-API single kernel writer lock OFD across early root/shell/Wine startup; first synthetic root-only CI mismatch corrected. TLC and focused guards green, full CI/real Wine11 layered HIL pending.
  2. #185 56d06dcbd1055fd0fe8c18abe6a85d722cb8aeb3: ephemeral /tmp active-pointer loss red/blue model, TLC and BuildKit green, full CI pending.
  3. #186 505a4b8dea440dc0a09825f1cbd461a40308a20f: strict one-file durable owner generation-CAS storage primitive and two-real-process test, NOT wired to production pointer/entrypoint/resume. Initial source review corrected no-false-ACK on fsync failure. TLC and focused safety green; full CI pending.

Dependency and branch hygiene: source-only formal model and CAS storage are independent of early admission and may qualify simultaneously on $0 public GHA, but production startup/recovery integration is SEQUENTIAL after #184 exact real container admission passes. Both branches modify formal workflow; both #184/#186 modify mandatory tests manifest, so a future integrated source tree MUST combine all specific trigger/test entries rather than overwriting one entire blob. Do not close/merge drafts, run private Actions, use user hardware, release native WinInspect, publish raw source or claim atomic host+guest effects. Owner approval and native WinInspect #468/#166 remain gates. DLE = Durable, Legible, Executable.

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.

2 participants