Skip to content

[DRAFT RDTE] Integrate early writer admission with fenced persistent-owner CAS models and tests - #187

Draft
mark-e-deyoung wants to merge 2 commits into
rdte/mvp-early-entrypoint-writer-admission-20261122from
integration/mvp-early-admission-and-owner-cas-20261122
Draft

mark-e-deyoung wants to merge 2 commits into
rdte/mvp-early-entrypoint-writer-admission-20261122from
integration/mvp-early-admission-and-owner-cas-20261122

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

Single-source RDTE convergence

This PR is the source-exact combined qualification workcell, not a production owner-pointer migration. Stack on early entrypoint #184 edfffa4d4990fab0356b9e6a46bbd3801c46da6c, with one atomic source commit 590d1096f0427252808413224c93bc66ac200fc4, compare one ahead/zero behind and ten scoped paths. Independent pointer-model #185 at 56d06dcbd1055fd0fe8c18abe6a85d722cb8aeb3 and storage prototype #186 at 017dcbd25fb24e21958cd83a1dcc5bc3823d1bc9 provide authoritative underlying source blobs; no main or MVP #181 mutation.

Source custody

New exact-head public $0 acceptance

Run full lint/unit and source-bound frozen external conformance+smoke, all five blue TLC and four expected-red fail-closed controls, evidence/BuildKit/provenance/redaction/disposable guards and real layered Wine11 composite HIL where triggered. The parent #184 composite HIL run #44982148266 failed (initial health: reached infrastructure, no token/registry/API). #184 added fixed whitelist checkpoint diagnostics in commit edfffa4d4990fab0356b9e6a46bbd3801c46da6c; this combined branch inherits it and MUST not be considered real-guest qualified unless health and restart/generation proof pass. Separate exact-head CI success is not enough.

Explicit nonclaims/gates

The storage module is not called by entrypoint, server, or lifecycle. The active pointer remains the volatile /tmp/winebot_current_session, with possible orphaned durable intent. Correct live persisted owner switch, marker replay/quarantine, shared volume/mount and stale generation CAS require subsequent reviewed production integration and real SIGKILL/restart acceptance. Entry-point flock is cooperative local-Linux single-root only, NOT NFS/cross-host consensus, children clean shutdown, WinInspect private #468 cloud qualification or true HWND #166. Preserve DRAFT, no merge/main/release/hardware/private GHA minutes, paid cloud, local compute or private source projection.

Bring durable owner-model TLC blue and mandatory red orphan control,
strict isolated CAS storage and tests onto early entrypoint writer lease.
Preserve both independent formal families and every mandatory unit test.
Synthetic race accepts only explicit lock contention or stale generation;
no production pointer switch or cross-host safety claim.

Copy link
Copy Markdown
Collaborator Author

2026-11-22 — first unified exact-source qualification snapshot

One-tree commit 590d1096f0427252808413224c93bc66ac200fc4 exactly one ahead/zero behind #184 pre-acceptance edfffa4d4990fab0356b9e6a46bbd3801c46da6c: includes #185 source-safe blue/red persistent pointer formal models and #186 strict CAS module, correct both dependencies, combined trigger paths and all mandatory tests, preserving scripts/ci/test.sh mode 100755. Five blue TLC models and four mandatory expected red counterexamples passed public formal TLC #44983034135, BuildKit, RPC identity/redaction, trust provenance, disposable contracts and public evidence all terminal SUCCESS. Full CI #44983034181 and isolation #44983034068 pending at last observation. The first parent #184 actual Wine11 HIL #44982148266 failed health_initial and diagnostic rerun #44982906871 was still in progress; no native release-readiness claim.

This branch carries isolated storage code only; no production owner pointer hook. The future real runtime migration must be owner/fencing/crash order reviewed, preserve persistent state on replacement and run native Win11/AHK observer separately. No main/paid/private-minute/hardware changes.

On combined source #187, Ruff recognizes the actual api.core.writer_admission
module as first-party and expects no blank separator before api.utils.files.
Standalone #186 had opposite detection because that module was absent.
Fix only import grouping; all CAS, barriers, models and tests unchanged.

Copy link
Copy Markdown
Collaborator Author

2026-11-22 — combined exact source green formal/unit; native parent head advanced

Combined integration source now 71412921868f1f52cdf459c33ead40ca23d3e47b, retaining #184 edfffa4d4990fab0356b9e6a46bbd3801c46da6c as its original parent. TLC #44983177712 SUCCESS with five blue bounded models and four mandatory red counterexamples, provenance/BuildKit/identity/disposable/public safety all success. CI #44983177659 containerized lint and runtime-independent unit suite PASSED, wider browser/frozen conformance/smoke still running at receipt. Isolation #44983177662 SUCCESS.

Parent #184 advanced after #187's source commit to b76846de498f28f3a26ef4bfcf23d7fef3078746 with bounded session-ID generator/fail-closed mkdir checkpoints and crucial real Wine11 HIL workflow path trigger repair. These four runtime/diagnostic source changes and workflow trigger source are not automatically included in #187's earlier branch tree. Do not claim source union is final, rely on old HIL, or accept a behind base. After #184 exact-head HIL and CI qualify, reconcile the exact source blobs/ancestry into #187 or one renewed single integration branch, preserving all ten tested model/storage paths and test manifests, then run the new union exact source again. No production /tmp pointer routing or hardware/release readiness claimed.

mark-e-deyoung commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator Author

2026-11-23 independent source/CI reconciliation — parent HIL now green; union still unqualified

Latest upstream early-writer PR #184 HEAD b76846de498f28f3a26ef4bfcf23d7fef3078746 has terminal SUCCESS in full public CI #44983585073 and real Wine11 layered composite HIL #44983585085 (native step 'Build ephemeral candidate and qualify read-only Wine11 replay' green). This supersedes older #184 startup HEALTH_FAIL receipts only at the new exact source.
This PR #187 current HEAD remains 71412921868f1f52cdf459c33ead40ca23d3e47b, based on older #184 edfffa4d4990fab0356b9e6a46bbd3801c46da6c. Its own full CI #44983177659 and TLC #44983177712 are terminal green; these are not qualification of the latest combined source. Parent source repairs/trigger additions must be reconciled into one new exact tree with 10 existing model/storage paths, then full unit, formal red/blue, and real layered HIL rerun; no merge/release shortcut.

Separate unresolved pre-entrypoint boundary: compose/layered.yml state-init mutates external persisted user state before the runtime entrypoint obtains #184's lock (see earlier source-rooted PR184 DLE finding). Real HIL green does not establish two independent Compose projects cannot mutate the same state during state-init. Keep exclusive admission spanning state-init→runtime (or validated controller transfer), with competing-project negative control, persisted-file checks, crash/SIGKILL handoff and generation fencing. Persistent-owner module remains unconnected to live pointer until independently reviewed. Human STOP priority, zero private GHA minutes and no unreviewed production promotion.

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.

1 participant