Reduce AGENTS.md to a bare minimum - #5215
Merged
Merged
Conversation
AGENTS.md duplicated the security threat model and the SECURITY.md triage rules in full, so the two copies could drift. Keep it to a one-paragraph project description plus a link to SECURITY.md, which already links to the threat model. Claude Code reads CLAUDE.md rather than AGENTS.md by default; add it as a bare @AGENTS.md import so the two stay in sync without duplicating content, and list it in .ratignore alongside AGENTS.md and SECURITY.md since it carries no license header either. Docs only; no production code touched. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
vlsi
force-pushed
the
claude/agents-md-minimal-deb238
branch
from
August 24, 2026 13:16
c1548be to
86420ef
Compare
Contributor
|
A minimalistic AGENTS.md seems aligned with what we are proposing for Avatica's threat model in apache/calcite-avatica#313 |
|
rubenada
approved these changes
Aug 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Why
AGENTS.md restated the full security threat model — the SPI class-loading gate, the pushed-down-SQL rule, the "not a vulnerability" list, and the "downstream responsibilities" list — that already lives in SECURITY.md and the linked threat model. Keeping two copies means they can drift out of sync.
What
Cuts AGENTS.md down to a one-paragraph description of what Apache Calcite is, plus a link to SECURITY.md for anything security-related, instead of duplicating its content.
How to verify
Docs only; no production code touched. Read the new AGENTS.md and confirm it still points agents at SECURITY.md.