From a9283d3a81eeb1254ea8a30697a7b61301cef8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Desbiens?= Date: Tue, 15 Sep 2026 17:57:34 -0400 Subject: [PATCH] Normalized the AI disclosure comment to one fixed line per file (#85) The per-edit disclosure named the product and model, so every tool and every model version appended another line rather than recognising the one already there. Deduplication was by exact string, which a version bump defeats. Every file now carries exactly one line, fixed text naming no product: Portions of this file were generated with AI assistance. written with the comment character that file already uses. Precise attribution stays on the commit, where the Assisted-by trailer is dated and attached to the diff it describes. A header line cannot keep that record honest, because the code it names gets rewritten and the line stays. Comment-only, 15 files: every removed line was a disclosure line, every added line is the fixed text, and no file is left with zero or more than one. Nested repositories were excluded, so no submodule content or gitlink is touched. Assisted-by: Claude Code (Opus 5) --- common/inc/lx_api.h | 2 +- common/src/lx_nand_flash_block_allocate.c | 2 +- common/src/lx_nand_flash_block_data_move.c | 2 +- common/src/lx_nand_flash_defragment.c | 2 +- common/src/lx_nand_flash_logical_group_compact.c | 2 +- common/src/lx_nand_flash_memory_initialize.c | 2 +- common/src/lx_nand_flash_open_extended.c | 2 +- common/src/lx_nand_flash_sector_read.c | 2 +- common/src/lx_nand_flash_sector_release.c | 2 +- common/src/lx_nand_flash_sector_write.c | 2 +- common/src/lx_nor_flash_driver_block_erase.c | 2 +- common/src/lx_nor_flash_driver_read.c | 2 +- common/src/lx_nor_flash_driver_write.c | 2 +- common/src/lx_nor_flash_extended_cache_enable.c | 2 +- test/regression/levelx_nor_flash_test_cache.c | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/common/inc/lx_api.h b/common/inc/lx_api.h index 8af0901..6ef35ff 100644 --- a/common/inc/lx_api.h +++ b/common/inc/lx_api.h @@ -10,7 +10,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Codex (GPT-5). +// Portions of this file were generated with AI assistance. /**************************************************************************/ diff --git a/common/src/lx_nand_flash_block_allocate.c b/common/src/lx_nand_flash_block_allocate.c index ff3407d..551030e 100644 --- a/common/src/lx_nand_flash_block_allocate.c +++ b/common/src/lx_nand_flash_block_allocate.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Copilot (Sonnet 4.6). +// Portions of this file were generated with AI assistance. /**************************************************************************/ /**************************************************************************/ diff --git a/common/src/lx_nand_flash_block_data_move.c b/common/src/lx_nand_flash_block_data_move.c index e265243..46ca11c 100644 --- a/common/src/lx_nand_flash_block_data_move.c +++ b/common/src/lx_nand_flash_block_data_move.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Copilot (Sonnet 4.6). +// Portions of this file were generated with AI assistance. /**************************************************************************/ /**************************************************************************/ diff --git a/common/src/lx_nand_flash_defragment.c b/common/src/lx_nand_flash_defragment.c index 8afced7..a5fdb52 100644 --- a/common/src/lx_nand_flash_defragment.c +++ b/common/src/lx_nand_flash_defragment.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Copilot (Sonnet 4.6). +// Portions of this file were generated with AI assistance. /**************************************************************************/ /**************************************************************************/ diff --git a/common/src/lx_nand_flash_logical_group_compact.c b/common/src/lx_nand_flash_logical_group_compact.c index 1e71221..8d1d0cc 100644 --- a/common/src/lx_nand_flash_logical_group_compact.c +++ b/common/src/lx_nand_flash_logical_group_compact.c @@ -8,7 +8,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Copilot (Sonnet 4.6). +// Portions of this file were generated with AI assistance. /**************************************************************************/ /**************************************************************************/ diff --git a/common/src/lx_nand_flash_memory_initialize.c b/common/src/lx_nand_flash_memory_initialize.c index 92143d4..af8f444 100644 --- a/common/src/lx_nand_flash_memory_initialize.c +++ b/common/src/lx_nand_flash_memory_initialize.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Copilot (Sonnet 4.6). +// Portions of this file were generated with AI assistance. /**************************************************************************/ /**************************************************************************/ diff --git a/common/src/lx_nand_flash_open_extended.c b/common/src/lx_nand_flash_open_extended.c index 69f97d5..282a21d 100644 --- a/common/src/lx_nand_flash_open_extended.c +++ b/common/src/lx_nand_flash_open_extended.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Copilot (Sonnet 4.6). +// Portions of this file were generated with AI assistance. /**************************************************************************/ /**************************************************************************/ diff --git a/common/src/lx_nand_flash_sector_read.c b/common/src/lx_nand_flash_sector_read.c index aa537dc..2e181b5 100644 --- a/common/src/lx_nand_flash_sector_read.c +++ b/common/src/lx_nand_flash_sector_read.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Copilot (Sonnet 4.6). +// Portions of this file were generated with AI assistance. /**************************************************************************/ /**************************************************************************/ diff --git a/common/src/lx_nand_flash_sector_release.c b/common/src/lx_nand_flash_sector_release.c index 9783442..ea4a55f 100644 --- a/common/src/lx_nand_flash_sector_release.c +++ b/common/src/lx_nand_flash_sector_release.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Copilot (Sonnet 4.6). +// Portions of this file were generated with AI assistance. /**************************************************************************/ /**************************************************************************/ diff --git a/common/src/lx_nand_flash_sector_write.c b/common/src/lx_nand_flash_sector_write.c index a625b53..4afca76 100644 --- a/common/src/lx_nand_flash_sector_write.c +++ b/common/src/lx_nand_flash_sector_write.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Copilot (Sonnet 4.6). +// Portions of this file were generated with AI assistance. /**************************************************************************/ /**************************************************************************/ diff --git a/common/src/lx_nor_flash_driver_block_erase.c b/common/src/lx_nor_flash_driver_block_erase.c index 9ca8269..e410046 100644 --- a/common/src/lx_nor_flash_driver_block_erase.c +++ b/common/src/lx_nor_flash_driver_block_erase.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Codex (GPT-5). +// Portions of this file were generated with AI assistance. /**************************************************************************/ diff --git a/common/src/lx_nor_flash_driver_read.c b/common/src/lx_nor_flash_driver_read.c index ce1826b..5f2f0e5 100644 --- a/common/src/lx_nor_flash_driver_read.c +++ b/common/src/lx_nor_flash_driver_read.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Codex (GPT-5). +// Portions of this file were generated with AI assistance. /**************************************************************************/ diff --git a/common/src/lx_nor_flash_driver_write.c b/common/src/lx_nor_flash_driver_write.c index ea38c58..96c3ec5 100644 --- a/common/src/lx_nor_flash_driver_write.c +++ b/common/src/lx_nor_flash_driver_write.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Codex (GPT-5). +// Portions of this file were generated with AI assistance. /**************************************************************************/ diff --git a/common/src/lx_nor_flash_extended_cache_enable.c b/common/src/lx_nor_flash_extended_cache_enable.c index 443513b..0c70fb9 100644 --- a/common/src/lx_nor_flash_extended_cache_enable.c +++ b/common/src/lx_nor_flash_extended_cache_enable.c @@ -9,7 +9,7 @@ * SPDX-License-Identifier: MIT **************************************************************************/ -// Some portions generated by Codex (GPT-5). +// Portions of this file were generated with AI assistance. /**************************************************************************/ diff --git a/test/regression/levelx_nor_flash_test_cache.c b/test/regression/levelx_nor_flash_test_cache.c index 1317b0e..bb2691e 100644 --- a/test/regression/levelx_nor_flash_test_cache.c +++ b/test/regression/levelx_nor_flash_test_cache.c @@ -9,7 +9,7 @@ /* SPDX-License-Identifier: MIT */ /***************************************************************************/ -// Some portions generated by Codex (GPT-5). +// Portions of this file were generated with AI assistance. /* Basic NOR flash tests... */