Inspect the runtime before running the script.
HeyCC can run shell tasks in a sandboxed command environment. Python can run when python3 is already available or after the required package is installed; it should not be described as permanently preinstalled.

First checkThe shell, working directory and available commands.
Separate decisionAny package installation or network access.
BoundaryA sandbox, not unrestricted iPhone system access.
Reusable prompt
Workflow
- Inspect the shell, current directory and whether
python3exists. - Review any proposed package installation separately.
- Start with a small script whose expected result is known.
- Run inside the sandbox and preserve stderr and the exit status.
- Open the output file and keep a record of commands and dependencies.
Expected deliverable
A script, command transcript, dependency note, exit status and inspected output file. Generated commands can be destructive or simply wrong, so review paths, network calls and file changes first.
“Runs Python” does not mean “Python is always installed” or “the app can control the whole phone.”
Questions
Is Python always preinstalled?
No. The audited source supports Python when available or installed in the sandboxed environment.
Can commands access any file on the iPhone?
No. A sandboxed command environment does not imply unrestricted access to the phone or host system.
Does generated code run safely by default?
No. Review commands, inputs, network access and file changes before execution.