agui-dotnet-cross-language-tests
Installation
SKILL.md
AG-UI .NET Cross-Language Interop Tests
How to add tests proving the .NET AG-UI SDK interoperates with the TypeScript
SDK on the wire. The harness lives under sdks/dotnet/tests/. Read
sdks/dotnet/docs/cross-language-testing.md (design plus the "Harness reference"
section) for full background.
Interop philosophy
- The TypeScript SDK is the reference (oracle). A round-trip through the TS
codec —
proto.decode(proto.encode(event))— is the canonical normalised form both SDKs must agree on. Assert .NET output against that, not against the raw fixture object. - Round-trip semantic equivalence is the real guarantee, in both directions (TS→.NET and .NET→TS). Byte-for-byte parity is a stronger claim asserted only where deterministic.
- Tests exercise our code via project references (
AGUI.Abstractions,AGUI.Server,AGUI.Protobuf), never the published NuGet packages.