Repository navigation
[DRAFT RDTE] Integrate early writer admission with fenced persistent-owner CAS models and tests - #187
Conversation
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.
2026-11-22 — first unified exact-source qualification snapshotOne-tree commit 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. |
2026-11-22 — combined exact source green formal/unit; native parent head advancedCombined integration source now Parent #184 advanced after #187's source commit to |
2026-11-23 independent source/CI reconciliation — parent HIL now green; union still unqualifiedLatest upstream early-writer PR #184 HEAD Separate unresolved pre-entrypoint boundary: |
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 commit590d1096f0427252808413224c93bc66ac200fc4, compare one ahead/zero behind and ten scoped paths. Independent pointer-model #185 at56d06dcbd1055fd0fe8c18abe6a85d722cb8aeb3and storage prototype #186 at017dcbd25fb24e21958cd83a1dcc5bc3823d1bc9provide authoritative underlying source blobs; no main or MVP #181 mutation.Source custody
PersistentSessionOwnerblue,PersistentSessionOwnerUnsafeknown-bad).api/core/persistent_owner.pycorrected strict v1 schema/generation/idempotent sync from [SUPERSEDED / UNMERGED] Persistent-owner CAS source integrated into qualified-base #187 #186; exactformal/PERSISTENT_SESSION_OWNER.mdfrom [SUPERSEDED / UNMERGED] Persistent-owner CAS source integrated into qualified-base #187 #186.tests/test_persistent_owner.pyfrom [SUPERSEDED / UNMERGED] Persistent-owner CAS source integrated into qualified-base #187 #186 with one synthetic race interpretation correction: the losing process may be rejected due to exclusive flock contention or a stale persisted generation; both are required fail-closed outcomes, and exactly one commit must succeed. No single result is falsely treated as generic success.ControlLease, SessionHandover, ReleaseAdmission, SessionWriterFence, PersistentSessionOwner) and four independent mandatory expected-red counterexamples (stale input, split-owner restart, unfenced two-writer commit, orphaned persistent intent). Retain source path triggers for shell early admission, both writer modules, diagnostics and tests.scripts/ci/test.shretains 100755 mode and all early admission/startup tests PLUS storage CAS tests. No unqualified source replacement or test skipping.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.