mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
promt
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user