From df6c6595407561f06ffcba9f3ea0f73677fc0c7e Mon Sep 17 00:00:00 2001 From: Dom Heinzeller Date: Fri, 30 Oct 2026 09:32:24 -0600 Subject: [PATCH 1/2] Add disclaimer about AI use to templates and pull requests --- .github/ISSUE_TEMPLATE/bug_report.md | 6 ++++++ .github/ISSUE_TEMPLATE/feature_request.md | 6 ++++++ .github/ISSUE_TEMPLATE/install_request.yml | 8 ++++++++ .github/pull_request_template.md | 6 ++++++ 4 files changed, 26 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 1aab1c0423..7aabdcb847 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -7,6 +7,12 @@ assignees: '' --- +## Use of generative AI + +_Please refer to our [temporary spack-stack AI policy](https://github.com/JCSDA/spack-stack/issues/2196) for further information._ + +- [ ] I confirm that this contribution was submitted by a real person. If AI tools or agents were used in its preparation, I have personally reviewed and take responsibility for all submitted content, code, and proposed changes. This contribution is not autonomously generated by AI. + ## Description _A clear and concise description of what the bug is._ diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 3d7c201d3c..110cbc1a80 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -7,6 +7,12 @@ assignees: '' --- +## Use of generative AI + +_Please refer to our [temporary spack-stack AI policy](https://github.com/JCSDA/spack-stack/issues/2196) for further information._ + +- [ ] I confirm that this contribution was submitted by a real person. If AI tools or agents were used in its preparation, I have personally reviewed and take responsibility for all submitted content, code, and proposed changes. This contribution is not autonomously generated by AI. + ## Is your feature request related to a problem? _A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]_ diff --git a/.github/ISSUE_TEMPLATE/install_request.yml b/.github/ISSUE_TEMPLATE/install_request.yml index 423df4f18e..749e61f893 100644 --- a/.github/ISSUE_TEMPLATE/install_request.yml +++ b/.github/ISSUE_TEMPLATE/install_request.yml @@ -10,6 +10,14 @@ body: value: | Please search to see if an issue already exists for the software you are requesting to be installed. + - type: checkboxes + attributes: + label: AI Policy Acknowledgment + description: Please acknowledge the spack-stack AI contribution policy before submitting this request. + options: + - label: I confirm that this contribution was submitted by a real person. If AI tools or agents were used in its preparation, I have personally reviewed and take responsibility for all submitted content, code, and proposed changes. This contribution is not autonomously generated by AI. + required: true + - type: input attributes: label: Package name diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 8646166ae3..4f4327e89d 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,3 +1,9 @@ +## Use of generative AI + +_Please refer to our [temporary spack-stack AI policy](https://github.com/JCSDA/spack-stack/issues/2196) for further information._ + +- [ ] I confirm that this contribution was submitted by a real person. If AI tools or agents were used in its preparation, I have personally reviewed and take responsibility for all submitted content, code, and proposed changes. This contribution is not autonomously generated by AI. + ## Description _Note. The title and description will be used as commit log title and message for squash merges._ From ee769a59622481d02eb4b7f7fba64aa8839c94e1 Mon Sep 17 00:00:00 2001 From: Dom Heinzeller Date: Fri, 30 Oct 2026 10:56:23 -0600 Subject: [PATCH 2/2] [skip ci] Add AGENTS.md with temporary AI policy --- AGENTS.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000000..ee05b40ea9 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,9 @@ +# AGENTS.md - spack-stack + +## Temporary AI policy + +Refer to https://github.com/JCSDA/spack-stack/issues/2196 + +The spack-stack project, including its submodules spack and spack-packages, requires all GitHub contributions—including issues, pull requests, discussions, and comments—to be submitted by a real person. + +Contributions that are developed with the assistance of large language models (LLMs) or AI agents are welcome, provided that a human author has reviewed and remains responsible for the language, code, and other proposed changes. Fully autonomous AI-generated contributions will be rejected. The spack-stack maintainers may also reject, at their sole discretion, contributions that contain excessive prose or otherwise indicate insufficient human review.