@@ -92,7 +92,12 @@ describe("group runtime loading", () => {
|
92 | 92 | silentReplyPolicy: "allow", |
93 | 93 | }); |
94 | 94 | expect(allowed).toContain('reply with exactly "NO_REPLY"'); |
95 | | -expect(allowed).toContain("Otherwise stay silent."); |
| 95 | +expect(allowed).toContain('your final answer must still be exactly "NO_REPLY"'); |
| 96 | +expect(allowed).toContain("Never say that you are staying quiet"); |
| 97 | +expect(allowed).toContain( |
| 98 | +"Be extremely selective: reply only when directly addressed or clearly helpful.", |
| 99 | +); |
| 100 | +expect(allowed).not.toContain("Otherwise stay silent."); |
96 | 101 | |
97 | 102 | const disallowed = groups.buildGroupIntro({ |
98 | 103 | cfg: {} as OpenClawConfig, |
@@ -104,7 +109,7 @@ describe("group runtime loading", () => {
|
104 | 109 | }); |
105 | 110 | expect(disallowed).toContain("Activation: always-on"); |
106 | 111 | expect(disallowed).not.toContain("NO_REPLY"); |
107 | | -expect(disallowed).not.toContain("Otherwise stay silent."); |
| 112 | +expect(disallowed).not.toContain("Never say that you are staying quiet"); |
108 | 113 | |
109 | 114 | const rewritten = groups.buildGroupIntro({ |
110 | 115 | cfg: {} as OpenClawConfig, |
@@ -116,7 +121,7 @@ describe("group runtime loading", () => {
|
116 | 121 | }); |
117 | 122 | expect(rewritten).toContain('reply with exactly "NO_REPLY"'); |
118 | 123 | expect(rewritten).toContain("short fallback reply"); |
119 | | -expect(rewritten).not.toContain("Otherwise stay silent."); |
| 124 | +expect(rewritten).not.toContain("Be extremely selective"); |
120 | 125 | }); |
121 | 126 | |
122 | 127 | it("loads the group runtime only when requireMention resolution needs it", async () => { |
|