Add AGENTS.md agent guidance - #168
Open
tashian wants to merge 3 commits into
Open
Conversation
Document the repo layout, Make targets, which files are generated from spec/linkedca/*.proto (and how to regenerate them with make bootstrap and make generate), which files are hand-written, and how downstream consumers pick up changes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JuSZFSx1cTEnqY55oquacV
AGENTS.md is the vendor-neutral file read by other coding agents. Claude Code does not read it natively, so CLAUDE.md becomes a one-line @AGENTS.md import that loads the same content. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JuSZFSx1cTEnqY55oquacV
tashian
enabled auto-merge (squash)
September 10, 2026 16:21
Per review: keep the repo root to AGENTS.md and put the Claude Code import stub under .claude/, importing @../AGENTS.md. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JuSZFSx1cTEnqY55oquacV
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.
Name of feature:
Adds a
AGENTS.mdwith agent guidance for this repo: the Make targets (test, race, lint, fmt, generate, bootstrap), which files are generated fromspec/linkedca/*.protobyprotoc-gen-go/protoc-gen-go-grpcand how to regenerate them, which files are hand-written (context.go,policy.go,tools.go), an annotated layout of the proto files, and how to test a change against downstream consumers with a localreplacedirective.Pain or issue this feature alleviates:
Gives coding agents (and new contributors) a verified, repo-specific starting point so they don't guess at Make targets or edit generated
*.pb.gofiles by hand.Supporting links/other PRs/issues:
.claude/CLAUDE.mdis a one-line@../AGENTS.mdimport so Claude Code loads the same file.Tracks EFF-787.
馃 Generated with Claude Code
https://claude.ai/code/session_01JuSZFSx1cTEnqY55oquacV