Skip to content

Commit 56a814d

Browse files
committed
docs: add PR submission requirements for agents
1 parent 019b2d8 commit 56a814d

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

‎AGENTS.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,32 @@ CodeIgniter 4 is a mature open-source PHP framework. Framework production
44
code lives in `system/`; its tests mirror that structure under
55
`tests/system/`.
66

7+
## Before opening a pull request
8+
9+
Do not open a pull request unless the applicable pre-submission requirements
10+
in [CONTRIBUTING.md](CONTRIBUTING.md) and
11+
[Sending a Pull Request](contributing/pull_request.md) are met.
12+
13+
- A human contributor must have reviewed and understood the complete diff
14+
and taken responsibility for the submission. Agent review and passing
15+
checks do not replace this human review.
16+
- Verify the target branch, commit signing, relevant tests, and required
17+
documentation. Follow the focused validation policy below. Do not run
18+
the full CI matrix locally.
19+
- Remind the user of the applicable open pull request limit before
20+
submission. Check the contributor's open pull requests, including
21+
drafts, when possible. If the limit or a maintainer-approved exemption
22+
cannot be verified, clearly tell the user rather than claiming it has
23+
been checked.
24+
- If a requirement is unmet or cannot be verified, do not open the pull
25+
request. Tell the user which requirements remain unmet or unverified
26+
and what is needed before submission. Continue preparing the changes
27+
and completing any checks that can be performed. An unverified PR
28+
limit or exemption alone does not block submission; a known limit
29+
violation without an exemption does.
30+
- Report the checks performed, their results, and any validation left
31+
to CI. Do not claim that checks passed unless they were actually run.
32+
733
## Before making changes
834

935
Consult the relevant sections of:

0 commit comments

Comments
 (0)