diff --git a/AGENTS.md b/AGENTS.md index 685f25b4..766576c5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -194,6 +194,26 @@ git worktree remove .tmp/ All worktrees live under `.tmp/` (already in `.gitignore`). +## Pull Request Requirements + +Every PR body MUST include the contributor statement that the `Require Contributor Statement` +CI job enforces (see `.github/workflows/pull-request-lint.yml`). Always include both lines +verbatim: + +``` +By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the [project license](https://github.com//blob/main/LICENSE). +``` + +Replace `` with the actual `owner/repo` of the repository the PR is being opened against +(e.g. `awslabs/agent-plugins`). **Do not copy the URL from `.claude/settings.json` blindly** — +that file hardcodes `awslabs/agent-plugins`, but the CI check uses `${{ github.repository }}` +which resolves to the current repository. In a fork, these differ and the check will fail even +if the rest of the attribution text is present. + +> **Why it can still fail after adding the attribution:** The workflow uses a substring match on +> the exact URL. If the repo in the link does not match `github.repository`, the check fails. +> Always verify the `owner/repo` slug matches the repo the PR targets, not the upstream fork origin. + ## Boundaries - ALWAYS use `git worktree add .tmp/` for new work. NEVER switch branches in the main worktree. diff --git a/README.md b/README.md index 4bfea44f..4d59f30e 100644 --- a/README.md +++ b/README.md @@ -344,6 +344,6 @@ GitHub environment and AWS account configuration are documented in the [administ - [Claude Code plugins documentation](https://code.claude.com/docs/en/plugins) - [Cursor plugins documentation](https://cursor.com/docs/plugins) -## License +## Licenses This project is licensed under the Apache-2.0 License.