Skip to content

Commit b6ba39a

Browse files
Burak Bayırkriptoburak
andauthored
docs: enforce source LOC reduction (#48)
Signed-off-by: kriptoburak <kriptoburak@users.noreply.github.com> Co-authored-by: kriptoburak <kriptoburak@users.noreply.github.com>
1 parent bdaaa2a commit b6ba39a

2 files changed

Lines changed: 8 additions & 20 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Agent instructions
2+
3+
Each commit must reduce net handwritten source LOC. No exceptions. No one may waive this rule.
4+
Additions require larger, useful simplifications elsewhere in this repository.
5+
Formatting, minification, generated files, and deleted valuable tests or docs do not count.

CONTRIBUTING.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -55,27 +55,10 @@ PHPStan validates every generated SDK type.
5555

5656
This guard prevents tests from mutating remote services.
5757

58-
## Submit Changes
58+
## Submit changes
5959

60-
Keep pull requests focused.
61-
62-
Explain user-visible behavior and public contract effects.
63-
64-
Link relevant issues and public API contracts.
65-
66-
Use clear Conventional Commit subjects when practical.
67-
68-
Sign every commit with the Developer Certificate of Origin:
69-
70-
```sh
71-
git commit --signoff
72-
```
73-
74-
Another human must review maintainer-authored, nontrivial changes.
75-
76-
Reviewers follow the shared [review policy][review-policy].
77-
78-
Address every review comment before merging.
60+
Use clear Conventional Commit subjects and sign commits with `git commit --signoff`.
61+
Follow the shared [review policy][review-policy].
7962

8063
## Report Security Issues
8164

0 commit comments

Comments
 (0)