From 0198a614b90bf9cf6fbd879bae1fd2ddc8a4c5ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20M=C3=B6hle?= <91616163+softhack007@users.noreply.github.com> Date: Sat, 11 Apr 2026 23:52:19 +0200 Subject: [PATCH] Fix formatting of AI attribution instructions markdown was wrong --- .github/copilot-instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 9c7548213..0360a209d 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -123,7 +123,7 @@ Refer to `docs/cpp.instructions.md` and `docs/web.instructions.md` for language- ### Attribution for AI-generated code Using AI-generated code can hide the source of the inspiration / knowledge / sources it used. - Document attribution of inspiration / knowledge / sources used in the code, e.g. link to GitHub repositories or other websites describing the principles / algorithms used. -- When a larger block of code is generated by an AI tool, embed it into `// AI: below section was generated by an AI` ... `// AI: end`` comments (see C++ guidelines). +- When a larger block of code is generated by an AI tool, embed it into `// AI: below section was generated by an AI` ... `// AI: end` comments (see C++ guidelines). - Every non-trivial AI-generated function should have a brief comment describing what it does. Explain parameters when their names alone are not self-explanatory. - AI-generated code must be well documented with meaningful comments that explain intent, assumptions, and non-obvious logic. Do not rephrase source code; explain concepts and reasoning.