manager: receive forge notifications (ManagerRequest::Wake)

This commit is contained in:
damocles 2026-05-21 18:33:39 +02:00 committed by Mara
parent d5009cd175
commit 3b44410427
4 changed files with 46 additions and 11 deletions

View file

@ -837,6 +837,11 @@ pub enum ManagerRequest {
/// Mirror of `AgentRequest::RequeueInflight` on the manager
/// surface — fired exactly once on manager harness boot.
RequeueInflight,
/// Mirror of `AgentRequest::Wake` on the manager surface. Used by
/// in-container background tasks (e.g. `forge_notify`) to push a
/// message into the manager's own broker inbox. `from` is caller-
/// chosen; `body` becomes the wake prompt body.
Wake { from: String, body: String },
}
#[derive(Debug, Clone, Serialize, Deserialize)]