"""Shared capture stage: see run.py."""