diff --git a/.gitea/pull_request_template.md b/.gitea/pull_request_template.md new file mode 100644 index 0000000..7d9ff21 --- /dev/null +++ b/.gitea/pull_request_template.md @@ -0,0 +1,53 @@ +## What + + + +## Why + + + +Refs: # + +## How to test + +```bash +# Commands the reviewer can run to reproduce / verify: +docker run --rm -v "$PWD":/work -v "$HOME/.m2":/root/.m2 -w /work \ + maven:3.9-eclipse-temurin-25 mvn -B test +``` + + + + + +## Risk + + + +- [ ] chat message flow (immutable after send) +- [ ] pt-BR singular-form rule (`5.966 blocos de Pedra`, not `5.966 Pedras`) +- [ ] Bedrock equivalent (`comando:` typed fallback, `texto:` ASCII label) +- [ ] stats path (`/players/stats`, not `/stats`) +- [ ] reaction late-window (`reacao-validade-minutos`) +- [ ] Bukkit main thread (no async chunk loads in event handlers) +- [ ] new `comando:` added to `plugin.yml` +- [ ] new permission declared in `plugin.yml` + +## Checklist + +- [ ] `mvn -B test` passes locally (JDK 25) +- [ ] new behaviour has a test (`src/test/java/...`) +- [ ] no hand edits to generated sources (none in this repo) +- [ ] PR title is conventional-commit style +- [ ] branch is up to date with `main` + +## AI review + +Label this PR **`AI-REVIEW`** to trigger `pragent`. Add **`AI-USAGE`** for a +token/cost report on the review. The bot reads `.pr-review.json` from `main` ++ a static `architecture.md` from Nexus raw-hosted — so house rules (chat +immutability, singular-form, Bedrock fallback, JDK 25) are baked in.