chore: establish local platform baseline

This commit is contained in:
Codex Local
2026-08-26 06:41:54 +08:00
commit 29bdf4900f
575 changed files with 95644 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package saas
import "testing"
func TestConsentWithdrawalConversationImpact(t *testing.T) {
for _, consentType := range []string{
ConsentTranscriptStorage,
ConsentRawAudioStorage,
ConsentStoryExtraction,
ConsentPersonalMemory,
} {
if !consentWithdrawalStopsConversation(consentType) {
t.Fatalf("live conversation consent %q did not trigger a stop", consentType)
}
}
if consentWithdrawalStopsConversation(ConsentFamilySharing) {
t.Fatal("family sharing withdrawal should not interrupt live audio")
}
}