@@ -34,8 +34,73 @@ git commit -s
3434
3535## AI Assistance
3636
37- AI-assisted contributions are permitted but must be disclosed in the pull request, along with the
38- extent of use. Contributors must be able to understand and reason about AI-generated output.
37+ The Vortex project permits and embraces AI-assisted contributions. Today, most PRs involve some
38+ degree of AI assistance — whether through IDE autocomplete, conversational AI, or autonomous agents.
39+ This section describes our expectations around disclosure, review, and accountability.
40+
41+ ### Repository Setup
42+
43+ The repository has [ Claude Code] ( https://docs.anthropic.com/en/docs/claude-code ) configured as a
44+ GitHub Action. Users with write access to the repository can mention ` @claude ` in PR comments or
45+ issue comments to trigger AI-powered code reviews, request changes, or generate PRs. Configuration
46+ for Claude's behavior lives in ` CLAUDE.md ` at the repository root.
47+
48+ ### Disclosure
49+
50+ Contributors should disclose AI usage in the PR description when conversational or agentic AI tools
51+ (e.g., Claude, ChatGPT, Claude Code) were used to produce code, documentation, or tests. Standard
52+ IDE autocomplete (e.g., Copilot tab-completion) does not require disclosure.
53+
54+ AI-translated content should note that it was translated with AI assistance.
55+
56+ ### Human vs. Agent PRs
57+
58+ We distinguish between two kinds of AI-assisted PRs:
59+
60+ - ** Human PRs** — A human writes the PR, possibly with significant AI assistance. The human author
61+ is accountable for the code quality and correctness, just as they would be for any handwritten
62+ code. Standard review rules apply (one approving reviewer).
63+
64+ - ** Agent PRs** — An autonomous AI agent (e.g., triggered via ` @claude ` or a scheduled GitHub
65+ Action) opens the PR with minimal human steering. Agent PRs require ** two human reviewers**
66+ before merge.
67+
68+ The distinction is straightforward: if a human opened the PR, it's a human PR. If an automated
69+ agent opened it, it's an agent PR.
70+
71+ ### Review Standards
72+
73+ AI-assisted code should receive extra scrutiny during review. AI tools can produce code that is
74+ superficially correct but subtly wrong — off-by-one errors, incorrect edge case handling, or tests
75+ that pass without actually exercising the intended behavior. Reviewers should pay particular
76+ attention to:
77+
78+ - Correctness of logic, not just whether it compiles and passes CI.
79+ - Tests that genuinely validate behavior rather than merely achieving coverage.
80+ - Unnecessary complexity or over-abstraction.
81+
82+ The project may use AI-powered review tools on PRs. Reviewers are free to use AI to assist their
83+ reviews without disclosure.
84+
85+ ### AI Agents
86+
87+ AI agents (bots, scheduled actions, etc.) are permitted to:
88+
89+ - Open pull requests, with a human assigned as the responsible party.
90+ - Post review comments on pull requests.
91+
92+ AI agents must ** not** :
93+
94+ - Merge or approve pull requests.
95+ - Push code to protected branches.
96+
97+ A human is accountable for all actions taken by an agent operating under their authority.
98+
99+ ### AI-Generated Tests
100+
101+ AI-generated tests are welcome, but contributors must verify that tests actually exercise the
102+ intended behavior — not just pass. A green test suite produced by AI can give a false sense of
103+ coverage if the assertions are trivial or the setup doesn't reflect real conditions.
39104
40105## Coding Style
41106
0 commit comments