fix(checkpoint): avoid orphan task_started on resume scope restore
Move scope restoration from Crew-level global push to a per-task push inside Task via resume_task_scope() in event_context. Fixes orphan task_started warning, hierarchical resume (manager_agent now eligible for _resuming), and parallel async resume (each contextvars copy owns its own scope). Tests added.
G
Greyson LaLonde committed
306f5989b455e047fe745802afa92163743d505d
Parent: 4990041
Committed by GitHub <noreply@github.com>
on 5/22/2026, 5:20:15 PM