scheduled prompts: refresh stale docs for target edits (#478)

This commit is contained in:
damocles 2026-05-26 16:21:57 +02:00 committed by Mara
commit 2bf90c9db2
2 changed files with 25 additions and 12 deletions

View file

@ -1368,9 +1368,12 @@ impl ManagerServer {
description = "Edit an existing scheduled prompt's mutable fields (#474). Pass only \
the fields you want to change anything omitted keeps its current value. Editable: \
`body`, `description`, `interval_seconds` (positive only via this tool; flipping \
recurringone-shot is operator-only via the dashboard), `next_fire_at_unix`. \
Targets are immutable: per-target last-result history is keyed on them. To change \
the recipient list, cancel and submit a new schedule. \n\n\
recurringone-shot is operator-only via the dashboard), `next_fire_at_unix`, and \
the target set via `targets_add` / `targets_remove` (#478). Both target lists are \
applied in the same transaction with removes-before-adds, so a single edit can \
swap a target atomically. Re-adding a previously-removed target starts a fresh \
per-target history (drops the tombstone). Draining all targets auto-cancels the \
parent schedule. \n\n\
Authorization mirrors `cancel_schedule` / `fire_schedule_now`: you can edit your \
own schedules + any owned by a sub-agent in your subtree per topology.json. \
Refuses cancelled schedules (the row's terminal submit a fresh one)."