hive-c0re: optional reset-timer on manual fire-now for recurring schedules

This commit is contained in:
damocles 2026-06-22 00:11:49 +02:00 committed by mara
commit b6aeaf0b57
4 changed files with 89 additions and 17 deletions

View file

@ -727,7 +727,9 @@ async fn handle_fire_schedule_now(
),
};
}
match crate::scheduled_prompts_worker::fire_now(coord, schedule_id).await {
// MCP fire_schedule_now stays no-reset (cadence intact); the
// reset-timer option is a dashboard-dialog affordance.
match crate::scheduled_prompts_worker::fire_now(coord, schedule_id, false).await {
Ok(_report) => {
coord.emit_schedules_snapshot();
ManagerResponse::Ok