diff --git a/.github/workflows/repo_checks.yml b/.github/workflows/repo_checks.yml new file mode 100644 index 000000000..955e6ddd1 --- /dev/null +++ b/.github/workflows/repo_checks.yml @@ -0,0 +1,63 @@ +############################################################################### +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# AI Disclosure: This file was largely AI-generated by Claude Code (Opus 5). +# The AI-generated portions may be considered public domain (CC0-1.0) +# and not subject to the project's licence. The human contributor has +# reviewed and verified that the code is correct. +# +# SPDX-License-Identifier: MIT and CC0-1.0 +############################################################################### + +name: repo_checks + +# Repository-wide text checks. +# +# THIS LIVES IN ITS OWN WORKFLOW BECAUSE IT MUST NOT BE PATH-FILTERED, and a +# path filter is a property of a workflow rather than of a job. The check +# selects its input with `git ls-files` and scans every tracked file, so any +# file at all can carry a finding. +# +# That is not hypothetical here. The pass that introduced the fixed +# disclosure line covered source files only, and the drift it was meant to end +# survived for months afterwards in CMake files, toolchain files, shell and +# PowerShell scripts, a GDB script and a Visual Studio manifest -- precisely +# the files a source-path filter would have skipped. A workflow that gates no +# pull request anybody opens is worse than no workflow, because it looks like +# coverage. +# +# Cheap enough that running it on everything costs nothing worth measuring: it +# is grep over a repository this size, with no toolchain, no build and no +# cache. + +on: + # No `paths:` on either trigger, deliberately. See above. + push: + branches: [ dev, master ] + pull_request: + branches: [ dev, master ] + +# A second push to the same branch makes the first answer irrelevant. +concurrency: + group: repo-checks-${{ github.ref }} + cancel-in-progress: true + +permissions: + contents: read + +jobs: + checks: + runs-on: ubuntu-24.04 + steps: + # Actions are pinned to a commit SHA with the version in the trailing + # comment. A tag can be moved; a SHA cannot, which is what makes "which + # code ran in our CI" answerable from the repository. + - name: Check out the repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + + - name: Check the AI disclosure comments + run: scripts/check_ai_disclosure.sh diff --git a/cmake/aarch64-none-elf.cmake b/cmake/aarch64-none-elf.cmake index be2034251..dada9fec1 100644 --- a/cmake/aarch64-none-elf.cmake +++ b/cmake/aarch64-none-elf.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Shared settings for the AArch64 bare metal ports, the counterpart of # arm-none-eabi.cmake beside it. The two differ by more than the tool prefix: diff --git a/cmake/arm11.cmake b/cmake/arm11.cmake index cd28e9458..957e1f053 100644 --- a/cmake/arm11.cmake +++ b/cmake/arm11.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for ARM11 using GNU tools. The port readme identifies the # target as ARM1136J-S, which is what -mcpu selects. diff --git a/cmake/arm9.cmake b/cmake/arm9.cmake index 5bf113758..436d232e5 100644 --- a/cmake/arm9.cmake +++ b/cmake/arm9.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for ARM9 using GNU tools. This is the oldest core in the # CMake build; the port readme names ARM9 itself. diff --git a/cmake/cortex_a12.cmake b/cmake/cortex_a12.cmake index 54658771c..4c5a603e2 100644 --- a/cmake/cortex_a12.cmake +++ b/cmake/cortex_a12.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A12 using GNU tools. diff --git a/cmake/cortex_a15.cmake b/cmake/cortex_a15.cmake index 84f85702f..30ab71d2a 100644 --- a/cmake/cortex_a15.cmake +++ b/cmake/cortex_a15.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A15 using GNU tools. diff --git a/cmake/cortex_a17.cmake b/cmake/cortex_a17.cmake index 594ee96f7..c0f7e86be 100644 --- a/cmake/cortex_a17.cmake +++ b/cmake/cortex_a17.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A17 using GNU tools. diff --git a/cmake/cortex_a34.cmake b/cmake/cortex_a34.cmake index 36d855e38..14d244ea3 100644 --- a/cmake/cortex_a34.cmake +++ b/cmake/cortex_a34.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A34 using GNU tools. diff --git a/cmake/cortex_a35.cmake b/cmake/cortex_a35.cmake index ed3d187b5..60107e31e 100644 --- a/cmake/cortex_a35.cmake +++ b/cmake/cortex_a35.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A35 using GNU tools. diff --git a/cmake/cortex_a5.cmake b/cmake/cortex_a5.cmake index c87577846..501695db1 100644 --- a/cmake/cortex_a5.cmake +++ b/cmake/cortex_a5.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A5 using GNU tools. diff --git a/cmake/cortex_a53.cmake b/cmake/cortex_a53.cmake index d5011d27b..975808575 100644 --- a/cmake/cortex_a53.cmake +++ b/cmake/cortex_a53.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A53 using GNU tools. diff --git a/cmake/cortex_a55.cmake b/cmake/cortex_a55.cmake index 8c32ac039..fd13fd276 100644 --- a/cmake/cortex_a55.cmake +++ b/cmake/cortex_a55.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A55 using GNU tools. diff --git a/cmake/cortex_a57.cmake b/cmake/cortex_a57.cmake index 9a5b64221..ca2a1902e 100644 --- a/cmake/cortex_a57.cmake +++ b/cmake/cortex_a57.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A57 using GNU tools. diff --git a/cmake/cortex_a5x.cmake b/cmake/cortex_a5x.cmake index 0fe6730e7..b212cb877 100644 --- a/cmake/cortex_a5x.cmake +++ b/cmake/cortex_a5x.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for the Arm Cortex-A5x SMP port using GNU tools. That port # targets the family rather than one core: its readme and example name A53, diff --git a/cmake/cortex_a65.cmake b/cmake/cortex_a65.cmake index 389605aa2..6011522cb 100644 --- a/cmake/cortex_a65.cmake +++ b/cmake/cortex_a65.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A65 using GNU tools. diff --git a/cmake/cortex_a65ae.cmake b/cmake/cortex_a65ae.cmake index 717ce0c47..d0bf1d50b 100644 --- a/cmake/cortex_a65ae.cmake +++ b/cmake/cortex_a65ae.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A65ae using GNU tools. diff --git a/cmake/cortex_a7.cmake b/cmake/cortex_a7.cmake index 5e3f4a9cb..2f0fb5c8d 100644 --- a/cmake/cortex_a7.cmake +++ b/cmake/cortex_a7.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A7 using GNU tools. diff --git a/cmake/cortex_a72.cmake b/cmake/cortex_a72.cmake index 24a65cf98..3e07e47d5 100644 --- a/cmake/cortex_a72.cmake +++ b/cmake/cortex_a72.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A72 using GNU tools. diff --git a/cmake/cortex_a73.cmake b/cmake/cortex_a73.cmake index b5bb0c7d7..eb95c4f12 100644 --- a/cmake/cortex_a73.cmake +++ b/cmake/cortex_a73.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A73 using GNU tools. diff --git a/cmake/cortex_a75.cmake b/cmake/cortex_a75.cmake index 8b4694df2..851a6f909 100644 --- a/cmake/cortex_a75.cmake +++ b/cmake/cortex_a75.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A75 using GNU tools. diff --git a/cmake/cortex_a76.cmake b/cmake/cortex_a76.cmake index 8a4718b6a..1d3766e9d 100644 --- a/cmake/cortex_a76.cmake +++ b/cmake/cortex_a76.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A76 using GNU tools. diff --git a/cmake/cortex_a76ae.cmake b/cmake/cortex_a76ae.cmake index 66c9cd403..99e4de80c 100644 --- a/cmake/cortex_a76ae.cmake +++ b/cmake/cortex_a76ae.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A76ae using GNU tools. diff --git a/cmake/cortex_a77.cmake b/cmake/cortex_a77.cmake index ba61d0e24..2df67ddd0 100644 --- a/cmake/cortex_a77.cmake +++ b/cmake/cortex_a77.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A77 using GNU tools. diff --git a/cmake/cortex_a78.cmake b/cmake/cortex_a78.cmake index b5523913e..fdd8324b5 100644 --- a/cmake/cortex_a78.cmake +++ b/cmake/cortex_a78.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A78 using GNU tools. diff --git a/cmake/cortex_a8.cmake b/cmake/cortex_a8.cmake index 8fd839e94..92db6228e 100644 --- a/cmake/cortex_a8.cmake +++ b/cmake/cortex_a8.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-A8 using GNU tools. diff --git a/cmake/cortex_m23.cmake b/cmake/cortex_m23.cmake index 22ba78a45..a8ed71257 100644 --- a/cmake/cortex_m23.cmake +++ b/cmake/cortex_m23.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-M23 using GNU tools. Armv8-M Baseline is # Thumb only, hence -mthumb with no Arm state alternative. diff --git a/cmake/cortex_m33.cmake b/cmake/cortex_m33.cmake index 6acab09d7..c7dff48ae 100644 --- a/cmake/cortex_m33.cmake +++ b/cmake/cortex_m33.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-M33 using GNU tools. diff --git a/cmake/cortex_m52.cmake b/cmake/cortex_m52.cmake index 4ba987d6d..21a7d4877 100644 --- a/cmake/cortex_m52.cmake +++ b/cmake/cortex_m52.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-M52 using GNU tools. # diff --git a/cmake/cortex_m55.cmake b/cmake/cortex_m55.cmake index 3a35c8bd1..abdf3264c 100644 --- a/cmake/cortex_m55.cmake +++ b/cmake/cortex_m55.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-M55 using GNU tools. # diff --git a/cmake/cortex_m85.cmake b/cmake/cortex_m85.cmake index 82b44a736..e8eb7c290 100644 --- a/cmake/cortex_m85.cmake +++ b/cmake/cortex_m85.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-M85 using GNU tools. # diff --git a/cmake/cortex_r4.cmake b/cmake/cortex_r4.cmake index 4b09e076b..88b5ce9e6 100644 --- a/cmake/cortex_r4.cmake +++ b/cmake/cortex_r4.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-R4 using GNU tools. diff --git a/cmake/cortex_r5.cmake b/cmake/cortex_r5.cmake index 8c93a0016..6050a4c9a 100644 --- a/cmake/cortex_r5.cmake +++ b/cmake/cortex_r5.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-R5 using GNU tools. diff --git a/cmake/cortex_r52.cmake b/cmake/cortex_r52.cmake index a9e7aee61..183782c9a 100644 --- a/cmake/cortex_r52.cmake +++ b/cmake/cortex_r52.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-R52 (Armv8-R, AArch32) using GNU tools. diff --git a/cmake/cortex_r52_clang.cmake b/cmake/cortex_r52_clang.cmake index 2105ecbe2..f5669efa7 100644 --- a/cmake/cortex_r52_clang.cmake +++ b/cmake/cortex_r52_clang.cmake @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Toolchain file for Arm Cortex-R52 (Armv8-R, AArch32) using Arm Toolchain for # Embedded, which is LLVM based and is the successor to Arm Compiler 6. diff --git a/ports/arm11/gnu/CMakeLists.txt b/ports/arm11/gnu/CMakeLists.txt index 83d7e0fa8..b8166b4d1 100644 --- a/ports/arm11/gnu/CMakeLists.txt +++ b/ports/arm11/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for arm11, GNU tools. diff --git a/ports/arm11/gnu/example_build/build_threadx.sh b/ports/arm11/gnu/example_build/build_threadx.sh index 693b44ce8..f7253cf16 100755 --- a/ports/arm11/gnu/example_build/build_threadx.sh +++ b/ports/arm11/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/arm11/gnu/example_build/build_threadx_sample.sh b/ports/arm11/gnu/example_build/build_threadx_sample.sh index 93287d531..97a3a1c56 100755 --- a/ports/arm11/gnu/example_build/build_threadx_sample.sh +++ b/ports/arm11/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/arm9/gnu/CMakeLists.txt b/ports/arm9/gnu/CMakeLists.txt index 6d071937c..f98d2556d 100644 --- a/ports/arm9/gnu/CMakeLists.txt +++ b/ports/arm9/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for arm9, GNU tools. diff --git a/ports/arm9/gnu/example_build/build_threadx.sh b/ports/arm9/gnu/example_build/build_threadx.sh index ad8a3357d..d8de5055a 100755 --- a/ports/arm9/gnu/example_build/build_threadx.sh +++ b/ports/arm9/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/arm9/gnu/example_build/build_threadx_sample.sh b/ports/arm9/gnu/example_build/build_threadx_sample.sh index 78b3ac7fa..d9339bc07 100755 --- a/ports/arm9/gnu/example_build/build_threadx_sample.sh +++ b/ports/arm9/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a12/gnu/CMakeLists.txt b/ports/cortex_a12/gnu/CMakeLists.txt index d03910d1d..fc2158767 100644 --- a/ports/cortex_a12/gnu/CMakeLists.txt +++ b/ports/cortex_a12/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the ARMv7-A cores, GNU tools. # Copied into every ARMv7-A gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a12/gnu/example_build/build_threadx.sh b/ports/cortex_a12/gnu/example_build/build_threadx.sh index ec3cd8279..af9b02a83 100755 --- a/ports/cortex_a12/gnu/example_build/build_threadx.sh +++ b/ports/cortex_a12/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a12/gnu/example_build/build_threadx_sample.sh b/ports/cortex_a12/gnu/example_build/build_threadx_sample.sh index 0d2fdf5b4..43b0882e6 100755 --- a/ports/cortex_a12/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_a12/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a15/gnu/CMakeLists.txt b/ports/cortex_a15/gnu/CMakeLists.txt index d03910d1d..fc2158767 100644 --- a/ports/cortex_a15/gnu/CMakeLists.txt +++ b/ports/cortex_a15/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the ARMv7-A cores, GNU tools. # Copied into every ARMv7-A gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a15/gnu/example_build/build_threadx.sh b/ports/cortex_a15/gnu/example_build/build_threadx.sh index 74e7fe8af..4cfb4531d 100755 --- a/ports/cortex_a15/gnu/example_build/build_threadx.sh +++ b/ports/cortex_a15/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a15/gnu/example_build/build_threadx_sample.sh b/ports/cortex_a15/gnu/example_build/build_threadx_sample.sh index dcda93622..e34e74108 100755 --- a/ports/cortex_a15/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_a15/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a17/gnu/CMakeLists.txt b/ports/cortex_a17/gnu/CMakeLists.txt index d03910d1d..fc2158767 100644 --- a/ports/cortex_a17/gnu/CMakeLists.txt +++ b/ports/cortex_a17/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the ARMv7-A cores, GNU tools. # Copied into every ARMv7-A gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a17/gnu/example_build/build_threadx.sh b/ports/cortex_a17/gnu/example_build/build_threadx.sh index 6616b2d27..31f1ee346 100755 --- a/ports/cortex_a17/gnu/example_build/build_threadx.sh +++ b/ports/cortex_a17/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a17/gnu/example_build/build_threadx_sample.sh b/ports/cortex_a17/gnu/example_build/build_threadx_sample.sh index e200d473b..ef776a9bf 100755 --- a/ports/cortex_a17/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_a17/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a34/gnu/CMakeLists.txt b/ports/cortex_a34/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a34/gnu/CMakeLists.txt +++ b/ports/cortex_a34/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a35/gnu/CMakeLists.txt b/ports/cortex_a35/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a35/gnu/CMakeLists.txt +++ b/ports/cortex_a35/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a5/gnu/CMakeLists.txt b/ports/cortex_a5/gnu/CMakeLists.txt index d03910d1d..fc2158767 100644 --- a/ports/cortex_a5/gnu/CMakeLists.txt +++ b/ports/cortex_a5/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the ARMv7-A cores, GNU tools. # Copied into every ARMv7-A gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a5/gnu/example_build/build_threadx.sh b/ports/cortex_a5/gnu/example_build/build_threadx.sh index c19003962..212fccc90 100755 --- a/ports/cortex_a5/gnu/example_build/build_threadx.sh +++ b/ports/cortex_a5/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a5/gnu/example_build/build_threadx_sample.sh b/ports/cortex_a5/gnu/example_build/build_threadx_sample.sh index 4422f95f9..c65b831a5 100755 --- a/ports/cortex_a5/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_a5/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a53/gnu/CMakeLists.txt b/ports/cortex_a53/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a53/gnu/CMakeLists.txt +++ b/ports/cortex_a53/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a55/gnu/CMakeLists.txt b/ports/cortex_a55/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a55/gnu/CMakeLists.txt +++ b/ports/cortex_a55/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a57/gnu/CMakeLists.txt b/ports/cortex_a57/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a57/gnu/CMakeLists.txt +++ b/ports/cortex_a57/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a65/gnu/CMakeLists.txt b/ports/cortex_a65/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a65/gnu/CMakeLists.txt +++ b/ports/cortex_a65/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a65ae/gnu/CMakeLists.txt b/ports/cortex_a65ae/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a65ae/gnu/CMakeLists.txt +++ b/ports/cortex_a65ae/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a7/gnu/CMakeLists.txt b/ports/cortex_a7/gnu/CMakeLists.txt index d03910d1d..fc2158767 100644 --- a/ports/cortex_a7/gnu/CMakeLists.txt +++ b/ports/cortex_a7/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the ARMv7-A cores, GNU tools. # Copied into every ARMv7-A gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a7/gnu/example_build/build_threadx.sh b/ports/cortex_a7/gnu/example_build/build_threadx.sh index 223f72cfe..e7e0408aa 100755 --- a/ports/cortex_a7/gnu/example_build/build_threadx.sh +++ b/ports/cortex_a7/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a7/gnu/example_build/build_threadx_sample.sh b/ports/cortex_a7/gnu/example_build/build_threadx_sample.sh index a59e9139d..8526340c8 100755 --- a/ports/cortex_a7/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_a7/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a72/gnu/CMakeLists.txt b/ports/cortex_a72/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a72/gnu/CMakeLists.txt +++ b/ports/cortex_a72/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a73/gnu/CMakeLists.txt b/ports/cortex_a73/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a73/gnu/CMakeLists.txt +++ b/ports/cortex_a73/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a75/gnu/CMakeLists.txt b/ports/cortex_a75/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a75/gnu/CMakeLists.txt +++ b/ports/cortex_a75/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a76/gnu/CMakeLists.txt b/ports/cortex_a76/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a76/gnu/CMakeLists.txt +++ b/ports/cortex_a76/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a76ae/gnu/CMakeLists.txt b/ports/cortex_a76ae/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a76ae/gnu/CMakeLists.txt +++ b/ports/cortex_a76ae/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a77/gnu/CMakeLists.txt b/ports/cortex_a77/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports/cortex_a77/gnu/CMakeLists.txt +++ b/ports/cortex_a77/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a8/gnu/CMakeLists.txt b/ports/cortex_a8/gnu/CMakeLists.txt index d03910d1d..fc2158767 100644 --- a/ports/cortex_a8/gnu/CMakeLists.txt +++ b/ports/cortex_a8/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the ARMv7-A cores, GNU tools. # Copied into every ARMv7-A gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a8/gnu/example_build/build_threadx.sh b/ports/cortex_a8/gnu/example_build/build_threadx.sh index ab7ba54f0..2678ab15f 100755 --- a/ports/cortex_a8/gnu/example_build/build_threadx.sh +++ b/ports/cortex_a8/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a8/gnu/example_build/build_threadx_sample.sh b/ports/cortex_a8/gnu/example_build/build_threadx_sample.sh index 88e7ed553..78deda53f 100755 --- a/ports/cortex_a8/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_a8/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a9/gnu/CMakeLists.txt b/ports/cortex_a9/gnu/CMakeLists.txt index d03910d1d..fc2158767 100644 --- a/ports/cortex_a9/gnu/CMakeLists.txt +++ b/ports/cortex_a9/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the ARMv7-A cores, GNU tools. # Copied into every ARMv7-A gnu port by update.sh, so edit it here. diff --git a/ports/cortex_a9/gnu/example_build/build_threadx.sh b/ports/cortex_a9/gnu/example_build/build_threadx.sh index ede743654..920b8b7fb 100755 --- a/ports/cortex_a9/gnu/example_build/build_threadx.sh +++ b/ports/cortex_a9/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_a9/gnu/example_build/build_threadx_sample.sh b/ports/cortex_a9/gnu/example_build/build_threadx_sample.sh index ea3178cb3..d7fdce06e 100755 --- a/ports/cortex_a9/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_a9/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m0/gnu/example_build/build_threadx.sh b/ports/cortex_m0/gnu/example_build/build_threadx.sh index 88e2bd473..3ef038454 100755 --- a/ports/cortex_m0/gnu/example_build/build_threadx.sh +++ b/ports/cortex_m0/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m0/gnu/example_build/build_threadx_sample.sh b/ports/cortex_m0/gnu/example_build/build_threadx_sample.sh index b9de126fe..772813df7 100755 --- a/ports/cortex_m0/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_m0/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m23/gnu/CMakeLists.txt b/ports/cortex_m23/gnu/CMakeLists.txt index e7c71e07d..a16300c1a 100644 --- a/ports/cortex_m23/gnu/CMakeLists.txt +++ b/ports/cortex_m23/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for cortex_m23, GNU tools. diff --git a/ports/cortex_m23/gnu/example_build/build_threadx.sh b/ports/cortex_m23/gnu/example_build/build_threadx.sh index b5c97e53e..16a424387 100755 --- a/ports/cortex_m23/gnu/example_build/build_threadx.sh +++ b/ports/cortex_m23/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m23/gnu/example_build/build_threadx_sample.sh b/ports/cortex_m23/gnu/example_build/build_threadx_sample.sh index b359e160e..7aa425616 100755 --- a/ports/cortex_m23/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_m23/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m3/ghs/example_build/tx_initialize_low_level.arm b/ports/cortex_m3/ghs/example_build/tx_initialize_low_level.arm index 47beffbc2..b9f622fe4 100644 --- a/ports/cortex_m3/ghs/example_build/tx_initialize_low_level.arm +++ b/ports/cortex_m3/ghs/example_build/tx_initialize_low_level.arm @@ -8,7 +8,7 @@ * * SPDX-License-Identifier: MIT **************************************************************************/ -; Some portions generated by Copilot (Opus 5). +; Portions of this file were generated with AI assistance. /**************************************************************************/ diff --git a/ports/cortex_m3/gnu/example_build/build_threadx.sh b/ports/cortex_m3/gnu/example_build/build_threadx.sh index 9c924d41f..b938bb2f0 100755 --- a/ports/cortex_m3/gnu/example_build/build_threadx.sh +++ b/ports/cortex_m3/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m3/gnu/example_build/build_threadx_sample.sh b/ports/cortex_m3/gnu/example_build/build_threadx_sample.sh index 1b6b7f7ca..472e8ebd3 100755 --- a/ports/cortex_m3/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_m3/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m33/gnu/example_build/build_threadx.sh b/ports/cortex_m33/gnu/example_build/build_threadx.sh index b97e7b2a4..00fd41407 100755 --- a/ports/cortex_m33/gnu/example_build/build_threadx.sh +++ b/ports/cortex_m33/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m33/gnu/example_build/build_threadx_sample.sh b/ports/cortex_m33/gnu/example_build/build_threadx_sample.sh index 6cf086ed9..5bd1c8dff 100755 --- a/ports/cortex_m33/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_m33/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m4/ghs/example_build/tx_initialize_low_level.arm b/ports/cortex_m4/ghs/example_build/tx_initialize_low_level.arm index 1de645edd..ee3bc56ff 100644 --- a/ports/cortex_m4/ghs/example_build/tx_initialize_low_level.arm +++ b/ports/cortex_m4/ghs/example_build/tx_initialize_low_level.arm @@ -8,7 +8,7 @@ * * SPDX-License-Identifier: MIT **************************************************************************/ -; Some portions generated by Copilot (Opus 5). +; Portions of this file were generated with AI assistance. /**************************************************************************/ diff --git a/ports/cortex_m4/gnu/example_build/build_threadx.sh b/ports/cortex_m4/gnu/example_build/build_threadx.sh index 69a951789..d6971e300 100755 --- a/ports/cortex_m4/gnu/example_build/build_threadx.sh +++ b/ports/cortex_m4/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m4/gnu/example_build/build_threadx_sample.sh b/ports/cortex_m4/gnu/example_build/build_threadx_sample.sh index 39fef2036..34c60bf17 100755 --- a/ports/cortex_m4/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_m4/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m55/gnu/example_build/build_threadx.sh b/ports/cortex_m55/gnu/example_build/build_threadx.sh index 67220aae3..dc0d75bc3 100755 --- a/ports/cortex_m55/gnu/example_build/build_threadx.sh +++ b/ports/cortex_m55/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m55/gnu/example_build/build_threadx_sample.sh b/ports/cortex_m55/gnu/example_build/build_threadx_sample.sh index b297995ab..0131c4085 100755 --- a/ports/cortex_m55/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_m55/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m7/ghs/example_build/tx_initialize_low_level.arm b/ports/cortex_m7/ghs/example_build/tx_initialize_low_level.arm index b98fa9745..7c2b80ab3 100644 --- a/ports/cortex_m7/ghs/example_build/tx_initialize_low_level.arm +++ b/ports/cortex_m7/ghs/example_build/tx_initialize_low_level.arm @@ -8,7 +8,7 @@ * * SPDX-License-Identifier: MIT **************************************************************************/ -; Some portions generated by Copilot (Opus 5). +; Portions of this file were generated with AI assistance. /**************************************************************************/ diff --git a/ports/cortex_m7/gnu/example_build/build_threadx.sh b/ports/cortex_m7/gnu/example_build/build_threadx.sh index d7875b4a4..1aea1938a 100755 --- a/ports/cortex_m7/gnu/example_build/build_threadx.sh +++ b/ports/cortex_m7/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m7/gnu/example_build/build_threadx_sample.sh b/ports/cortex_m7/gnu/example_build/build_threadx_sample.sh index 3b6a6c012..9a59e93c6 100755 --- a/ports/cortex_m7/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_m7/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m85/gnu/example_build/build_threadx.sh b/ports/cortex_m85/gnu/example_build/build_threadx.sh index b579685ef..cc87ce572 100755 --- a/ports/cortex_m85/gnu/example_build/build_threadx.sh +++ b/ports/cortex_m85/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_m85/gnu/example_build/build_threadx_sample.sh b/ports/cortex_m85/gnu/example_build/build_threadx_sample.sh index 0bddbbf61..795d94009 100755 --- a/ports/cortex_m85/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_m85/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_r4/gnu/CMakeLists.txt b/ports/cortex_r4/gnu/CMakeLists.txt index b40b5b998..328020d09 100644 --- a/ports/cortex_r4/gnu/CMakeLists.txt +++ b/ports/cortex_r4/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for cortex_r4, GNU tools. diff --git a/ports/cortex_r4/gnu/example_build/build_threadx.sh b/ports/cortex_r4/gnu/example_build/build_threadx.sh index bd03369fe..9d55743b8 100755 --- a/ports/cortex_r4/gnu/example_build/build_threadx.sh +++ b/ports/cortex_r4/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_r4/gnu/example_build/build_threadx_sample.sh b/ports/cortex_r4/gnu/example_build/build_threadx_sample.sh index 1f0e2709e..7871bae4c 100755 --- a/ports/cortex_r4/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_r4/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_r5/gnu/CMakeLists.txt b/ports/cortex_r5/gnu/CMakeLists.txt index 46d1dadb7..3e5421edb 100644 --- a/ports/cortex_r5/gnu/CMakeLists.txt +++ b/ports/cortex_r5/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for cortex_r5, GNU tools. diff --git a/ports/cortex_r5/gnu/example_build/build_threadx.sh b/ports/cortex_r5/gnu/example_build/build_threadx.sh index a71eb5cb8..0108d1c8d 100755 --- a/ports/cortex_r5/gnu/example_build/build_threadx.sh +++ b/ports/cortex_r5/gnu/example_build/build_threadx.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_r5/gnu/example_build/build_threadx_sample.sh b/ports/cortex_r5/gnu/example_build/build_threadx_sample.sh index 2b3e4d551..53eb59025 100755 --- a/ports/cortex_r5/gnu/example_build/build_threadx_sample.sh +++ b/ports/cortex_r5/gnu/example_build/build_threadx_sample.sh @@ -10,7 +10,7 @@ # SPDX-License-Identifier: MIT # # AI Disclosure: This file was largely AI-generated by Copilot (Claude Sonnet 4.6). -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # The AI-generated portions may be considered public domain (CC0-1.0) # and not subject to the project's licence. The human contributor has # reviewed and verified that the code is correct. diff --git a/ports/cortex_r52/gnu/CMakeLists.txt b/ports/cortex_r52/gnu/CMakeLists.txt index 957e2cbed..6444a0632 100644 --- a/ports/cortex_r52/gnu/CMakeLists.txt +++ b/ports/cortex_r52/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. target_sources(${PROJECT_NAME} PRIVATE diff --git a/ports/cortex_r52/gnu/example_build/fvp_baser_aemv8r/CMakeLists.txt b/ports/cortex_r52/gnu/example_build/fvp_baser_aemv8r/CMakeLists.txt index c7e15ec37..ee01eb3e5 100644 --- a/ports/cortex_r52/gnu/example_build/fvp_baser_aemv8r/CMakeLists.txt +++ b/ports/cortex_r52/gnu/example_build/fvp_baser_aemv8r/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Example builds for Cortex-R52 on the Armv8-R AEM FVP (FVP_BaseR_AEMv8R). diff --git a/ports/cortex_r52/gnu/example_build/fvp_baser_aemv8r/test/run_fvp_test.py b/ports/cortex_r52/gnu/example_build/fvp_baser_aemv8r/test/run_fvp_test.py index 356a6a102..37aa0adcf 100644 --- a/ports/cortex_r52/gnu/example_build/fvp_baser_aemv8r/test/run_fvp_test.py +++ b/ports/cortex_r52/gnu/example_build/fvp_baser_aemv8r/test/run_fvp_test.py @@ -2,7 +2,7 @@ # # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # """Run a Cortex-R52 image on the Armv8-R AEM FVP and assert its result. diff --git a/ports/cortex_r52/gnu/example_build/s32z280_evb/CMakeLists.txt b/ports/cortex_r52/gnu/example_build/s32z280_evb/CMakeLists.txt index ae0a8b73f..85dd29d65 100644 --- a/ports/cortex_r52/gnu/example_build/s32z280_evb/CMakeLists.txt +++ b/ports/cortex_r52/gnu/example_build/s32z280_evb/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Example build for Cortex-R52 on the NXP S32Z280-594EVB, RTU0 core 0. # diff --git a/ports/cortex_r52/gnu/example_build/s32z280_evb/tools/read_identity.gdb b/ports/cortex_r52/gnu/example_build/s32z280_evb/tools/read_identity.gdb index e409f8f3f..1bb0890ea 100644 --- a/ports/cortex_r52/gnu/example_build/s32z280_evb/tools/read_identity.gdb +++ b/ports/cortex_r52/gnu/example_build/s32z280_evb/tools/read_identity.gdb @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Load s32z280_boot.elf onto the S32Z280-594EVB, run it, and report what the # core said about itself. diff --git a/ports_arch/ARMv7-A/threadx/ports/gnu/CMakeLists.txt b/ports_arch/ARMv7-A/threadx/ports/gnu/CMakeLists.txt index d03910d1d..fc2158767 100644 --- a/ports_arch/ARMv7-A/threadx/ports/gnu/CMakeLists.txt +++ b/ports_arch/ARMv7-A/threadx/ports/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the ARMv7-A cores, GNU tools. # Copied into every ARMv7-A gnu port by update.sh, so edit it here. diff --git a/ports_arch/ARMv7-M/threadx/ghs/example_build/tx_initialize_low_level.arm b/ports_arch/ARMv7-M/threadx/ghs/example_build/tx_initialize_low_level.arm index b98fa9745..7c2b80ab3 100644 --- a/ports_arch/ARMv7-M/threadx/ghs/example_build/tx_initialize_low_level.arm +++ b/ports_arch/ARMv7-M/threadx/ghs/example_build/tx_initialize_low_level.arm @@ -8,7 +8,7 @@ * * SPDX-License-Identifier: MIT **************************************************************************/ -; Some portions generated by Copilot (Opus 5). +; Portions of this file were generated with AI assistance. /**************************************************************************/ diff --git a/ports_arch/ARMv8-A/threadx/ports/gnu/CMakeLists.txt b/ports_arch/ARMv8-A/threadx/ports/gnu/CMakeLists.txt index 12a58cbeb..972c10f18 100644 --- a/ports_arch/ARMv8-A/threadx/ports/gnu/CMakeLists.txt +++ b/ports_arch/ARMv8-A/threadx/ports/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu port by update.sh, so edit it here. diff --git a/ports_arch/ARMv8-A/threadx_smp/ports/gnu/CMakeLists.txt b/ports_arch/ARMv8-A/threadx_smp/ports/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_arch/ARMv8-A/threadx_smp/ports/gnu/CMakeLists.txt +++ b/ports_arch/ARMv8-A/threadx_smp/ports/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/diagnose_module.gdb b/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/diagnose_module.gdb index 235cd6e48..d1a1a489a 100644 --- a/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/diagnose_module.gdb +++ b/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/diagnose_module.gdb @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Diagnostic run for the S32Z280 module manager demonstration. Same attach and # load as run_module_demo.gdb, but instead of judging the result it dumps the diff --git a/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/run_module_demo.gdb b/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/run_module_demo.gdb index b95eb8265..9c2fe3b50 100644 --- a/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/run_module_demo.gdb +++ b/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/run_module_demo.gdb @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Load s32z280_module.elf onto the S32Z280-594EVB, run it, and report what the # protection boundary did. diff --git a/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/run_module_demo.sh b/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/run_module_demo.sh index c37d5a969..bbbdee436 100755 --- a/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/run_module_demo.sh +++ b/ports_module/cortex_r52/gnu/example_build/s32z280_evb/tools/run_module_demo.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # Run the ThreadX module manager demonstration on the S32Z280-594EVB and capture # the evidence: the console log and the fault registers. diff --git a/ports_module/cortex_r52/gnu/inc/tx_port.h b/ports_module/cortex_r52/gnu/inc/tx_port.h index d3013b1f0..9f6e8e3da 100644 --- a/ports_module/cortex_r52/gnu/inc/tx_port.h +++ b/ports_module/cortex_r52/gnu/inc/tx_port.h @@ -8,7 +8,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/ports_module/cortex_r52/gnu/inc/txm_module_port.h b/ports_module/cortex_r52/gnu/inc/txm_module_port.h index 33a994d93..1d71d40a6 100644 --- a/ports_module/cortex_r52/gnu/inc/txm_module_port.h +++ b/ports_module/cortex_r52/gnu/inc/txm_module_port.h @@ -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/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_context_restore.S b/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_context_restore.S index 90865906b..d6d7f63f2 100644 --- a/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_context_restore.S +++ b/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_context_restore.S @@ -8,7 +8,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/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_context_save.S b/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_context_save.S index 9b61077e4..26443700a 100644 --- a/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_context_save.S +++ b/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_context_save.S @@ -8,7 +8,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/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_schedule.S b/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_schedule.S index ad92ea7ed..e10d7c23a 100644 --- a/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_schedule.S +++ b/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_schedule.S @@ -8,7 +8,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/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_stack_build.S b/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_stack_build.S index 935b321ad..e45805f76 100644 --- a/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_stack_build.S +++ b/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_stack_build.S @@ -8,7 +8,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/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_system_return.S b/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_system_return.S index c0ab615b4..ae0eac7d3 100644 --- a/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_system_return.S +++ b/ports_module/cortex_r52/gnu/module_manager/src/tx_thread_system_return.S @@ -8,7 +8,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/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_alignment_adjust.c b/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_alignment_adjust.c index 6850fe558..e06225f62 100644 --- a/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_alignment_adjust.c +++ b/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_alignment_adjust.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/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_external_memory_enable.c b/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_external_memory_enable.c index c5b9adcf5..f60f1ad74 100644 --- a/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_external_memory_enable.c +++ b/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_external_memory_enable.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/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_memory_fault_handler.c b/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_memory_fault_handler.c index cac30d2fb..62f287e09 100644 --- a/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_memory_fault_handler.c +++ b/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_memory_fault_handler.c @@ -20,7 +20,7 @@ /**************************************************************************/ /**************************************************************************/ -// Some portions generated by Claude Code (Opus 5). +// Portions of this file were generated with AI assistance. #define TX_SOURCE_CODE diff --git a/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_thread_stack_build.S b/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_thread_stack_build.S index 69916ff08..1d1d711a1 100644 --- a/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_thread_stack_build.S +++ b/ports_module/cortex_r52/gnu/module_manager/src/txm_module_manager_thread_stack_build.S @@ -8,7 +8,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/ports_smp/cortex_a34_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a34_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a34_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a34_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a35_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a35_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a35_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a35_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a53_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a53_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a53_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a53_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a55_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a55_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a55_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a55_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a57_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a57_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a57_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a57_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a5_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a5_smp/gnu/CMakeLists.txt index d3b42149c..28c41af5e 100644 --- a/ports_smp/cortex_a5_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a5_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for cortex_a5_smp, GNU tools. diff --git a/ports_smp/cortex_a5x_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a5x_smp/gnu/CMakeLists.txt index dfbd61b30..08db4117e 100644 --- a/ports_smp/cortex_a5x_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a5x_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for cortex_a5x_smp, GNU tools. diff --git a/ports_smp/cortex_a5x_smp/green/src/tx_thread_smp_time_get.a64 b/ports_smp/cortex_a5x_smp/green/src/tx_thread_smp_time_get.a64 index b3501d5a0..37514c26a 100644 --- a/ports_smp/cortex_a5x_smp/green/src/tx_thread_smp_time_get.a64 +++ b/ports_smp/cortex_a5x_smp/green/src/tx_thread_smp_time_get.a64 @@ -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/ports_smp/cortex_a65_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a65_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a65_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a65_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a65ae_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a65ae_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a65ae_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a65ae_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a72_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a72_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a72_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a72_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a73_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a73_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a73_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a73_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a75_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a75_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a75_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a75_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a76_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a76_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a76_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a76_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a76ae_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a76ae_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a76ae_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a76ae_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a77_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a77_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a77_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a77_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a78_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a78_smp/gnu/CMakeLists.txt index b4758a855..36f7492b7 100644 --- a/ports_smp/cortex_a78_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a78_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX SMP port sources for the AArch64 cores, GNU tools. # Copied into every AArch64 gnu SMP port by update.sh, so edit it here. diff --git a/ports_smp/cortex_a7_smp/gnu/CMakeLists.txt b/ports_smp/cortex_a7_smp/gnu/CMakeLists.txt index ef6be36c9..d4094f4d8 100644 --- a/ports_smp/cortex_a7_smp/gnu/CMakeLists.txt +++ b/ports_smp/cortex_a7_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for cortex_a7_smp, GNU tools. diff --git a/ports_smp/linux/gnu/CMakeLists.txt b/ports_smp/linux/gnu/CMakeLists.txt index 23d4a1a58..7ff9e0a5c 100644 --- a/ports_smp/linux/gnu/CMakeLists.txt +++ b/ports_smp/linux/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for linux, GNU tools. diff --git a/ports_smp/mips32_interaptiv_smp/gnu/CMakeLists.txt b/ports_smp/mips32_interaptiv_smp/gnu/CMakeLists.txt index 6f8133312..c54890aaf 100644 --- a/ports_smp/mips32_interaptiv_smp/gnu/CMakeLists.txt +++ b/ports_smp/mips32_interaptiv_smp/gnu/CMakeLists.txt @@ -1,6 +1,6 @@ # Copyright (c) 2026 Eclipse ThreadX contributors # SPDX-License-Identifier: MIT -# Some portions generated by Claude Code (Opus 5). +# Portions of this file were generated with AI assistance. # # ThreadX port sources for mips32_interaptiv_smp, GNU tools. diff --git a/scripts/check_ai_disclosure.sh b/scripts/check_ai_disclosure.sh new file mode 100755 index 000000000..d9707ac95 --- /dev/null +++ b/scripts/check_ai_disclosure.sh @@ -0,0 +1,120 @@ +#!/bin/bash +############################################################################### +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# AI Disclosure: This file was largely AI-generated by Claude Code (Opus 5). +# The AI-generated portions may be considered public domain (CC0-1.0) +# and not subject to the project's licence. The human contributor has +# reviewed and verified that the code is correct. +# +# SPDX-License-Identifier: MIT and CC0-1.0 +############################################################################### +# +# Fail the build if a file's AI disclosure comment has drifted from the one +# accepted form. +# +# A file that was edited with AI assistance carries exactly one line: +# +# Portions of this file were generated with AI assistance. +# +# written with the comment character that file already uses. It names no +# product, no model and no version, and a file carries at most one of it, ever. +# +# The text is fixed for a reason that is easy to miss. An earlier convention +# named the product and the model -- "Some portions generated by +# ()" -- and the result was not attribution but accumulation: each tool +# that touched a file failed to recognise the line another tool had left, and +# appended its own. Files reached three stacked lines, and one product ended +# up spelled four different ways across the tree, which made the record +# unusable for the one question it was meant to answer. +# +# Precise attribution lives on the commit instead, where the Assisted-by +# trailer is dated and attached to the diff it describes: +# +# git log --format='%h %(trailers:key=Assisted-by,valueonly)' -- +# +# A file-level flag answers WHETHER; the history answers WHO. A header line +# cannot hold the second honestly, because the code it names gets rewritten +# and the line stays. +# +# The AI Disclosure paragraph in a new file's copyright header is different and +# is not checked here: it keeps its product and model version, because a file +# is created once and that record cannot grow. +# +# This script is excluded from its own scan. It has to spell the rejected +# forms in order to look for them. + +set -euo pipefail + +readonly ROOT="$(cd "$(dirname "$(realpath "$0")")/.." && pwd)" +readonly SELF='scripts/check_ai_disclosure.sh' +readonly FIXED='Portions of this file were generated with AI assistance.' + +cd "${ROOT}" + +# Tracked files only. A build tree is not this repository's text to police, +# and scanning one would make the check depend on whether somebody had built. +mapfile -d '' -t FILES < <(git ls-files -z | grep -zZv "^${SELF}$") + +status=0 + +report() { + printf '%s\n\n' "$1" >&2 + printf '%s\n\n' "$2" >&2 + status=1 +} + +# 1. The superseded per-edit form, which names a product and a model. +hits="$(grep -nI 'Some portions generated by' -- "${FILES[@]}" 2>/dev/null || true)" +if [ -n "${hits}" ]; then + report "AI disclosure check FAILED: superseded per-edit form. + +Replace each of these with the fixed line, keeping the file's comment +character: + + ${FIXED}" "${hits}" +fi + +# 2. A doubled comment marker, such as '; //' or '@ //'. Assembly dialects +# differ -- armasm and IAR use ';', GNU as uses '@' or '//' -- and writing +# both is a symptom of a tool guessing rather than reading the file. +hits="$(grep -nIE '(//|[;@#])[[:space:]]*//[[:space:]]*Portions of this file were generated' \ + -- "${FILES[@]}" 2>/dev/null || true)" +if [ -n "${hits}" ]; then + report "AI disclosure check FAILED: doubled comment marker. + +Use the single comment character the rest of the file uses." "${hits}" +fi + +# 3. More than one disclosure line in a file. This is the failure the fixed +# text exists to prevent, so it is worth catching directly rather than +# inferring it from the form. +hits="$(grep -cIF "${FIXED}" -- "${FILES[@]}" 2>/dev/null | awk -F: '$NF > 1' || true)" +if [ -n "${hits}" ]; then + report "AI disclosure check FAILED: more than one disclosure line. + +A file carries at most one, ever. Keep the first and delete the rest; the +commit trailer, not the header, records which agents have touched the file." "${hits}" +fi + +# 4. A near miss. A line that is clearly meant to be the disclosure but is +# not spelled exactly right defeats every deduplication that follows it. +hits="$(grep -nIF 'AI assistance' -- "${FILES[@]}" 2>/dev/null \ + | grep -vF "${FIXED}" || true)" +if [ -n "${hits}" ]; then + report "AI disclosure check FAILED: the text is not spelled exactly. + +The accepted text, character for character, is: + + ${FIXED}" "${hits}" +fi + +if [ "${status}" -eq 0 ]; then + echo "AI disclosure check passed." +fi + +exit "${status}" diff --git a/test/tx/cmake/thread_transition/CMakeLists.txt b/test/tx/cmake/thread_transition/CMakeLists.txt index a56592382..342ca839c 100644 --- a/test/tx/cmake/thread_transition/CMakeLists.txt +++ b/test/tx/cmake/thread_transition/CMakeLists.txt @@ -1,4 +1,4 @@ -# Some portions generated by Codex (gpt-5.6-sol). +# Portions of this file were generated with AI assistance. cmake_minimum_required(VERSION 3.13 FATAL_ERROR) cmake_policy(SET CMP0057 NEW)