generated from coulomb/repo-seed
Inserts an ActivityRun row via the shared session factory. Accepts run_payload dict with activity_id, scheduled_for (ISO-8601 or None), context_snapshot, tasks_spawned, version_used. Returns run_id as a str UUID. fired_at is set server-side to now(UTC). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>