mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 13:51:17 +00:00
* fix(agents): wake owning session after generated-media direct delivery When a background media generation (image/music/video) completes but the requester's agent turn cannot be woken, delivery falls back to sending the media straight to the channel. The owning session never learned about it, leaving the attachment orphaned with no agent follow-up. Queue a system event plus a scoped heartbeat wake after both direct fallback paths (announce delivery and the shared background lifecycle) so the agent continues the conversation in its own voice. Subagent requester sessions skip the heartbeat since their completions route via announce. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(agents): persist generated media session handoffs Co-authored-by: Molty <steipete@gmail.com> * chore: prune max-lines baseline * fix(agents): harden durable media handoffs * fix(agents): charge media retries once * chore: refresh max-lines baseline * fix(agents): persist delivery settlement cleanup * fix(agents): fence interrupted media delivery * fix(agents): fence durable handoff admission * fix(agents): reconcile terminal handoffs at retry limit * fix(agents): align durable handoff types * test(agents): type durable handoff fixtures * fix: satisfy session delivery lint * fix: avoid payload map spreads * fix: satisfy durable handoff gates * test: align generated media handoff expectations * fix: avoid serializing session recovery state during load --------- Co-authored-by: Molty <steipete@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>