Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,12 +284,18 @@ It goes *below* the older copyright. All copyright lines must stay in chronologi
**************************************************************************/
```

If the edit was AI-assisted, add this line just under the header:
If the edit was AI-assisted and the file does not already carry the line, add this one just under the header, using the comment character the file already uses:

```c
// Some portions generated by Claude Code (Opus 5).
// Portions of this file were generated with AI assistance.
```

The text is fixed. It names no product, model or version, and a file carries at most one of it. If the line is already there, leave it alone: do not add a second, and do not amend it because a different tool or a newer model made this edit.

Attribution for the change itself belongs in the commit's `Assisted-by` trailer, which is dated and attached to the diff it describes. `git log --format='%h %(trailers:key=Assisted-by,valueonly)' -- <path>` is the record of which tools have touched a file; a header line cannot keep that record honest, because the code it names gets rewritten and the line stays.

The AI Disclosure paragraph for new files above is different, and keeps its product and model version: a file is created once, so that record cannot grow.

If you copy an existing file to get started on a new one, treat the result as a new file: use the new-file header, do not carry the old one over.

### Commit attribution
Expand Down
2 changes: 1 addition & 1 deletion common/inc/zx_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT and CC0-1.0
**************************************************************************/
// Some portions generated by Claude Code (Opus 5).
// Portions of this file were generated with AI assistance.

/**************************************************************************/
/* */
Expand Down
2 changes: 1 addition & 1 deletion core/inc/zx_fault.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT and CC0-1.0
**************************************************************************/
// Some portions generated by Claude Code (Opus 5).
// Portions of this file were generated with AI assistance.

/**************************************************************************/
/* */
Expand Down
2 changes: 1 addition & 1 deletion core/src/zx_fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT and CC0-1.0
**************************************************************************/
// Some portions generated by Claude Code (Opus 5).
// Portions of this file were generated with AI assistance.

/**************************************************************************/
/* */
Expand Down
2 changes: 1 addition & 1 deletion examples/s32z280_evb/tools/run_zx_probe.gdb
Original file line number Diff line number Diff line change
@@ -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 the ZoneX stage-2 probe onto the S32Z280-594EVB, run it, and report what
# memory says about the run.
Expand Down
2 changes: 1 addition & 1 deletion examples/s32z280_evb/tools/run_zx_probe.sh
Original file line number Diff line number Diff line change
@@ -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 ZoneX stage-2 probe on the S32Z280-594EVB and capture the evidence:
# the console log and the fault registers.
Expand Down
2 changes: 1 addition & 1 deletion platform/cortex_r52/inc/zx_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT and CC0-1.0
**************************************************************************/
// Some portions generated by Claude Code (Opus 5).
// Portions of this file were generated with AI assistance.

/**************************************************************************/
/* */
Expand Down
2 changes: 1 addition & 1 deletion platform/cortex_r52/src/zx_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT and CC0-1.0
**************************************************************************/
// Some portions generated by Claude Code (Opus 5).
// Portions of this file were generated with AI assistance.

/**************************************************************************/
/* */
Expand Down
2 changes: 1 addition & 1 deletion platform/cortex_r52/src/zx_context.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT and CC0-1.0
**************************************************************************/
@ Some portions generated by Claude Code (Opus 5).
@ Portions of this file were generated with AI assistance.

@ zx_context.S -- Cortex-R52 -- the partition switch, at the exception
@ boundary where it has to be assembly and nowhere else.
Expand Down
2 changes: 1 addition & 1 deletion platform/cortex_r52/src/zx_el2_entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT and CC0-1.0
**************************************************************************/
@ Some portions generated by Claude Code (Opus 5).
@ Portions of this file were generated with AI assistance.

@ zx_el2_entry.S -- Cortex-R52 -- the ZoneX EL2 reset and entry path.
@
Expand Down
2 changes: 1 addition & 1 deletion platform/cortex_r52/src/zx_stage2_mpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT and CC0-1.0
**************************************************************************/
// Some portions generated by Claude Code (Opus 5).
// Portions of this file were generated with AI assistance.

/**************************************************************************/
/* */
Expand Down
2 changes: 1 addition & 1 deletion platform/cortex_r52/src/zx_trap_handler.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT and CC0-1.0
**************************************************************************/
@ Some portions generated by Claude Code (Opus 5).
@ Portions of this file were generated with AI assistance.

@ zx_trap_handler.S -- Cortex-R52 -- the ZoneX EL2 exception vectors, and the
@ launch and recapture of an EL1 payload.
Expand Down
2 changes: 1 addition & 1 deletion test/fvp/run_fvp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ZoneX image on the Armv8-R AEM FVP and assert its self-reported result.

Expand Down
2 changes: 1 addition & 1 deletion test/host/zx_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* SPDX-License-Identifier: MIT and CC0-1.0
**************************************************************************/
// Some portions generated by Claude Code (Opus 5).
// Portions of this file were generated with AI assistance.

/**************************************************************************/
/* */
Expand Down
Loading