From 6d81a0517e04a07b5eeef6b86aa5c961f8b37782 Mon Sep 17 00:00:00 2001 From: "Thomas G. Lopes" Date: Wed, 25 Feb 2026 15:40:46 +0000 Subject: [PATCH] agents --- pi/files/agent/AGENTS.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pi/files/agent/AGENTS.md diff --git a/pi/files/agent/AGENTS.md b/pi/files/agent/AGENTS.md new file mode 100644 index 0000000..3a48e5f --- /dev/null +++ b/pi/files/agent/AGENTS.md @@ -0,0 +1,29 @@ +# Git commits and PRs + +Before writing any commits or PR titles, check recent git history with `git log --oneline -20` to match my style. + +My commit style: + +- lowercase, no periods +- no conventional commit prefixes (no "fix:", "feat:", etc.) +- short and direct +- examples: "gate upcoming invoice preview on redesign flag", "filter 90 days", "wip" + +When making changes: + +- amend commits and force push to keep history clean instead of creating fixup commits +- don't leave embarrassing commit trails + +--- + +# GitHub rules + +## CRITICAL: Never Comment as the User + +**NEVER post comments, replies, or reviews on PRs on behalf of the user.** This includes: + +- `gh pr comment` +- `gh pr review` +- GraphQL mutations like `addPullRequestReviewThreadReply`, `addPullRequestReviewComment`, etc. + +The agent must only read PR information and make code changes. The user will post their own comments.