Repository navigation
Conversation
Add guidance for coding agents and review bots on PR size, duplicate tests, defensive checks, and settings shared with the Lambda Extension and the Go Agent. Stop ignoring /AGENTS.md so the file can be committed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Problem
Coding agents and review bots in this repository have no guidance on PR quality. The only instruction file is
.github/copilot-instructions.md, and it covers only security.On #169, several rounds of bot review did not report problems that a human review found later:
This PR
Adds
AGENTS.mdwith rules for code style, settings, tests, PR size and reviews. Four rules come from theAGENTS.mdfile of the Lambda Extension:The other rules come from the review of [Traces] Add error sampling with opt-in tracer-drop rescue #169.
Removes
/AGENTS.mdfrom.gitignore, so that the file can be committed./CLAUDE.mdstays in.gitignore, so that personal files stay local.Testing
This PR changes only documentation. I did not run a bot review with the new file.
Open questions
AGENTS.md? If it does not, we can copy the review rules into.github/copilot-instructions.md.CLAUDE.mdcan add the line@AGENTS.mdto it, to load these rules. The Lambda Extension commits aCLAUDE.mdwith that line. Do we want the same here? That change removes/CLAUDE.mdfrom.gitignore, and a pull fails for each person who has an untrackedCLAUDE.md.AGENTS.md. After this PR merges, a pull fails for them until they move that file.🤖 Generated with Claude Code