diff --git a/AGENTS.md b/AGENTS.md index b97f7fa..b4c3040 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -84,7 +84,8 @@ Or simply copy the `include/deferred` directory to your project's include path. - **Testing**: New features must include unit tests in `test/unit/` and integration tests in `test/integration/`. Tests use the Catch2 v3 framework. - **Catch2 v3**: Uses `#include ` and requires a custom `main` in `main.cpp` using `Catch::Session().run()`. - **Verification**: All changes must be verified by ensuring that all tests pass (`ctest`). -- **Project Documentation**: After any code changes, `README.md` and `AGENTS.md` must be reviewed and updated if necessary to reflect the current state of the project. +- **Source Control**: NEVER commit directly to the `main` branch. Always use feature branches and pull requests for any changes. +- **Project Documentation**: After EVERY change, `README.md` and `AGENTS.md` MUST be reviewed and updated to reflect the current state of the project. - **License**: MIT License. All source files should include the standard MIT license header. - **Header Guards**: Use `#ifndef DEFERRED_FILENAME_HPP` format. - **CI**: GitHub Actions workflow (`.github/workflows/c-cpp.yml`) builds the project on Ubuntu, Windows (MSVC), and macOS.