Skip to content

[DRAFT Formal RDTE] Exhaustive two-deployment gate interleavings and unsafe handoff witness - #209

Draft
mark-e-deyoung wants to merge 2 commits into
rdte/mvp-deployment-gate-r1-20261123from
formal/mvp-gate-interleavings-r1-20261123
Draft

mark-e-deyoung wants to merge 2 commits into
rdte/mvp-deployment-gate-r1-20261123from
formal/mvp-gate-interleavings-r1-20261123

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

R040 independent two-lock protocol model — source-only

Parent exact #207 702eb98ec07cc7b17c49ebc01ad2690b776b5a0e. New head a38669c3d1e2b013d7a11a3fdf4723acf9a55a11 adds only formal/tests/test_layered_deployment_gate_protocol.py and formal/LAYERED_DEPLOYMENT_GATE_MODEL.md; no overlapping owner code, no rerun/cancellation of its long Wine11 HIL.

Source-only bounded model checker: stdlib BFS enumerates all reachable states (up to 14 transitions) for two independent deployment actors, exclusive deployment gate, separate init/runtime writer lease and controller crash/recovery. Positive invariant prohibits B initializer completion while A's prepared state is awaiting runtime acquisition under a nonfailed controller. Deliberately unsafe variant releases the gate after state-init, and the model must exhibit 7-step counterexample with interposed B initialization. Both controls pass locally; exact-head public CI is required and not yet claimed.

This abstraction does not prove actual Docker Compose scheduling, flock inode path custody, hostile same-UID/root threats, gate health, distributed NFS, API persistent CAS activation, or native WinBot/WinInspect release. Those remain exact-head live and critic gates. Zero private GHA/hardware/artifacts. DRAFT only.

Copy link
Copy Markdown
Collaborator Author

R040 formal first-red corrected — 2026-11-23

Initial source a38669c3d1e2b013d7a11a3fdf4723acf9a55a11: local stdlib unittest both positive and deliberate unsafe-interleaving checks PASS; first broad public CI #45176085912 terminal FAIL at Ruff I001 import sort (formal/tests/test_layered_deployment_gate_protocol.py:6). No substantive model failure. Corrected import order and registered model tests in mandatory scripts/ci/test.sh in exact head 2fda447a8fe8bd1abbd8a78767ec104e5f2be53a; new CI #45176419324 in progress. Deliberate unsafe model must generate 7-step witness, positive bounded 2-party model must not show interposed initializer within 14 steps. It is a Python state-space check, not TLC, Linux flock implementation proof, cross-host consensus or production release. Owner #207 long Wine11 HIL remains independent.

Copy link
Copy Markdown
Collaborator Author

R040 corrected formal source receipts — 2026-11-23

Current 2fda447a8fe8bd1abbd8a78767ec104e5f2be53a: existing formal TLC workflow #45176419487 terminal SUCCESS, CI unit isolation #45176419480 SUCCESS, disposable layer #45176419284 SUCCESS; current full CI #45176419324 and Wine11 #45176419474 still running. This only validates original TLC models plus new finite-model tests wherever invoked; do not misstate that TLC itself proved the newly added 2-lock Python BFS. Hostile same-UID inode replacement remains outside the model and release blocked by #210.

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