diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..7480d025 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,23 @@ +## Summary + + + +## Changes + + + +## Testing + + + +## Risk and rollout + + + +## Public disclosure review + + + +- [ ] No customer, partner, prospect, or user identities, data, or identifying details are included. +- [ ] No credentials, personal data, private source, scan findings, or nonpublic links or tickets are included. +- [ ] I reviewed the branch name, title, description, commits, changes, comments, logs, screenshots, attachments, and links for public disclosure. diff --git a/AGENTS.md b/AGENTS.md index 2a661dcd..e21938d6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -13,3 +13,31 @@ Codex Security is a thin wrapper around Codex and its security plugin. - Mention another `openai/` repository in comments or pull request descriptions only after checking that it is public. If you cannot confirm its visibility, leave it out. + +## Public repository and pull requests + +Everything published in this repository is public. Review branch names before +pushing. Before creating or updating a pull request, inspect its branch name, +title, description, commits, changed files, comments, logs, screenshots, +attachments, and links for sensitive information. + +- Never identify customers, partners, prospects, or users. Remove names, + domains, repository URLs, account or tenant identifiers, support cases, + incidents, and environment details that could identify them. +- Never publish credentials, personal data, private source or configuration, + scan targets or findings, undisclosed vulnerabilities, or nonpublic links, + documents, conversations, or issue identifiers. +- Describe the technical behavior generically. Use synthetic names, + repositories, fixtures, identifiers, logs, and credentials in examples and + tests. +- Start from `.github/PULL_REQUEST_TEMPLATE.md`, complete every section, report + the checks you actually ran, and check every disclosure attestation only + after reviewing the entire pull request. +- Do not use `gh pr create --fill` or `--fill-verbose`: commit messages can + expose private context. Use a reviewed title and body or + `gh pr create --template .github/PULL_REQUEST_TEMPLATE.md`. +- Bots and automation are not exempt. Review generated content before + publication when possible; maintainers must review and correct existing bot + pull requests before merging them. +- Review material before publishing it. Editing or deleting it afterward does + not guarantee removal from notifications, caches, or public history.