Skip to content

Commit 79aba57

Browse files
Richardson Gundeclaude
authored andcommitted
Add AI ethics review checklist as PR template
Adds .github/PULL_REQUEST_TEMPLATE.md with a mandatory AI safety and security checklist covering Input Validation, Least Privilege, Credential Safety, Human Oversight, AI Output Safety, and Testing — codifying the principles from AI_PRINCIPLES.md into every PR review. Closes #13. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent be74513 commit 79aba57

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Changes
2+
<!-- Describe what this PR does -->
3+
4+
## AI Safety & Security Checklist
5+
<!-- Check all that apply. If a box is unchecked, explain why in the PR description. -->
6+
7+
### Input Validation
8+
- [ ] All external inputs (user messages, API responses, file contents) are validated
9+
- [ ] Path operations stay within workspace boundaries
10+
11+
### Least Privilege
12+
- [ ] New tools/features request only the permissions they need
13+
- [ ] No unnecessary filesystem, network, or system access added
14+
15+
### Credential Safety
16+
- [ ] No API keys, tokens, or passwords in code, logs, or LLM context
17+
- [ ] Sensitive data masked in all log output
18+
19+
### Human Oversight
20+
- [ ] Destructive or irreversible actions require user confirmation
21+
- [ ] Agent announces intent before high-risk operations
22+
23+
### AI Output Safety
24+
- [ ] LLM outputs are validated before acting on them
25+
- [ ] Tool outputs are sanitized before re-entering LLM context
26+
27+
### Testing
28+
- [ ] Security tests added/updated for changes
29+
- [ ] No test coverage decrease

0 commit comments

Comments
 (0)