From b7f4598c9f726bec2ad8f1996846ee62b8a49a8c Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Mon, 5 Oct 2026 10:42:48 +0200 Subject: [PATCH] docs: Refresh and simplify SDK agent guidance --- AGENTS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 2e090d0..bf556b2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,9 +1,9 @@ # Agent Instructions -- Read and follow [CONTRIBUTING.md](./CONTRIBUTING.md) before contributing to the SDK. It covers building, running samples, testing, and pull requests. +- Read and follow [CONTRIBUTING.md](./CONTRIBUTING.md) before contributing to the SDK. - Read and follow [RELEASING.md](./RELEASING.md) when adding changesets or working on publishing. - Public API changes: follow "Public API changes" in [CONTRIBUTING.md](./CONTRIBUTING.md). As an agent, also: - - When reviewing or fixing someone else's PR, don't ask for or open an issue, but note in the review when an external contributor's PR changes public API without one. + - When reviewing or fixing someone else's PR, don't ask for or open an issue. Note an external contributor's public API change when it has neither an agreed issue nor an API-defining published spec. - The author is a PostHog maintainer when the PR's `author_association` is `MEMBER` or `OWNER` (`gh api repos/PostHog/posthog-dotnet/pulls/ --jq .author_association`) or, before a PR exists, when `gh api orgs/PostHog/members/$(gh api user --jq .login)` succeeds. If the check fails or can't run, treat the author as an external contributor. - A published [sdk-spec](https://github.com/PostHog/sdk-specs) that defines the API counts as the agreement, so no issue is needed. - For an external contributor with no agreed issue and no spec, stop before implementing and draft the issue body for the user to post. Open it only if they ask.