Skip to content

Harden AGENTS.md around clang usage, cleanup clang-tidy.sh wrapper#160

Merged
alan-george-lk merged 2 commits into
mainfrom
feature/clang_hardening
Jun 11, 2026
Merged

Harden AGENTS.md around clang usage, cleanup clang-tidy.sh wrapper#160
alan-george-lk merged 2 commits into
mainfrom
feature/clang_hardening

Conversation

@alan-george-lk

Copy link
Copy Markdown
Collaborator

I've noticed different agents/models don't always run clang-format/clang-tidy, as the existing language was pretty loose ("if needed"). Adds some more strict rules around it to avoid CI waste.

Also removes the "forward to clang tidy" feature of the script, it's not useful in my experience and made the code more complicated when checking file paths on individual file runs. A file not existing would not be caught prior to this.

@stephen-derosa stephen-derosa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM -- if possible try to reduce AGENTS.md content to minimum "required" instructions. Im not sure what the "required" amount is though

@alan-george-lk alan-george-lk merged commit 6bd278d into main Jun 11, 2026
13 checks passed
@alan-george-lk alan-george-lk deleted the feature/clang_hardening branch June 11, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants