TERMINAL ENVIRONMENT: Ubuntu 24.04 with bash, git, curl, wget, Python 3.10, pip, coreutils, and build-essential.
Goal
Run the file command on every regular file located inside the ./sandbox directory whose pathname contains the substring "test". Capture both stdout and stderr from the run into command_capture.txt in the current directory, and produce a sandboxes task under /output/generated_task that reproduces this setup and references the captured output.
Requirements
From /workspace, assemble any missing fixtures using standard shell utilities before running your command.
Execute the command(s) necessary to satisfy the goal in a single shell session so that both stdout and stderr are captured.
The combined output must be written to /output/command_capture.txt.
Do not delete any helper files generated during execution; the verifier inspects them.
After completing the workflow, confirm that /output/command_capture.txt exists and contains the captured output. Return a short confirmation summarising the exit status and file size.