summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-09-15 17:17:26 -0400
committerGitHub <[email protected]>2026-09-15 17:17:26 -0400
commit9e4c57138dfa004cd512b60259c1c5047a8b3dd1 (patch)
treeb023a85286ff0ae205d151ec809dc394ed29cd0b /common
parentf5e59a1dd3cd2bdbc6214d408253a089af75a967 (diff)
Normalized the AI disclosure comment to one fixed line per file (#740)
The per-edit disclosure named the product and model, so every agent and every model version appended another line. 74 files carried two to four of them, and the same five products had accumulated 13 spellings -- Copilot against GitHub Copilot, Claude Sonnet 4.6 against claude-sonnet-4.6, four spellings of Codex. Twenty assembly lines carried a doubled comment marker, `; //` or `@ //`. Every file now carries exactly one line, fixed text naming no product: Portions of this file were generated with AI assistance. It is written with the comment character that file already uses, so the `;` and `@` assembly files keep theirs and the doubled markers are gone. Precise attribution stays on the commit, where the Assisted-by trailer is per-change, dated and attached to the diff it describes. A header line cannot hold that record honestly, because the code it names gets rewritten and the line stays. A file-level flag answers whether; the history answers who. Comment-only. 455 files, 455 insertions and 574 deletions: every removed line was a disclosure line, every added line is the fixed text, and no file is left with zero or with more than one. `scripts/check_ports.sh` passes, including the reproducibility check that would catch a ports_arch master and its generated copies drifting apart. Recompiled against dev, every file that builds without a vendor toolchain gives a byte-identical object: 19 of 19 C files under common, 100 of 100 GNU assembly files, and all 16 assemblable files whose comment marker changed. The 10 remaining marker changes are ac5 and IAR sources where `;` already started the comment and only the redundant `//` was removed. Assisted-by: Claude Code (Opus 5) <[email protected]>
Diffstat (limited to 'common')
-rw-r--r--common/src/tx_thread_create.c2
-rw-r--r--common/src/tx_thread_delete.c2
-rw-r--r--common/src/tx_thread_reset.c2
-rw-r--r--common/src/tx_thread_shell_entry.c2
-rw-r--r--common/src/tx_thread_sleep.c2
-rw-r--r--common/src/tx_thread_stack_analyze.c2
-rw-r--r--common/src/tx_thread_terminate.c2
-rw-r--r--common/src/txe_timer_change.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/common/src/tx_thread_create.c b/common/src/tx_thread_create.c
index 37b4d3e2..7c9d054c 100644
--- a/common/src/tx_thread_create.c
+++ b/common/src/tx_thread_create.c
@@ -9,7 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
-// Some portions generated by Copilot (Opus 5).
+// Portions of this file were generated with AI assistance.
/**************************************************************************/
diff --git a/common/src/tx_thread_delete.c b/common/src/tx_thread_delete.c
index e73fdd31..5bbb12c3 100644
--- a/common/src/tx_thread_delete.c
+++ b/common/src/tx_thread_delete.c
@@ -9,7 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
-// Some portions generated by Claude Code (Opus 5).
+// Portions of this file were generated with AI assistance.
/**************************************************************************/
diff --git a/common/src/tx_thread_reset.c b/common/src/tx_thread_reset.c
index e87de26b..8e59f1e7 100644
--- a/common/src/tx_thread_reset.c
+++ b/common/src/tx_thread_reset.c
@@ -9,7 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
-// Some portions generated by Claude Code (Opus 5).
+// Portions of this file were generated with AI assistance.
/**************************************************************************/
diff --git a/common/src/tx_thread_shell_entry.c b/common/src/tx_thread_shell_entry.c
index c079f18e..2a16a00b 100644
--- a/common/src/tx_thread_shell_entry.c
+++ b/common/src/tx_thread_shell_entry.c
@@ -9,7 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
-// Some portions generated by Claude Code (Opus 5).
+// Portions of this file were generated with AI assistance.
/**************************************************************************/
diff --git a/common/src/tx_thread_sleep.c b/common/src/tx_thread_sleep.c
index fb04f337..9e3a0afd 100644
--- a/common/src/tx_thread_sleep.c
+++ b/common/src/tx_thread_sleep.c
@@ -9,7 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
-// Some portions generated by Copilot (Opus 5).
+// Portions of this file were generated with AI assistance.
/**************************************************************************/
/**************************************************************************/
diff --git a/common/src/tx_thread_stack_analyze.c b/common/src/tx_thread_stack_analyze.c
index 37a5ac2d..ecd7ee13 100644
--- a/common/src/tx_thread_stack_analyze.c
+++ b/common/src/tx_thread_stack_analyze.c
@@ -9,7 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
-// Some portions generated by Copilot (Opus 5).
+// Portions of this file were generated with AI assistance.
/**************************************************************************/
diff --git a/common/src/tx_thread_terminate.c b/common/src/tx_thread_terminate.c
index 05ec91a1..c87efaa0 100644
--- a/common/src/tx_thread_terminate.c
+++ b/common/src/tx_thread_terminate.c
@@ -9,7 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
-// Some portions generated by Claude Code (Opus 5).
+// Portions of this file were generated with AI assistance.
/**************************************************************************/
diff --git a/common/src/txe_timer_change.c b/common/src/txe_timer_change.c
index 91b104d0..7f6d6a36 100644
--- a/common/src/txe_timer_change.c
+++ b/common/src/txe_timer_change.c
@@ -9,7 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
-// Some portions generated by Copilot (Opus 5).
+// Portions of this file were generated with AI assistance.
/**************************************************************************/