Keep useful creative fallback replies
CI / test (push) Failing after 1m3s
CI / test (pull_request) Failing after 1m1s

This commit is contained in:
m
2026-08-25 13:43:19 +03:00
parent e79302c915
commit cb8b70f54c
3 changed files with 24 additions and 1 deletions
+11
View File
@@ -23,6 +23,17 @@ func TestLocalChatContextIncludesDomovoyIdentityAndOptionalActiveProject(t *test
}
}
func TestBoilerplateAdvisoryDoesNotReplaceUsefulFallback(t *testing.T) {
for _, value := range []string{"Я рядом", "Понял.", "Принял."} {
if !isBoilerplateAdvisory(value) {
t.Fatalf("%q was not recognized as boilerplate", value)
}
}
if isBoilerplateAdvisory("Жили-были дед и баба.") {
t.Fatal("useful creative reply was treated as boilerplate")
}
}
func TestCreatorRouteAllowsOnlyBoundedDelegationReads(t *testing.T) {
tests := []struct {
path string