Skip to content

Reduce AGENTS.md to a bare minimum - #5215

Merged
vlsi merged 1 commit into
apache:mainfrom
vlsi:claude/agents-md-minimal-deb238
Aug 24, 2026
Merged

Reduce AGENTS.md to a bare minimum#5215
vlsi merged 1 commit into
apache:mainfrom
vlsi:claude/agents-md-minimal-deb238

Conversation

@vlsi

@vlsi vlsi commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

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.

@vlsi vlsi added the LGTM-will-merge-soon Overall PR looks OK. Only minor things left. label Aug 24, 2026
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>
@rubenada

Copy link
Copy Markdown
Contributor

A minimalistic AGENTS.md seems aligned with what we are proposing for Avatica's threat model in apache/calcite-avatica#313

@sonarqubecloud

Copy link
Copy Markdown

@vlsi
vlsi merged commit 3c3f89b into apache:main Aug 24, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LGTM-will-merge-soon Overall PR looks OK. Only minor things left.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants