Guidance for AI agents working in the bitbake repository.
openssl: upgrade 3.2.0 -> 3.2.1 or classes/rootfs-postcommands: fix typo. Check git log --oneline <path> for the prefix convention already in use.[YOCTO #1234] when applicable.Reported-by, Suggested-by, Tested-by, Reviewed-by, Cc tags where relevant.Mandatory: any AI-generated code/commit must add an AI-Generated: tag line in the commit message, placed before Signed-off-by (if present), naming the tool used, e.g.:
component: Add the ability to ... AI-Generated: Uses GitHub Copilot
Also add a code comment or other in-patch indication that the code is AI-generated (recommended, not just the commit tag).
Mandatory Do not automatically add a Signed-off-by. This tag must always be written by the human contributor, never by the AI tool — the DCO/Developer's Statement of Origin still applies in full.
Contributor is responsible for confirming the AI tool‘s terms don’t conflict with the project's open source license/IP policy, and that any third-party copyrighted material in the AI output is properly licensed before contributing it. See the Linux Foundation generative AI guidance: https://www.linuxfoundation.org/legal/generative-ai.
Co-authored-by should be omitted in favor of the AI-generated tag.
When in doubt about a convention, grep git log --oneline <path> in the target repo for precedent before inventing a new style.