revise bulk-clear to explicit ids per mara's feedback, fix clippy line count
This commit is contained in:
parent
eb570c003d
commit
bc69ee3b8f
7 changed files with 228 additions and 181 deletions
|
|
@ -59,10 +59,12 @@ pub enum Request {
|
|||
},
|
||||
/// The agent marks one of its own todos done, by id.
|
||||
MarkTodoDone { id: i64 },
|
||||
/// The agent bulk-acks every un-acked todo with `id <= up_to` in one
|
||||
/// shot — the todo-store analogue of the message inbox's `ack_until`,
|
||||
/// for clearing a backlog that piled up past the point of per-id triage.
|
||||
MarkTodosDoneUntil { up_to: i64 },
|
||||
/// The agent bulk-acks a specific, explicit list of its own todos in
|
||||
/// one shot — for clearing a backlog that's piled up past the point of
|
||||
/// per-id triage, without the range-based `ack_until`-style semantics
|
||||
/// that risk silently acking something never actually looked at (see
|
||||
/// `Todos::mark_done_many`'s doc for why it's ids, not a threshold).
|
||||
MarkTodosDone { ids: Vec<i64> },
|
||||
/// Schedule a reminder that fires into this agent's own turn loop at
|
||||
/// `timing` (harness-local — no broker round-trip). Same semantics as
|
||||
/// the old broker `Remind` request. `file_path`, when set, is where the
|
||||
|
|
|
|||
Loading…
Reference in a new issue