Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,16 @@ 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.
- Run `pre-commit` for every PR and fix any reported issues.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is enforced by ci so we don't need to mention it?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this is enforced by ci, but I think it would be great if the agent can run pre-commit locally before creating the PR.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the agent is capable enough to detect .pre-commit-config.yaml and run the pre-commit automatically. If you still think this is unnecessary, I'll remove it.

@manuzhang manuzhang Sep 7, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the agent is capable enough to detect .pre-commit-config.yaml and run the pre-commit automatically.

no, it doesn't. My PR often fails due to pre-commit CI failure.

Loading