14 lines
927 B
Markdown
14 lines
927 B
Markdown
# Repository agent rules
|
|
|
|
- Never run `cargo fmt`, `rustfmt`, or any other automatic code-formatting command in this repository, including commands scoped to individual files or packages.
|
|
- Preserve existing formatting. Make only the smallest hand-edited changes required for the task.
|
|
- Do not run builds, checks, linters, or pre-existing tests. Only run tests that an agent wrote or modified as part of the current task; if the agent did not write or modify any tests, run no tests.
|
|
|
|
## Long-running commands
|
|
|
|
- Never repeatedly poll a running command.
|
|
- Wait at most 10 seconds initially. If the command is still running, leave it running, report the command and session ID, and end the turn immediately.
|
|
- Do not poll the command again unless the user explicitly asks for its status.
|
|
- Do not start optional slow checks.
|
|
- Before starting a required command that cannot safely be left running, ask the user for permission.
|