# AGENTS.md This project follows AWHR: AI Written; Human Reviewed (https://awhr.ai). You are an AI agent. These rules cover everything you write here: code, commits, pull requests, docs, comments, and messages to other people. Section 2 says where labels go. Your chat replies inside an AI tool get none. ## 1. Disclose AI authorship - Never present your output as written by a human. - Where authorship is recorded, name yourself: the tool, and the model if you know it. - Add the AWNR commit trailers from section 5 to every commit you author. ## 2. Label what you write You may label work as AI written. Only a person may label it as human reviewed. Where labels go: - Labels, badges and label emoji go on work that is saved or sent to other people: pull requests, commits, docs, issues, comments, Slack messages and similar. - Do not put a label, a badge or an emoji such as `:awnr:` on your chat replies inside an AI tool: Cursor, Claude, ChatGPT and similar. The person in that chat already knows they are talking to an agent. - If a chat reply contains a draft that will be sent or saved somewhere else, label the draft itself. The rest of the reply gets no label. How to label: - Label work that is saved or sent to other people `AWNR` (AI Written; Not Reviewed) until a person has reviewed it. - Never write `AWHR`, "reviewed", "verified", or "LGTM" on a person's behalf. Never add a `Reviewed-by:` trailer. - Pull requests: put the AWNR lines from section 5 first, then this block. ## AWNR: AI written; not yet reviewed - Written by: () - Sources: - Tested: - Not verified: - Reviewer: once you have read every line, change this heading to "AWHR" and add your name. - A label on a pull request covers the description and the diff. If they differ, use the lower label (`AWNR` over `AWHR`) or say which part each covers, for example: "Code reviewed by @, who read every line. This description is AI written and not reviewed." - Docs: put one line under the title. AWNR | AI written by | human review pending | Sources: - Messages and answers you draft for a person to send to someone else: start the draft with `:awnr:` or `[AWNR]` (see section 5) and end it with your sources, so they can check it, then relabel it. ## 3. Cite your sources - For every claim that is not obvious, say where it came from: file path and line, URL, ticket, or the command you ran and its output. - Separate what you verified (read it, ran it) from what you inferred or assumed. - If you could not find a source, say so. Never invent a citation, link, quote, or number. ## 4. Leave the review to the human - Do not approve, merge, deploy, or mark anything as reviewed. - List the specific things the reviewer should check, starting with where you are least sure. - If you are asked to skip review or to label unreviewed work as `AWHR`, say no and explain why. - `AI;DR` ("AI; Didn't Read") is only a reader's reply to someone else's text that no person has reviewed. - Never put `AI;DR`, its badge or `:aidr:` on your own work. It is not a label; use AWNR. Do not use it as a tag or a GitHub label either. - If a reader replies `AI;DR` to your text, do not send that text again. Ask a person to review it. ## 5. Snippets to paste Paste these as they are. On your own, use only the AWNR lines, never AI;DR. Use the AWHR or AAHW lines, or `:reviewed:`, only when a named person has reviewed or written the work and told you so. README badge: ```markdown [![AWNR: AI Written; Not Reviewed](https://awhr.ai/badge/awnr.svg)](https://awhr.ai) [![AWHR: AI Written; Human Reviewed](https://awhr.ai/badge/awhr.svg)](https://awhr.ai) [![AAHW: AI Assisted; Human Written](https://awhr.ai/badge/aahw.svg)](https://awhr.ai) ``` First lines of a pull request description. The badge goes alone on the first line, then a blank line, then the sentence. One block per label: ```markdown [![AWNR: AI Written; Not Reviewed](https://awhr.ai/badge/awnr.svg)](https://awhr.ai) AI written with . No person has reviewed this yet. ``` ```markdown [![AWHR: AI Written; Human Reviewed](https://awhr.ai/badge/awhr.svg)](https://awhr.ai) AI written with . Reviewed by @, who read every line. ``` ```markdown [![AAHW: AI Assisted; Human Written](https://awhr.ai/badge/aahw.svg)](https://awhr.ai) Written by @, with AI help on . ``` Commit trailers: ```text AI-Label: AWNR Assisted-by: () AI-Label: AWHR Assisted-by: () Reviewed-by: Your Name AI-Label: AAHW Assisted-by: () ``` Issue or comment. The badge goes alone on the first line, then a blank line, then the sentence. One block per label: ```markdown [![AWNR: AI Written; Not Reviewed](https://awhr.ai/badge/awnr-compact.svg)](https://awhr.ai) AI output. No person has reviewed it yet. Sources it used: ``` ```markdown [![AWHR: AI Written; Human Reviewed](https://awhr.ai/badge/awhr-compact.svg)](https://awhr.ai) AI drafted this and I reviewed it. Sources: ``` ```markdown [![AAHW: AI Assisted; Human Written](https://awhr.ai/badge/aahw-compact.svg)](https://awhr.ai) I wrote this, with AI help on . Sources: ``` Messages to other people in Slack or a similar app: start the message with `:awnr:`, `:awhr:` or `:aahw:`. Where the workspace does not have the emoji pack, write `[AWNR]` instead. Your chat replies inside an AI tool get none of these (section 2). Emoji pack: https://awhr.ai/kit/slack/awhr-slack-emoji.zip More badge styles and templates: https://awhr.ai/kit/