docs: add ad-hoc script guidance

This commit is contained in:
Mario Zechner
2026-05-18 23:50:22 +02:00
parent 29b3417a7a
commit 6a21a52d91

View File

@@ -32,6 +32,7 @@
- When writing tests, run them, identify issues in either the test or implementation, and iterate until fixed.
- For `packages/coding-agent/test/suite/`, use `test/suite/harness.ts` plus the faux provider. Do not use real provider APIs, real API keys, or paid tokens.
- Put issue-specific regressions under `packages/coding-agent/test/suite/regressions/` and name them `<issue-number>-<short-slug>.test.ts`.
- For ad-hoc scripts, write the script to a temporary file (for example under `/tmp`) using `write`, run that file, edit it if needed, and remove it when it is no longer needed. Do not embed multi-line scripts directly in `bash` commands.
- NEVER commit unless user asks
## Contribution Gate