From cf1203a6077f96786ad260a77db9220294a3892c Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 16 Sep 2026 16:28:29 +0200 Subject: [PATCH] Run the C# authority vector checks in CI `CultMeshAuthorityProofTests` verifies both vector files with the C# reference, but no workflow ran it. The portability workflow's reactive-and-resource-lifetime job is the one that already builds and runs `GameCult.Mesh.Tests` on every push to main and codex branches and on every pull request, on Windows and Ubuntu, so it gains one step: `dotnet test --filter FullyQualifiedName~AuthorityProof`. The interop workflow was not chosen: it runs on Windows only, on main pushes only, and runs no Mesh tests. It already covers the TypeScript direction through `npm test --workspace packages/cultnet-ts`. CULTMESH_WRITE_VECTORS stays unset in CI; the committed files are the contract. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/cultmesh-portability.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/cultmesh-portability.yml b/.github/workflows/cultmesh-portability.yml index ce361fc8..55d2bea8 100644 --- a/.github/workflows/cultmesh-portability.yml +++ b/.github/workflows/cultmesh-portability.yml @@ -95,3 +95,15 @@ jobs: dotnet test tests/GameCult.Mesh.Tests/GameCult.Mesh.Tests.csproj --filter FullyQualifiedName~Document_OneHundredThousandDistinctLeaseCyclesLeaveNoResourcesOrCallbacks --logger "console;verbosity=minimal" + + # Both directions of the CultMesh authority vectors: the C#-written + # file (contracts/cultmesh/authority-route-vectors.json) and the + # TypeScript-signed file (authority-route-vectors.ts-signed.json) are + # verified by the C# reference here; the TypeScript side verifies both + # in `npm test --workspace packages/cultnet-ts`. CULTMESH_WRITE_VECTORS + # is never set in CI: the committed files are the contract. + - name: Verify the CultMesh authority vectors with the C# reference + run: >- + dotnet test tests/GameCult.Mesh.Tests/GameCult.Mesh.Tests.csproj + --filter FullyQualifiedName~AuthorityProof + --logger "console;verbosity=minimal"