diff --git a/AGENTS.md b/AGENTS.md index ab9f50f480..e79a9e4e3d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -11,6 +11,9 @@ - In TypeScript, use `!` (non-null assertion) instead of `?.`/`??` when a value is known to always exist - Include authorship attribution in issue and pull request comments - Add `Co-Authored-By` lines to all commits, indicating name and model used +- Mark each code change with `edit/add - by petru @ codex` wherever the target file format supports comments without breaking syntax or generated output +- For single-line changes, mark only that line with `edit/add - by petru @ codex` +- For multi-line changes, wrap the changed block with `start edit/add - by petru @ codex` and `end edit/add - by petru @ codex` ## Execution Rules (Token Optimization)