From 04b0ff8c2729a63f044578041cbdac92ee6b5b0f Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 15 Feb 2026 18:05:11 -0500 Subject: [PATCH 1/9] Add AI policy to CONTRIBUTING.md Commit title authored by GitHub Copilot; the change itself, and this description, were authored by the signing contributor. --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8c7d3bb11d..66e4515024 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,6 +6,10 @@ This document provides a synopsis and loose guidelines for how to contribute to this project. It is a work in progress. Maintainers should expand this document. +## AI Policy + +Any use of an AI large language model (LLM) to contribute to this project, must be disclosed in full. Undisclosed LLM use shall, upon detection, result in a permanent ban from contributing to this project. This extends to both authoring and reviewing pull requests. + ## Code Formatting This repository includes an opinionated `clang-format` specification to ensure that we maintain a common code style. For convenience, a pre-commit hook is also provided in `.githooks` which will run `clang-format` against any staged changes prior to executing a commit. From 37f3ae08e7f061c3fd7f1523e1bf4a93857e84a6 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 1 Mar 2026 13:13:15 -0500 Subject: [PATCH 2/9] Clarify AI contribution disclosure policy Expanded AI policy to clarify disclosure requirements and exceptions. darn copilot prefilling commit messages and descriptions... where do i turn this off? --- CONTRIBUTING.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 66e4515024..70104d6b77 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,19 @@ This document provides a synopsis and loose guidelines for how to contribute to ## AI Policy -Any use of an AI large language model (LLM) to contribute to this project, must be disclosed in full. Undisclosed LLM use shall, upon detection, result in a permanent ban from contributing to this project. This extends to both authoring and reviewing pull requests. +Any use of an AI large language model (LLM) to contribute to this project, must be disclosed in full. Undisclosed LLM use shall, upon detection, result in a permanent ban from contributing to this project. + +This applies to any act that introduces or changes text in the repository: +- Commit content +- Commit message +- Pull requests +- Pull request reviews +- Issues +- Issue comments +- Messages to maintaners + +This does not apply to: +- Asking questions about the code ## Code Formatting From c6e1e5bb1c981b82648bad4fb75da77240ef84ff Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 1 Mar 2026 13:14:28 -0500 Subject: [PATCH 3/9] forgot a clause --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 70104d6b77..4760212ac1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,7 @@ This document provides a synopsis and loose guidelines for how to contribute to Any use of an AI large language model (LLM) to contribute to this project, must be disclosed in full. Undisclosed LLM use shall, upon detection, result in a permanent ban from contributing to this project. -This applies to any act that introduces or changes text in the repository: +This applies to any act that introduces or changes text in the repository, including but not limited to: - Commit content - Commit message - Pull requests From 1a2573514218219f534f41084b19bd6f0a9a8d32 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 4 Apr 2026 20:14:04 -0400 Subject: [PATCH 4/9] Fix typo in CONTRIBUTING.md --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4760212ac1..7960eb545a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,7 +17,7 @@ This applies to any act that introduces or changes text in the repository, inclu - Pull request reviews - Issues - Issue comments -- Messages to maintaners +- Messages to maintainers This does not apply to: - Asking questions about the code From b359e4dd451657abdfb35ae920c604e76e3bb26e Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 12 Apr 2026 00:21:59 -0400 Subject: [PATCH 5/9] Ban AI outright --- CONTRIBUTING.md | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7960eb545a..448b440ec8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,21 +6,13 @@ This document provides a synopsis and loose guidelines for how to contribute to this project. It is a work in progress. Maintainers should expand this document. +ALL PERSONS OPENING PULL REQUESTS TO THIS REPOSITORY AGREE TO ABIDE BY THE POLICIES OUTLINED IN THIS DOCUMENT. + ## AI Policy -Any use of an AI large language model (LLM) to contribute to this project, must be disclosed in full. Undisclosed LLM use shall, upon detection, result in a permanent ban from contributing to this project. - -This applies to any act that introduces or changes text in the repository, including but not limited to: -- Commit content -- Commit message -- Pull requests -- Pull request reviews -- Issues -- Issue comments -- Messages to maintainers - -This does not apply to: -- Asking questions about the code +We unequivocally prohibit the use of artifical intelligence (AI) large language models (LLMs) to generate contributions to this project, meaningful or otherwise. Any pull request found to have used AI for these tasks will be closed, and the contributor will be banned from interacting with the repository. This is a zero-tolerance policy, and we do not provide any avenue for appeal. + +You may use AI to ask general knowledge questions about ARM assembly, C syntax, Pokemon lore, etc. However, you may not use AI to generate content for this repository, nor generate any changes. ## Code Formatting From 2db0db8ff479449732bbdbbf761dda397d68fdbf Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 12 Apr 2026 00:24:10 -0400 Subject: [PATCH 6/9] Add AI policy entry to table of contents --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 448b440ec8..7f1b966820 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,7 @@ # Contributing to pret/pokeheartgold +- [AI Policy](#ai-policy) - [Code Formatting](#code-formatting) From a44c72b6e89e8daf974c524f05a2adfdbb57b12a Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sun, 12 Apr 2026 21:05:16 -0400 Subject: [PATCH 7/9] Add "boring stuff" exception; add PR template --- .github/pull_request_template.md | 16 ++++++++++++++++ CONTRIBUTING.md | 4 +++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000000..eaf7400fe3 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,16 @@ + + +## PR checklist + +- [ ] This comment contains a description of changes (with reason). +- [ ] The ROM compiles to matching locally (`make compare_heartgold && make compare_soulsilver`). +- [ ] All C code is correctly formatted (`git clang-format`). +- [ ] This pull request is labeled according to the kind of work it represents. + +- [ ] This work adheres to the [AI policy](CONTRIBUTING.md#ai-policy). + +## **Discord contact info** + + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7f1b966820..f9f7a1a635 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -13,7 +13,9 @@ ALL PERSONS OPENING PULL REQUESTS TO THIS REPOSITORY AGREE TO ABIDE BY THE POLIC We unequivocally prohibit the use of artifical intelligence (AI) large language models (LLMs) to generate contributions to this project, meaningful or otherwise. Any pull request found to have used AI for these tasks will be closed, and the contributor will be banned from interacting with the repository. This is a zero-tolerance policy, and we do not provide any avenue for appeal. -You may use AI to ask general knowledge questions about ARM assembly, C syntax, Pokemon lore, etc. However, you may not use AI to generate content for this repository, nor generate any changes. +The following use cases are deemed acceptable and stand as exceptions to the above statement, provided that they are disclosed in full. While this document is not legally binding, we do expect you to represent yourself truthfully. Undisclosed use of AI may result in a ban. +- Automating the boring stuff. So long as the task is clearly defined by a human, is boiled down to pure execution with no further creative decision-making, and is sufficiently tedious to perform by hand. you may delegate it to an AI. However, we do strongly encourage you to do as much as you can by hand or write a script to automate the task, rather than invoking an AI to do it for you. +- Asking general knowledge questions about C code, the ARM processor, Pokémon, etc. ## Code Formatting From ee7df074619fd571e512de65867cdd89e9a0dd43 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Mon, 13 Apr 2026 07:29:56 -0400 Subject: [PATCH 8/9] Address feedback --- .github/pull_request_template.md | 7 +------ CONTRIBUTING.md | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index eaf7400fe3..422f73cb10 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -6,11 +6,6 @@ - [ ] The ROM compiles to matching locally (`make compare_heartgold && make compare_soulsilver`). - [ ] All C code is correctly formatted (`git clang-format`). - [ ] This pull request is labeled according to the kind of work it represents. - - [ ] This work adheres to the [AI policy](CONTRIBUTING.md#ai-policy). - -## **Discord contact info** - - +- [ ] The author has joined the [pret discord server](https://discord.gg/d5dubZ3) and sent a message in #pokeheartgold to verify that they are human diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f9f7a1a635..b892ffaa84 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ ALL PERSONS OPENING PULL REQUESTS TO THIS REPOSITORY AGREE TO ABIDE BY THE POLIC We unequivocally prohibit the use of artifical intelligence (AI) large language models (LLMs) to generate contributions to this project, meaningful or otherwise. Any pull request found to have used AI for these tasks will be closed, and the contributor will be banned from interacting with the repository. This is a zero-tolerance policy, and we do not provide any avenue for appeal. The following use cases are deemed acceptable and stand as exceptions to the above statement, provided that they are disclosed in full. While this document is not legally binding, we do expect you to represent yourself truthfully. Undisclosed use of AI may result in a ban. -- Automating the boring stuff. So long as the task is clearly defined by a human, is boiled down to pure execution with no further creative decision-making, and is sufficiently tedious to perform by hand. you may delegate it to an AI. However, we do strongly encourage you to do as much as you can by hand or write a script to automate the task, rather than invoking an AI to do it for you. +- Automating the boring stuff. So long as the task is clearly defined by a human, is boiled down to pure execution with no further creative decision-making, and is sufficiently tedious to perform by hand, you may delegate it to an AI. However, we do strongly encourage you to do as much as you can by hand or write a script to automate the task, rather than invoking an AI to do it for you. - Asking general knowledge questions about C code, the ARM processor, Pokémon, etc. ## Code Formatting From b1878b155f336acefdbd77f4aa584605167deb21 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Mon, 13 Apr 2026 08:01:24 -0400 Subject: [PATCH 9/9] Promote build errors to GHA UI --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6b9de8053a..9b5762a09c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,7 @@ name: build on: push: - branches: [ master ] + branches: [master] pull_request: workflow_dispatch: @@ -62,14 +62,14 @@ jobs: GAME_VERSION: HEARTGOLD GAME_LANGUAGE: ENGLISH GAME_REVISION: 0 - run: make -j4 + run: make -j4 2> >(sed -r 's/^/::error::/') - name: Build SoulSilver env: GAME_VERSION: SOULSILVER GAME_LANGUAGE: ENGLISH GAME_REVISION: 0 - run: make -j4 + run: make -j4 2> >(sed -r 's/^/::error::/') - name: Webhook if: ${{ github.event_name == 'push' }} @@ -95,8 +95,8 @@ jobs: if: ${{ github.event_name == 'push' }} uses: actions/checkout@v4 with: - path: 'xmap' - ref: 'xmap' + path: "xmap" + ref: "xmap" - name: Move xMAP if: ${{ github.event_name == 'push' }}