Repository navigation
[SUPERSEDED / UNMERGED] Formal broker source migrated to MVP PR #173 - #170
mark-e-deyoung wants to merge 29 commits into
Conversation
2026-11-20 FORMAL R1 qualification — native TLC + negative-control PASSPublic source-owned draft PR #170, exact head First failure/response: previous draft head Scope and risk ledger: TLC is model-only abstract bounded-safety PASS. It does NOT imply that existing production |
2026-11-20 FORMAL R1 red/blue acceptance — three TLC safety models AND adversarial counterexample verifiedNew draft formal PR #170, exact source HEAD Source-grounded actual implementation risk (not a proven live exploit): on Next code-to-model phase: add real route-level deterministic interleaving tests; design and implement minimal atomic authorization-at-effect boundary with broker generation/revocation tokens and pre-execution postcondition validation. For persistent session handover inject crash between |
…hetic STOP_NOW interleaving
…ect-fencing contract
2026-11-20 FORMAL R2 — concrete code interleaving witness and handover recovery reviewAuthoritative public formal draft PR #170 now includes actual route-level deterministic synthetic interleaving at source HEAD Source review of Latest source Next code-to-model work: guarded generation-bound broker dispatch on a separately reviewed patch with cancel/revalidate at actual effect boundary (not only API route), plus startup replay/compensating transaction for session marker. WinInspect private C++ #468 source executor admission and original WineBot #166 hardware/native release gates remain unrelated/held. Public free GHA only, no private source/files, private Actions or user hardware. |
2026-11-20 FORMAL R2 execution — real route witness and second red-team TLC gateDraft PR #170 currently exact HEAD Concrete route-level code-to-model evidence in Second concrete seam: DLE status: exact source/workflow/negative evidence preserved; no private WinInspect source, external credentials, owner-owned hardware, private Actions spending, paid cloud, merge or release. #158 owner baseline 14/14 passed, #166 real HWND release gate and private #468 qualification remain held; #170 DRAFT until entire CI/real-code remediation reviewed. |
…and session transitions
2026-11-20 19:27+0100 FORMAL R3 — executable admission-epoch mitigation, source-test matrix, outstanding in-flight boundaryCurrent public draft PR #170 head
Exact-head public free-tier cloud evidence: TLC/negative-control run #44793837457 terminal SUCCESS; BuildKit guard #44793837430 terminal SUCCESS; full CI #44793837531 still IN PROGRESS at "Containerized Linting" at readback. Do not falsely claim new code's unit suite full PASS before terminal confirmation. Earlier full CI #44778948657 failed in Conformance (Contracts) after preflight succeeded; existing PR #167 had similar 7 sanitized contract failures. Independently confirm baseline before attributing these to formal source. No forced reruns or broad expensive Wine builds. Next: exact-head unit/CI first failure and correction; deterministic tests for lease renewal and user input override; commit-time consumer/source generation fencing for actual external processes; source-level fault injection for unfinished session-handover marker recovery. All docs/source/tests live in PR #170 DRAFT, no merge/release. Private WinInspect #468 C++/projection/executor admission, WineBot #166 native HWND and #158 MVP release gates remain unaffected. No private Actions minutes, secrets/source leak, paid service, user-owned hardware, or dispatch of actual input. |
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:50+0100 — second broker authorization bypass fixed, exact conformance baseline isolatedAt prior formal/broker PR #170 Actual corrective changes on the same DRAFT #170 branch current exact head To diagnose common conformance failure without suppressing tests, created independently scoped DRAFT PR #172 from unchanged |
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 |
2026-11-21 00:27+0100 — authoritative conformance root cause and stacked formal integrationImportant correction to earlier causal hypothesis: archived sanitized results and full GHA checkout traces now establish the SAME exact external contracts source Architectural implication: PR #158 Actual integration executed: NEW stacked DRAFT PR #173, base First exact-head public GHA receipts: formal run #44843910305 terminal SUCCESS including all blue TLC models, both expected counterexample gates, and independent Python contracts; BuildKit #44843910200 SUCCESS. full CI #44843910364 IN_PROGRESS, no unit/conformance verdict yet. Other MVP native workflows may require separate qualified exact-head trigger; do not claim 14/14 on new head. Disposition: #173 remains draft, unmerged; #170 becomes analysis/supersession source and should not merge into main, #171 needs independent crash-recovery source reconciliation against canonical MVP lifecycle (not blindly merged), #172 baseline diagnostic completed and may close after confirmed DLE/PR disposition. #166 live native WinInspect still requires private #468 C++ admission, authorized projection, pinned rebuilt ZIP and real HWND observation. No private GHA minutes, private source publishing, paid compute, physical input, merge or release. |
Supersession DLE — close duplicate main-based broker integration unmergedThe appropriate product base for formal/control admission is the already-qualified MVP PR #158 ( |
Source-owned formal verification slice
Adds three bounded TLA+ state machines and TLC configurations for control leasing/STOP_NOW, session crash-recovery, and exact-generation release admission, plus a stdlib fault/negative-control harness, documentation mapping to actual WineBot code, and a dedicated $0 public-hosted GitHub Actions workflow. This is deliberately separate from MVP #158 and from blocked private WinInspect #468 source qualification.
Acceptance
Explicit non-goals
No runtime/permission changes, no WinInspect source export, no release promotion, no claims of cross-layer atomicity in the current implementation. The effect-fencing and startup reconciliation implementation work remains a follow-on based on counterexamples.