Skip to content

Commit 655d408

Browse files
committed
Specify AGENTS.md to not edit generated files
1 parent 6f4edac commit 655d408

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ Auto-instrumentation comes from the tracer "monitoring home" deployed separately
156156
- Prefer modern collection expressions (`[]`)
157157
- Use `StringUtil.IsNullOrEmpty()` instead of `string.IsNullOrEmpty()` for compatibility across all supported runtimes
158158
- StyleCop: see `tracer/stylecop.json`; address warnings before pushing
159+
- Never manually edit generated files (`.g.` in the file extension). Read the file header for regeneration instructions instead.
159160

160161
**C/C++ style:**
161162
- See `.clang-format`; keep consistent naming

0 commit comments

Comments
 (0)