From 61b2baf686d90e88e5d5e948f57caa8e31e2b1ad Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Sun, 2 Aug 2026 11:43:37 +0000 Subject: [PATCH 1/2] Add AGENTS.md with guidance for AI coding agents --- AGENTS.md | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..b437938 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,57 @@ + + +# AGENTS.md + +This file provides guidance for AI coding agents (for example opencode, +Claude Code, or other agents) that work in this repository. + +## Build and verification + +- Format the code before you commit: + - `mvn spotless:apply` +- Verify that the pull request is ready: + - `mvn spotless:check` + - `mvn checkstyle:check` + - `mvn apache-rat:check` + - `mvn verify` (runs the unit tests and the RAT license check) +- Make sure all of the commands above pass before you open or update a pull + request. + +## Test-first programming + +Write a failing test before you implement a fix or a feature: + +1. Write a test that reproduces the bug, or that specifies the new behavior. +2. Run the test and confirm that it fails. The failure must match the bug that + you are fixing. +3. Implement the change. +4. Run the test again and confirm that it passes. +5. Run `mvn verify` to confirm that nothing else is broken. + +## Documentation style + +Use ASD-STE100 Simplified Technical English for documentation. This includes +the README, the site documentation, javadoc, and code comments: + +- Write short sentences. +- Write one idea per sentence. +- Use only the approved vocabulary and the approved meanings for words. +- Use the active voice. +- Write precisely and without ambiguity. From 32a5a31e28e9585d786ec7f9cb3b1d2d509584ff Mon Sep 17 00:00:00 2001 From: Elliotte Rusty Harold Date: Sun, 2 Aug 2026 11:45:02 +0000 Subject: [PATCH 2/2] Update AGENTS.md --- AGENTS.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index b437938..0613635 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,8 +19,7 @@ # AGENTS.md -This file provides guidance for AI coding agents (for example opencode, -Claude Code, or other agents) that work in this repository. +This file provides guidance for AI coding agents that work in this repository. ## Build and verification