CultLib/tests/GameCult.Mesh.Tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 1590145a81 Pin the TypeScript-signed direction of the authority parity check
`contracts/cultmesh/authority-route-vectors.json` proves C# bytes verify
in TypeScript. Nothing in the repo proved the reverse; Soul's probe did it
once in a scratch directory. It is now a committed check in the same shape,
mirrored:

- `scripts/sign-cultmesh-authority-vectors.mjs` builds the route and
  session transcripts with the shared module, signs them with fixed
  TypeScript-owned test keys over awkward inputs (a quic scheme with a
  query, three unsorted protocol ids, non-ASCII generation text, priority
  13), self-verifies, and writes
  `contracts/cultmesh/authority-route-vectors.ts-signed.json`.
- `CultMeshAuthorityProofTests.AuthorityRouteVectorsSignedByTypeScriptVerifyHere`
  reads that file with keys taken from the file, asserts the protocol ids
  are unsorted, that `Validate` and `VerifySessionProof` accept, and that
  a priority-tampered route and a replayed nonce are refused.
- The TypeScript vector test runs over both files, so a transcript change
  on the TypeScript side fails here before C# could trust a stale file.

Checked negatively: one base64 character changed in the committed
signature fails the C# test.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 16:27:06 +02:00
..
CultMeshAuthorityProofTests.cs Pin the TypeScript-signed direction of the authority parity check 2026-09-16 16:27:06 +02:00
CultMeshAuthorityResolverTests.cs Centralize CultMesh authority resolution 2026-07-13 14:00:26 +01:00
CultMeshBodyPublicationTests.cs Keep exact live subscriptions active before publication 2026-07-19 11:49:18 +01:00
CultMeshBodySessionTests.cs Authenticate CultMesh authority routes and replay operations 2026-08-18 19:02:46 +02:00
CultMeshBodyTransportTests.cs Fence body commits by demand generation 2026-08-19 14:27:22 +02:00
CultMeshCdnTests.cs Add CultMesh distributed asset packages 2026-06-28 07:54:00 +01:00
CultMeshClientTests.cs Authenticate CultMesh authority routes and replay operations 2026-08-18 19:02:46 +02:00
CultMeshContentSessionTests.cs Authenticate CultMesh authority routes and replay operations 2026-08-18 19:02:46 +02:00
CultMeshContentTransferTests.cs Stream CDN artifacts in coarse durable windows 2026-07-19 20:29:07 +01:00
CultMeshDeterministicNetwork.cs Establish CultMesh reliability failure harness 2026-07-12 19:56:20 +01:00
CultMeshDiscoveryServiceTests.cs Bind CultMesh authority identity to physical routes 2026-08-18 17:21:58 +02:00
CultMeshEntityPrefabTests.cs Add CultMesh distributed asset packages 2026-06-28 07:54:00 +01:00
CultMeshFrameBodyTests.cs Support mapped frame bodies on Unix 2026-08-18 04:18:46 +02:00
CultMeshProviderSessionWireTests.cs Fence provider RUDP connection generations 2026-07-19 00:50:20 +01:00
CultMeshReliabilityDiagnosticsTests.cs Establish CultMesh reliability failure harness 2026-07-12 19:56:20 +01:00
CultMeshSessionManagerTests.cs Authenticate CultMesh authority routes and replay operations 2026-08-18 19:02:46 +02:00
CultMeshStreamingTests.cs Make generated and reflective document members one rule 2026-09-13 22:00:16 +02:00
CultMeshTestTrust.cs Authenticate CultMesh authority routes and replay operations 2026-08-18 19:02:46 +02:00
CultMeshTransportModularityTests.cs Bind CultMesh application ingress to session identity 2026-08-18 23:08:59 +02:00
GameCult.Mesh.Tests.csproj Bind CultMesh application ingress to session identity 2026-08-18 23:08:59 +02:00