Repository navigation
[DRAFT] Three-layer disposable runtime, versioned apps and persistent user state - #154
mark-e-deyoung wants to merge 46 commits into
Conversation
… and build custody in public GHA
R019 — disposable three-layer architecture, public replay and source custody (2026-11-15)Commander's architectural requirement: every build/test worker and deployment runtime is disposable/stateless; retain only independently managed persistent per-user files, environment config, Wine prefix, artifacts and shared state. Install/add apps into a separately versioned, immutable application layer rather than per-boot mutable runtime. Keep humans, automation and agents on the same interfaces. Authority and scope: accepted Applied implementation:
Exact-head public evidence: first source/shell checks passed but first replay GHA 43728219445 failed safely at state-preparation. Corrected GHA 43728365490 SUCCESS through end-to-end synthetic container and state replay, no artifacts. Current hardened head GHA 43728793762 SUCCESS through source checks and tamper-resistant replay; source provenance/publication/WinInspect redaction guards also SUCCESS. Broad CI and focused historical Wine startup workflow were still running at last exact readback and must be checked separately before any integration claim. Boundaries and next READY: Proof covers disposable OCI/staging/state primitives, NOT end-to-end Wine 11 running under read-only rootfs, Windows MSI/EXE install semantics, registry/AppData migration, arbitrary app compatibility or rollback of actual user profiles. Wine11 source exact short+55-minute REL 43702228758 passed on distinct #150 branch but cannot be transferred to #154. Next independent Workcells: (A) build/validate actual Wine 11 layered read-only-root/mount HIL against reconciled source without altering #150, (B) qualify reversible app package/registry migration and user backup/restore, (C) audit remaining floating external tool/E2E image dependencies and secret-file delivery, (D) qualify actual WinInspect Windows/Wine and legacy contract semantics. Keep #154 DRAFT/UNMERGED until demonstrated HIL + release/security acceptance. No secrets/private assets, paid/private Actions minutes, host grants, image publication or public raw artifacts used. R019 follow-on — tamper guard, lint correction and real Wine11 composite HILAdditional fast-forward commits on #154: Verified hardening head 43728793762 SUCCESS with no published artifacts. Lint-first broad 43728793688 failed only Ruff I001 at newly added test imports; corrected source head HIL tests actual Wine11 startup, read-only image, uid1000, app-mount immutability, persisted prefix/config/home/data/evidence, 90-second sampler, runtime recreation and exact state readback. All synthetic external volumes are created and destroyed in public GHA, separate from any user storage; no image pushes, runtime artifact uploads, privileged host or paid/private Actions. The composite source must not be mistaken for a merged release or proof of arbitrary Windows installer overlay compatibility. |
|
R020 coordination (2026-11-15): Independent draft #155 now owns the autonomous phased RDTE/hardware-acceptance roadmap and source-only installer prefix inventory/delta tool. This does not change #154's three-layer runtime/app/state implementation or its promotion hold. #154 focused replay previously PASS at |
|
R020 independent correction (2026-11-15): #154 composite run 43729612802 failed at fixed stage |
|
R021 continuation (2026-11-15): cold-start main Corrective change on #154 at head Next READY: observe terminal composite and exact two init categories; repair actual failing invariant with source-only bounded changes, preserve #150 standalone Wine11 source at |
…tartup attribution
R021 — Parallel corrective batches (2026-11-15)Authority: public Layered composite workcell: Real composite HIL #43731051207 failed before runtime: Installer capture independent workcell: #155 initially compiled and passed source-only synthetic inventory/delta, but used host filesystem paths susceptible to ancestor-symlink swapping. Verified Go 1.25 Ongoing gates: actual layered runtime Compose/bootstrap and 90-second/read-only replay, long soak/fault recovery, independent application registry/AppData overlay, state backup/restore, Wine observability/WinInspect, human/a11y arbitration, frozen legacy-v1 contracts, privacy/security and hardware acceptance. Keep all explicit failure receipts. Source-exact synthetic PASS != product or release PASS. |
|
R022 source-exact composite reconciliation (2026-11-15). Run 43753063914 terminal FAIL at startup on #154 |
|
R024 exact-head checkpoint (2026-11-16). Draft #154b6ce2b0: prior HIL 43797826726 terminal RED at initial Docker healthcheck despite RUNNING runtime, prefix registry PRESENT, API credential PRESENT and direct authenticated API PASS. Cause traced to YAML linebreak between curl and URL. Commit b6ce2b09 atomically changes to a single authenticated CMD-SHELL healthcheck with no anonymous fallback and repairs literal Compose $$ source-test assertions, retaining concurrent volume/bootstrap work. Exact disposable contract 43799214021 SUCCESS; three-job focused 43799213920 all SUCCESS; publication/provenance/WinInspect guard workflows SUCCESS. Integrated Wine11 HIL 43799213903 still in progress at last observation. No production readiness or merge claim; hold actual layered soak/state/fault acceptance for real HIL PASS. Consolidated source+DLE: https://github.com/mark-e-deyoung/winebot-research/issues/1#issuecomment-6906636007. |
|
R026 exact-head composite acceptance checkpoint (2026-11-16): #154 source On same source, disposable contracts 43799214021, focused unit/startup 43799213920, provenance/BuildKit/WinInspect redaction/public evidence guards all PASS. However full CI 43799213907 remains TERMINAL FAILURE solely at frozen conformance; preflight & integration smoke PASS. #123 independently owns contract semantics; do not waive/merge this draft on the basis of composite success. Still unqualified: long-duration layered resource/fault/recovery (the 55m soak is standalone #150), rights-cleared actual Windows app/game/installer replay, input broker multi-actor/a11y, WinInspect production acceptance, backup/restore/migration, release provenance/security, GPU hardware. NOT_READY_FOR_HARDWARE_TEST, no public image push, prod change, private GHA minutes, hardware access or release authorization. Next READY: fix frozen v1 contracts under #123 and add layered long-soak/fault/state backup replay with exact-source evidence; preserve draft and DLE traceability. |
|
R027 source-exact DLE reconciliation (2026-11-16): #154@ |
…sposable public runner
…conformance unit manifests
…meral source bake-off
…volume for nonroot restoration
|
R029 continuation, source-exact authority 2026-11-16: accepted New independent source-integration workcell (non-promoting) on #154: Independent six-volume backup/restore RDTE uses only generated synthetic external volumes on ephemeral public GHA. First #43861862143 failed restoring from runner-owned local archive directory into UID1000 container. Fix moves all archives into a separate UID1000-owned Docker backup volume and tests digest rejection of corrupted copies. #43862359731 failed pre-execution source guard that still expected old tamper-stage label; full restore is NOT qualified yet. No private profiles/backups or hardware accessed. Source current #154 Critical operational hygiene: each #154 PR push retriggers expensive 55m composite due pull_request path diff semantics, even for unrelated new files; avoid further sequential writes while active combined candidate tests execute. Correct scoped source-guard mismatch in ONE reconciled commit after integrated job verdict, or isolate future short workcells in a separate PR. No source promotion, private Actions minutes, real data upload, forced merge or hardware execution. |
R030 — WineBot cross-owner qualification, source-bound (2026-11-16)Accepted protected main remains Cross-branch source-integration proof now PASS on #154 exact Backup/restore RDTE: six separate external synthetic state volumes backed up into an additional synthetic UID1000-owned archive volume, SHA-256 positive/negative/tamper checks, restore into six new empty volumes and non-root proof readback. Public child #156 at 5bcf35e6, run #43863371251 terminal PASS, as did independent push test #43863362671. Parent #154 source has one stale test-guard string, so parent run #43862359731 failed before backup execution; minimal child #156 now has one-file diff limited to that source guard. Temporary child push-mode exception was reverted at child head #155 real rights-cleared WinAPI installer + Wine filesystem/registry install and uninstall lifecycle remains terminal PASS at |
|
R033 — source-exact parallel WineBot execution checkpoint (2026-11-16). Installer reconstruction: #155 exact source Layered recovery housekeeping: #154 exact parent head Protected |
|
R033a exact-parent qualification addendum (2026-11-16): after direct byte-identical reconciliation and closure of redundant child #156, parent draft #154@ |
|
R030 activation blocker (read-only inspection): |
|
WinInspect R08 cross-project security handoff (NOT consumer PASS). Owner approved migration to TLS1.3 mTLS for the WinInspect TCP control listener. Private WinInspect PR #487 exact |
|
R08 handoff for WineBot consumer: WinInspect-private #488 now contains owner-authorized parallel native/disposable workcells, including |
R027 current authority — 2026-11-16
Source head:
474b603b2471f0334c4de15fd77317a7f2b8e070· accepted main:f5ba0256f330958dcf35710a822508cdb31fc40b.Three-layer Wine11 startup/recreate/SIGKILL recovery: PASS — public composite 43800438352 passed at
adcec596f90d7aed9fb253b6b521e252e3863e59. Later source adds a distinct 3300s layered resource/trace soak and Openbox recovery; exact-head public composite 43837574516 was still IN_PROGRESS at last observation. Full CI on prior head remained RED at frozen conformance; #123 fixes not integrated. Still draft: no GPU, app/game, backup/restore or accessibility acceptance.Hardware gate remains NOT_READY; protect private evidence; public free-tier Actions only. Existing DLE comments and historical decisions remain authoritative for their exact source.
WineBot disposable three-layer architecture — source-qualified draft
Authority:
SemperSupra/WineBot@main f5ba0256f330958dcf35710a822508cdb31fc40b. This PR's source is474b603b2471f0334c4de15fd77317a7f2b8e070at this checkpoint, DRAFT and UNMERGED.Layer contract
nocopyvolumes for Wine prefix/registry, home, configuration, user files, session evidence and shared state. Bootstrap is least-authority and idempotent; never delete or recursively rewrite real user state during image lifecycle.The opt-in deployment is
compose/layered.yml, not the original legacy Compose stack. API health requires a real credential and has no anonymous fallback.Verified exact-source evidence
474b603b2471f0334c4de15fd77317a7f2b8e070: real 55-minute resource soak, authenticated post-soak health, bounded Openbox recovery, disposable container/SIGKILL recovery and persistent profile/config/user/evidence replay. Disposable contracts #43837574808, focused CI, provenance/publication/security guards SUCCESS; zero HIL artifacts published. Its full CI #43837574794 remains FAILURE only at mandatory frozen contract conformance; preflight and smoke SUCCESS. Separate CI: emit provisional vNext conformance evidence slices #123 passed conformance but has not been source-integrated here.Release holds
Mandatory legacy-v1 conformance is still red on this branch's full CI; #123 independently achieved a green frozen contract run, but its compatibility changes have not yet been reviewed/promoted onto the base. Also pending: actual Windows application/game and installer overlays, registry/AppData migration and rollback, external-volume backup/restore, WinInspect/a11y human-agent acceptance, secrets delivery, supply-chain/source rights and hardware-specific graphics qualification.
Do not merge, publish images, deploy to hardware, spend private GHA minutes or remove persistent volumes on synthetic CI evidence alone.
Owning DLE: https://github.com/mark-e-deyoung/winebot-research/issues/1