Expand description
Durable task-decision outbox. Questions remain the transport from restricted seats; only the daemon writes the task link and the talk’s own draft.
Structs§
- Migration
Issue - A migration source which still needs operator reconciliation. Reading the pending list never acknowledges or removes these failures.
Functions§
- approval_
offered - Buttons are offered by a real persona reply after the persisted delivery. Generated reports and owner free text can never offer approval themselves.
- awaits_
decision - Routed questions whose answer is consumed by machinery (the posting gate,
the branch-divergence reconcile, the release watcher) rather than by a
step-1 control command. They stay open after delivery and the chat settles
them with
magi task control decide, including merge and recovery decisions: the agent records the owner’s request as it is. - finish_
filing - Finish only after filing succeeded, without holding the queue write lock.
- migration_
issues - Report persistent import failures alongside readable native inquiries. Even a damaged migration journal must not hide the rest of the pending list.
- post
- Reserve the destination under the task lock, then deliver without it. A stable creation id and persisted link let retries recover interrupted delivery. Never wait for a talk lock while holding the task write lock.
- prepare_
filing - Prepare a new filing before its first durable queue write. The final id is selected by Queue, so an unlinked Pending reservation is intentional here.
- prepare_
filing_ with_ config - Prepare a filing, reusing a configuration already discovered by the caller.
- sweep
- Queue once before retiring the ordinary question. Merge records stay open as the existing land/release consent authority, including their deadlines.
- task_of
- Never guess when more than one task claims the same run.