Skip to content

Point AGENTS.md at an optional AGENTS.local.md - #306

Merged
schlessera merged 1 commit into
mainfrom
agents-local-md
Oct 30, 2026
Merged

schlessera merged 1 commit into
mainfrom
agents-local-md

Conversation

@schlessera

@schlessera schlessera commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

AGENTS.md is synced into every repository from here, so a repository can't add its own agent instructions to it: the next sync overwrites them. Some repositories need such instructions. wp-cli/wp-cli-dev is about to become the place where agents run the release and maintenance tooling, and the generic guidance (Behat tests in features/, and so on) does not apply there.

This adds one line telling agents to also read an AGENTS.local.md when a repository has one. The sync patterns don't match that file, so it stays under the repository's control. Where the two disagree, the local file wins because it is the more specific one.

Repositories without the file are unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@schlessera
schlessera requested a review from a team as a code owner October 30, 2026 13:39
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 78a3f348-000f-46f3-b622-cd20e66a1788
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@schlessera
schlessera merged commit f1eb270 into main Oct 30, 2026
16 checks passed
@schlessera
schlessera deleted the agents-local-md branch October 30, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant