Repository navigation
[DRAFT Formal RDTE] Cross-layer effect replay, ambiguous ACK and human STOP model - #216
Conversation
R040 cross-layer effect atomicity model with required counterexampleFirst |
R040 explicit source-exact supersession and release HOLDThis standalone formal model source at |
R040 parallel cross-layer atomicity audit — independent of protected IPC prototype
New source
e4456ea41147ec1b1055ea96b12d5f9d7b12ce99, parent immutable #214f61c5ed45ccff505fcabf69268fcf05585d44500, three additive files only; no overlap with peer-authorization source #215, original controller branches, or main.The Python stdlib finite-state BFS explicitly models
prepare durable generation → apply guest effect → crash before durable ACK → restart → retry. Negative control must discover a duplicate effect without actual guest/target-side idempotency. Positive model assumes an atomic target-local operation-ID+effect dedup record; checks at-most-once conditional on this assumption and asserts new effects are blocked after human STOP even if the supervisor restarts. All state/inputs are synthetic, no emulator/Windows guest, no privileged filesystem or raw trace. A dedicated public 5-minute.github/workflows/external-effect-replay-rdte.ymlruns positive + expected unsafe cases; exact-head terminal needed.Release consequence: durable owner CAS does NOT make arbitrary Windows side effects exactly once. Explicitly classify external operations as read-only, target-proven idempotent, or non-retryable/UNKNOWN on ambiguous ACK; ensure STOP priority and no blind replay in the later actual broker. This is source-only abstract proof, not implementation evidence or TLC. Wine guest UID1000's writable writer lock (#210) and untrusted runtime promotion remain BLOCKED. All branches draft, no private GHA, no hardware or protected merge.