mirror of
https://github.com/opencv/opencv.git
synced 2026-12-03 05:33:03 -06:00
AGENTS.md and AI_POLICY.md were added in #30941 on 5.x only. 4.x has neither, so an agent working in a 4.x checkout reads no policy at all before opening a PR. This adds both files to 4.x, plus a rule on targeting the right branch and a rule on keeping the readiness checklist, both of which apply to either branch.
669 B
669 B
Contributing guidelines
All guidelines for contributing to the OpenCV repository can be found at How to contribute guideline.
Target your pull request to the right branch. 5.x is the default and takes all new work. 4.x is in maintenance mode: it accepts bug fixes and other minor fixes, but not new features, optimizations or large changes. See the Branches page for the full policy.
If you use AI tools to prepare a contribution, read AI_POLICY.md first. Agents working in this repository must follow AGENTS.md.