924 B
924 B
AI Agent Rules
AI Usage Policy (from src/main.c:46-55)
- Absolutely no AI is permitted when writing source code.
- AI is allowed to generate tests for code; however, test results and the AI cannot give code as to how to fix the source aside from pseudo code that has no clear relation to the source aside from a recreation of the problem in a different way entirely.
- Source code comments are for the author's short-term memory and do not affect AI behavior.
Project Code Conventions
- Formatting: Follow
.clang-format(Google-based style, tabs (width 8), Allman braces, short functions/if/loops can be single-line) - Linting: Follow
.clang-tidy(bugprone, concurrency, misc, modernize, performance, readability, portability checks;lower_casenaming for variables and functions) - Build: C23 standard, CMake 3.16+
- Naming: Variables and functions use
lower_case(enforced by clang-tidy)