You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validate C# telemetry consent parity against the Rust SDK and FFI contract #1115
scripts/check-telemetry-policy-parity.js derives both TypeScript and C# expectations from the executor CLI protocol in consent_protocol.rs. The C# SDK consumes mxc_ffi, whose result and reason values are produced by src/core/mxc-sdk/src/telemetry.rs and do not exactly match the private CLI protocol. The gate can therefore pass while the C ABI and C# binding have drifted.
Compare ConsentResult and StatusReason in consent_protocol.rs with the Rust SDK consent enums.
Note CLI-only values such as presentationUnavailable and status reasons such as policy-blocked and presentation-unavailable.
Run node scripts/check-telemetry-policy-parity.js.
Expected behavior
TypeScript expectations are checked against the executor CLI protocol, while C# expectations are checked against the Rust SDK/C ABI producer it consumes.
Actual behavior
Both bindings are checked against the CLI protocol, so C ABI-to-C# drift can go undetected.
Activity