Repository navigation
[SUPERSEDED / UNMERGED] Crash recovery integrated on MVP PR #174 - #171
mark-e-deyoung wants to merge 9 commits into
Conversation
2026-11-20 19:27+0100 execution: two independent, source-owned corrective PRs for cross-layer atomicityP0 broker input fencing, draft #170 current exact source P0 crash/restart handover, new independently-scoped draft PR #171 from current public main. Adds Safety / known limitations: link verifier is local symlink consensus, not an atomic transaction against arbitrary host process death. Unobserved incomplete intent in an inactive target still requires future namespace scanning/garbage collection. Current-pointer-forward recovery is a deliberate bounded policy; shutdown/recorder processes remain out of scope. Both drafts stay unmerged pending exact-head tests, independent code review and full product qualification. Formal TLA+ checked earlier covers abstract states only. Existing WinInspect private #468 source cloud admission and WineBot #166 actual native observer release gate unchanged. All compute public free GHA; no private Actions minutes, user hardware, paid service, private source projection, or production input. |
2026-11-20 19:27+0100 continued — R3 broker correction and R4 independent crash-recovery implementationBroker, draft #170 exact head Crash/restart, independently scoped draft #171 current exact head Boundaries and residuals: startup reconciliation only covers the marker reachable from current active pointer, does not scan orphan markers in inactive sessions, restart Wine/services, or finalize crashed recorder; it does NOT solve multi-process concurrency or in-flight remote input. Formal checking proves abstract model properties, not automatically runtime correctness. Both #170/#171 remain DRAFT and unmerged; #158 exact MVP baseline 14/14 previously green and native #166 with unqualified old WinInspect ZIP remain held. Private WinInspect #468 needs approved private source cloud admission/CTest/projection. All execution via existing free public GHA; no private Actions minutes, user-owned hardware, paid compute or unauthorized source publication. |
2026-11-21 00:46+0100 — shared conformance provenance diagnostic and exact-head qualificationConfirmed: both unrelated independent correction PR heads reached Pre-flight (Lint & Unit) SUCCESS and Integration (Smoke Test) SUCCESS but terminal Conformance (Contracts) FAILURE: broker #170 The unit/fixture defects in #171 have been addressed at exact head |
2026-11-21 00:46+0100 independent diagnosis: exact external conformance source admissionBoth independent cross-layer patches remain DRAFT and not merged: formal/broker #170 exact Created separate public DRAFT diagnostic PR #172 based on otherwise unchanged main Release status unchanged: #158 baseline qualified but draft, #166 native WinInspect repaired executable not yet admitted; private #468 cloud-source C++ test/projection still blocked. Do not merge #170/#171/#172 or treat pinned ref as final authority without qualification. No paid/private runner, sovereign hardware, credentials, or private code used. |
2026-11-21 00:46+0100 — independent exact-contract baseline reproduced failure; custody admission implementedActual terminal baseline evidence: the source-only diagnostic draft PR #172, original candidate New exact-source custody improvement on PR #172 HEAD Broker PR #170 HEAD Handover PR #171 HEAD |
Supersession DLE — main-based recovery branch replaced, no mergeThis main-based proof-of-concept contained valuable fail-closed startup marker reconciliation, but was built before the authoritative MVP lifecycle's 108-commit integration and therefore fails 7 legacy contract tests also failing on unchanged main. Its nine synthetic handover tests were not included in the explicit |
Scope
Add fail-closed startup reconciliation for the existing
session.transition.jsonmarkers after crash/restart, retaining current active pointer as the sole ownership authority. Reject malformed, cross-root, mismatched-operation, or profile-link inconsistent markers. Only paired markers from the same operation are removed, and removals are synced to the directory. Add synthetic filesystem crash-point and adversarial tests; no native Wine execution or private code.Explicit limitations
This reconciles the session pointer/profile/broker startup view and state file, not crashed/partially completed Wine processes or in-flight recorder operations. Source reviewer must validate durability and rollback order before merge. No unqualified native observer or release promotion; separate from formal broker draft PR #170.
Acceptance
Green exact-head full CI and tests on free public GitHub Actions, model-to-source mapping, failure-injection for both pointer-before/after crash and mismatch handling; no private GHA minutes, user hardware or paid cloud.