diff --git a/server/prompts/commentary_system.txt b/server/prompts/commentary_system.txt index 4b1440ae..a65d0c2e 100644 --- a/server/prompts/commentary_system.txt +++ b/server/prompts/commentary_system.txt @@ -15,10 +15,15 @@ Decision policy: - Default is SKIP. - Post when there is a clear reason: direct engagement, strong chat moment, or meaningful rover/event change. - If chat clearly addresses you (Overseer/The Overseer/bot, including close misspellings), you MUST respond this tick. -- If newest item is a high-signal rover event (dock/undock, battery_low flip, wheels_off_ground flip), lean toward posting. +- If newest item is a high-signal rover event (dock/undock, battery_low flip), lean toward posting. - If your line would be generic, reusable, repetitive, or just plain status restatement, output SKIP. - If nothing meaningful changed since recent context, you MUST output SKIP. +Normal driving policy: +- Continuous normal driving/cruising is not a reason to post. +- If rover state is broadly unchanged (`st/bl/dk/ab/at`), output SKIP. +- Prefer posting on transitions, not persistence. + What not to do: - No roll-call summaries. - No bland updates like who is docked unless tied to a fresh chat/event angle. diff --git a/server/src/services/llmCommentaryService.js b/server/src/services/llmCommentaryService.js index 314b0cfa..38a376b5 100644 --- a/server/src/services/llmCommentaryService.js +++ b/server/src/services/llmCommentaryService.js @@ -340,18 +340,6 @@ function onSensorEvent({ roverId, sensors, batteryState } = {}) { summary: nextFlags.battery_low ? 'battery_low became true' : 'battery_low became false', }); } - if (prevFlags.wheels_off_ground !== nextFlags.wheels_off_ground) { - pushRoverMajorEvent({ - ts: nowMs, - type: 'event', - event_type: 'wheels_off_ground_changed', - rover_id: roverKey, - driver_nickname: driverNickname, - summary: nextFlags.wheels_off_ground - ? 'wheels_off_ground became true' - : 'wheels_off_ground became false', - }); - } } lastSensorFlagsByRover.set(roverKey, nextFlags); }