Code PRs execute a repository-controlled script and the full test suite
Source references: 1The Skill directly requires running ./script/presubmit and says it executes all unit, documentation, and integration tests. The supplied evidence does not include that script or the tests, so their exact behavior cannot be verified.
Repository scripts, build steps, or tests run with the agent's local permissions; on an untrusted branch they could read accessible files or credentials, use the network, or modify the worktree.
This applies only when a PR contains code changes, and presubmit validation is a normal part of preparing a PR. However, it actively directs execution of a repository-provided script that runs formatting, linting, and all tests. Those scripts and tests execute repository code with the user’s permissions, while their implementations are absent here, so their actual side effects cannot be verified. A user can require inspection of the script and test configuration first, or permit only specifically approved checks.
### 2. Run presubmit checks for code changesIf the PR includes code changes, run the relevant presubmit checks before opening or updating it:```bash./script/presubmit````./script/presubmit` runs:- `cargo fmt` - Code formatting- `cargo clippy` - Linting with all warnings as errors- All tests (unit, doc, and integration)If the PR is documentation-only (for example, skills, markdown, or other non-code content), you do not need to run `cargo fmt` or `cargo clippy` just to open or update the PR.