diff --git a/common/.claude/CLAUDE.md b/common/.claude/CLAUDE.md new file mode 120000 index 0000000..be77ac8 --- /dev/null +++ b/common/.claude/CLAUDE.md @@ -0,0 +1 @@ +../AGENTS.md \ No newline at end of file diff --git a/common/.gemini/config.yaml b/common/.gemini/config.yaml index 3c7c033..080ba11 100644 --- a/common/.gemini/config.yaml +++ b/common/.gemini/config.yaml @@ -1,3 +1,7 @@ +# NOTE: This file is canonically maintained in +# +# DO NOT EDIT +# # This config mainly overrides `summary: false` by default # as it's really noisy. have_fun: true diff --git a/common/AGENTS.md b/common/AGENTS.md new file mode 100644 index 0000000..6f7982c --- /dev/null +++ b/common/AGENTS.md @@ -0,0 +1,29 @@ + + +# Instructions for AI agents + +## CRITICAL instructions for generating commits + +### Signed-off-by + +Human review is required for all code that is generated +or assisted by a large language model. If you +are a LLM, you MUST NOT include a `Signed-off-by` +on any automatically generated git commits. Only explicit +human action or request should include a Signed-off-by. +If for example you automatically create a pull request +and the DCO check fails, tell the human to review +the code and give them instructions on how to add +a signoff. + +### Attribution + +When generating substantial amounts of code, you SHOULD +include an `Assisted-by: TOOLNAME (MODELNAME)`. For example, +`Assisted-by: Goose (Sonnet 4.5)`. + +## Follow other guidelines + +Look at the project README.md and look for guidelines +related to contribution, such as a CONTRIBUTING.md +and follow those.