Skip to content

[MINOR][DOCS] Use AGENTS.md for nested project instructions#57501

Open
cloud-fan wants to merge 1 commit into
apache:masterfrom
cloud-fan:agents-md-nested-instructions
Open

[MINOR][DOCS] Use AGENTS.md for nested project instructions#57501
cloud-fan wants to merge 1 commit into
apache:masterfrom
cloud-fan:agents-md-nested-instructions

Conversation

@cloud-fan

@cloud-fan cloud-fan commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Add project-instruction discovery guidance to the root AGENTS.md. Agents should discover nested
AGENTS.md files in the current directory and its ancestors, with more specific instructions taking
precedence for their directory scope.

Why are the changes needed?

Nested AGENTS.md files are a common pattern for providing subsystem-specific guidance. Spark is
expected to adopt this pattern soon, so the root instructions should define how agents discover and
prioritize those files consistently.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Documentation-only change. Verified with git diff --check; no runtime tests were needed.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: OpenAI Codex (GPT-5)

@cloud-fan

Copy link
Copy Markdown
Contributor Author

cc @HyukjinKwon

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.

3 participants