sandbox preflight and more structured output