iris
2bfa5bc1a8
feat(schedules): make schedules pausable
...
Adds pause/resume support for scheduled prompts.
Backend:
- New paused_at_unix column on scheduled_prompts table (added via
ALTER TABLE migration so existing databases are upgraded on first
start). The due-rows index is dropped and recreated to also exclude
paused rows so the worker never fires them while paused.
- Worker's due() query gains AND paused_at_unix IS NULL filter.
- New pause(id) and resume(id) methods on ScheduledPrompts; both are
idempotent and refuse cancelled rows.
- New POST /api/schedules/{id}/pause and /api/schedules/{id}/resume
dashboard endpoints (operator-direct, no approval gate). Both emit
a schedules snapshot on success so the tab updates live.
- WireSchedule gains paused_at_unix: Option<i64> so the frontend can
render the state without an extra fetch.
Frontend:
- Paused rows render with a distinct row class + muted opacity.
- The next-fire cell shows a yellow pause glyph + tooltip with the
paused-since timestamp and the would-have-fired time.
- Actions column: pause/resume toggle button (⏸/▶) beside fire/edit/cancel.
Fire-now is disabled while paused (resume first).
- Sort order: active → paused → cancelled (paused slot keeps schedules
visible without mixing them into the active top section).
- pauseSchedule() / resumeSchedule() async functions POST to the new
endpoints and refresh the table on success.
2026-06-27 20:01:16 +02:00
..
bin
feat( #2014 ): hivectl open verb + Urls host request for web surfaces
2026-06-27 00:21:50 +02:00
dashboard
feat(schedules): make schedules pausable
2026-06-27 20:01:16 +02:00
actions.rs
fix( #1953 ): route approval helper-events to the submitter, not the root agent
2026-06-23 22:04:56 +02:00
agent_sockets.rs
remove vestigial agent-ports.json tcp web-port map
2026-06-22 11:59:14 +02:00
approvals.rs
fix( #1953 ): gate approval cancel on submitter ownership + document submitter_of errors
2026-06-23 22:04:56 +02:00
audit_log.rs
refactor( #1865 ): rename agent_server module to socket_server
2026-06-22 13:58:52 +02:00
auto_update.rs
feat( #2006 ): rename manageRootAgent option to ruthless (invert sense)
2026-06-27 00:37:32 +02:00
broker.rs
fix( #1957 ): persist hivectl-start running-agents snapshot in the broker kv table
2026-06-23 22:07:46 +02:00
build_logs.rs
fix( #2031 ): backtick paths in vacuum doc comments for clippy doc-markdown
2026-06-27 10:14:47 +02:00
capabilities.rs
fix: update stale doc comment example root→ruth in capabilities.rs
2026-06-02 18:18:06 +02:00
client.rs
hive-c0re: admin socket server + client (stub dispatch)
2026-05-14 20:49:11 +02:00
container_stats.rs
fix agent disk usage reading container-internal state path on the host
2026-06-18 14:01:22 +02:00
container_view.rs
refactor( #1865 ): consolidate agent + manager socket servers into one
2026-06-22 13:58:52 +02:00
coordinator.rs
fix( #1957 ): persist hivectl-start running-agents snapshot in the broker kv table
2026-06-23 22:07:46 +02:00
crash_watch.rs
refactor( #1825 ): drop MANAGER_NAME special-cases in crash_watch + tombstones
2026-06-23 18:35:23 +02:00
dashboard.rs
feat(schedules): make schedules pausable
2026-06-27 20:01:16 +02:00
dashboard_events.rs
fix( #1940 ): carry pr_number on the live approval_added event
2026-06-23 17:28:01 +02:00
flake_check.rs
feat(gateway): hivectl gateway user management + fix htpasswdFile assertion
2026-06-01 23:25:28 +02:00
forge.rs
refactor( #2051 ): fold body-return into forge_http instead of a near-copy
2026-06-27 19:52:14 +02:00
gateway_nginx.rs
fix( #1375 ): clean up pedantic warnings and re-enable -D warnings without pedantic bypass
2026-06-05 16:55:09 +02:00
hive_stats.rs
fix( #2031 ): move bash-tasks + events vacuum agent-side (privsep ownership)
2026-06-27 10:14:47 +02:00
host_stats.rs
fix( #2030 ): point pending-login warning at the dashboard, not a nonexistent hivectl login verb
2026-06-27 00:26:06 +02:00
knowledge.rs
fix( #1375 ): clean up pedantic warnings and re-enable -D warnings without pedantic bypass
2026-06-05 16:55:09 +02:00
lib.rs
fix( #2031 ): move bash-tasks + events vacuum agent-side (privsep ownership)
2026-06-27 10:14:47 +02:00
lifecycle.rs
docs( #1989 ): add # errors doc to rebuild_agent + rebuild (argus review)
2026-06-25 23:59:54 +02:00
limits.rs
refactor( #1865 ): rename agent_server module to socket_server
2026-06-22 13:58:52 +02:00
loose_ends.rs
docs( #1990 ): fix for_agent ordering doc + add # errors (argus review)
2026-06-26 01:22:20 +02:00
main.rs
fix( #2031 ): move bash-tasks + events vacuum agent-side (privsep ownership)
2026-06-27 10:14:47 +02:00
matrix.rs
feat( #2035 ): auto-discover dashboard-provisioned matrix accounts via token+homeserver sidecar
2026-06-27 00:30:04 +02:00
meta.rs
fix(otel): cumulative metric temporality + metricIntervalMs knob (real metrics-export fix)
2026-06-24 20:28:37 +02:00
migrate.rs
fix( #1375 ): clean up pedantic warnings and re-enable -D warnings without pedantic bypass
2026-06-05 16:55:09 +02:00
operator_questions.rs
refactor( #1834 ): derive cancel-loose-end privilege from the socket, not the MANAGER_AGENT name
2026-06-22 02:07:14 +02:00
paths.rs
remove vestigial agent-ports.json tcp web-port map
2026-06-22 11:59:14 +02:00
priv_client.rs
feat( #2035 ): auto-discover dashboard-provisioned matrix accounts via token+homeserver sidecar
2026-06-27 00:30:04 +02:00
questions.rs
fix( #1953 ): gate approval cancel on submitter ownership + document submitter_of errors
2026-06-23 22:04:56 +02:00
rebuild_queue.rs
fix( #1989 ): don't relock on meta-update cascade rebuilds (was reverting the bump)
2026-06-25 00:36:52 +02:00
reminder_scheduler.rs
refactor( #1865 ): rename agent_server module to socket_server
2026-06-22 13:58:52 +02:00
scheduled_prompts.rs
feat(schedules): make schedules pausable
2026-06-27 20:01:16 +02:00
scheduled_prompts_worker.rs
hive-c0re: optional reset-timer on manual fire-now for recurring schedules
2026-06-22 00:32:49 +02:00
server.rs
feat( #2014 ): hivectl open verb + Urls host request for web surfaces
2026-06-27 00:21:50 +02:00
socket_server.rs
feat(schedules): make schedules pausable
2026-06-27 20:01:16 +02:00
tool_groups.rs
fix: address argus+mara review on #1243 — stale docs, MANAGER_DEFAULT refs, ruth migration
2026-06-04 12:15:03 +02:00
topology.rs
refactor( #1825 ): drop MANAGER_NAME special-cases in crash_watch + tombstones
2026-06-23 18:35:23 +02:00