fix: refine bootstrap injections

This commit is contained in:
Peter Steinberger
2026-01-07 10:03:50 +00:00
parent 412990a139
commit e8420bd047
8 changed files with 98 additions and 82 deletions

View File

@@ -1006,7 +1006,7 @@ describe("trigger handling", () => {
describe("group intro prompts", () => {
const groupParticipationNote =
"In groups, respond only when helpful; reactions are ok when available.";
"Be a good group participant: mostly lurk and follow the conversation; reply only when directly addressed or you can add clear value. Emoji reactions are welcome when available.";
it("labels Discord groups using the surface metadata", async () => {
await withTempHome(async (home) => {
vi.mocked(runEmbeddedPiAgent).mockResolvedValue({

View File

@@ -164,7 +164,7 @@ export function buildGroupIntro(params: {
? "Be extremely selective: reply only when directly addressed or clearly helpful. Otherwise stay silent."
: undefined;
const lurkLine =
"In groups, respond only when helpful; reactions are ok when available.";
"Be a good group participant: mostly lurk and follow the conversation; reply only when directly addressed or you can add clear value. Emoji reactions are welcome when available.";
return [
subjectLine,
membersLine,