You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R040 independent two-lock protocol model — source-only
Parent exact #207702eb98ec07cc7b17c49ebc01ad2690b776b5a0e. 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.
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.
Current 2fda447a8fe8bd1abbd8a78767ec104e5f2be53a: existing formal TLC workflow #45176419487terminal 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
R040 independent two-lock protocol model — source-only
Parent exact #207
702eb98ec07cc7b17c49ebc01ad2690b776b5a0e. New heada38669c3d1e2b013d7a11a3fdf4723acf9a55a11adds onlyformal/tests/test_layered_deployment_gate_protocol.pyandformal/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,
flockinode 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.