From e21bd3de8905b5d70ba38f6dc9ae35735aa4222a Mon Sep 17 00:00:00 2001 From: Zhao Junwang Date: Sat, 5 Sep 2026 11:46:51 +0800 Subject: [PATCH 1/2] docs: clarify build and contribution conventions for agents Keep CMake and Meson definitions aligned and make contributions easier to review with consistent commit messages and pre-commit checks. --- AGENTS.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index fff50198d..df059cf91 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -28,3 +28,17 @@ When assessing potential vulnerabilities or calibrating automated security findings, use [`SECURITY-THREAT-MODEL.md`](SECURITY-THREAT-MODEL.md) as the authoritative detailed description of this repository's security boundaries, trust assumptions, and non-boundaries. + +## Build System Consistency + +Keep CMake and Meson build definitions in sync. When adding, removing, or +renaming source files, headers, tests, or build targets, or changing dependencies +or build options, update the corresponding CMake (`CMakeLists.txt` and CMake +modules) and Meson (`meson.build` and `meson.options`) definitions in the same +change. + +## PR & Commit Conventions + +- Use Conventional Commits for commit messages. +- Commit messages describe the what and why, not implementation details. +- Run `pre-commit` for every PR and fix any reported issues. From b7c4cec4911042940c190a605e5b460d7c9e39ab Mon Sep 17 00:00:00 2001 From: Junwang Zhao Date: Mon, 7 Sep 2026 23:51:48 +0800 Subject: [PATCH 2/2] remove useless agent instruction AI has always done a good job in describing what and why. --- AGENTS.md | 1 - 1 file changed, 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index df059cf91..92466ab17 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -40,5 +40,4 @@ change. ## PR & Commit Conventions - Use Conventional Commits for commit messages. -- Commit messages describe the what and why, not implementation details. - Run `pre-commit` for every PR and fix any reported issues.