Repository navigation
test(correctness): add semantic conformance gate - #292
Draft
MartinKalema wants to merge 3 commits into
Draft
MartinKalema wants to merge 3 commits into
MartinKalema wants to merge 3 commits into
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
The strict release result remains intentionally blocked at 0 proven, 6 partial, and 6 blocked dimensions. Passing protocol tests is not represented as proof of complete Convex semantics.
Issue
Implements #288.
This PR is stacked on #291 because the matrix references its normative invariant architecture. It also requires #290 before final validation and merge because #290 contains the already-generated read-after-write OpenAPI fixture and the catalog test-helper warning fix.
Distributed Correctness Review
Contract
Affected invariants and authority:
INV-01, INV-02, INV-03, INV-04, INV-05, INV-06, INV-07, INV-08, INV-09, INV-10, INV-11, INV-12, INV-13, INV-14, INV-15, and INV-16. The distributed correctness model remains normative; the checked-in semantic matrix is the machine-readable release authority, while each protocol retains the authority named in #291.
Visibility And Time
This PR does not change database visibility or acknowledgement behavior. It prevents release automation from treating eventual convergence as proof of atomic visibility, serializability, portable read-your-writes, or reactive completeness.
Visibility/acknowledgement point:
Unchanged. The gate records and tests the existing protocol boundaries; release eligibility requires every semantic dimension to be marked proven and every selected proof to pass.
Replay And Failure
Dangerous interleaving tested:
The bounded suite forces write-scaling and Raft fault interleavings. The nightly suite adds seeded Elle history checking and the real six-node Docker harness, including NATS outage, participant/coordinator restart, no-quorum writes, follower catch-up, post-ack cleanup restart, and repeated leadership churn. Failures retain the runner seed, command, exit/signal/timeout, complete output, Elle graph, image identity, topology, node state, and timestamped logs.
Transactions And Reactivity
The matrix explicitly keeps multi-partition snapshot derivation and distributed reactive completeness partial or blocked. No convergence assertion upgrades either dimension to proven.
Catalog, Workers, And Security
Catalog-version activation, fenced workers, backup/restore, dynamic membership, and online placement remain release blockers with owning issues. Cluster diagnostics avoid full container environment dumps.
Validation
sha256:23ac2aa51b948ac0386528a357eaccd941f91ad72adc8b47c88ef4e70d4bf8e7.test_api_specs_matchgenerated blob20cb352a..., byte-identical to the fixture already committed in fix(replication): keep selective delivery out of replica apply #290. This branch does not duplicate it.Remaining Risk
devand rerun the bounded gate before marking ready.