Fix: Use AI provider agnostic .agents, update commit exclusion: develop and version branches (#39189)

* qual: Update branch protection rules in AGENTS.md

Updated the branch protection rules in AGENTS.md to reflect the new policy of never committing directly to the `develop` branch or version branches matching the regex `^\d+\.\d+$`.

* Fix: Rename .claude directory to .agents

Renamed the .claude directory and its contents to .agents.
.agents is AI provider agnostic.
This commit is contained in:
MDW 2026-07-15 20:40:45 +02:00 committed by GitHub
parent 7624ab0b0a
commit ca789645fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 1 deletions

View file

@ -15,7 +15,7 @@ Every modification must respect:
- ❌ Do not break compatibility of PHP functions and methods
- ❌ Do not introduce external dependencies without validation
- ❌ Separate page actions in the `/* Actions */` section of the PHP code and the rendering part in the `/* Views */` section
- ❌ Never commit directly to `main` or `master` branch
- ❌ Never commit directly to `develop` or version branch matching regex `^\d+\.\d+$`
- ❌ Never use PHP native curl functions to call a GET or POST URL, but use instead the Dolibarr function getURLContent()
- ✅ Use Dolibarr hooks whenever possible
- ✅ Respect existing naming conventions