From cc76a4e74802a2db2b570f1ecde78884c47d7eba Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sat, 22 Aug 2026 23:23:29 -0700 Subject: [PATCH] Update AGENTS.md --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index d9fede399..5ec68a23f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -25,7 +25,7 @@ Guidelines and instructions for AI models and automated agents operating in the ## 4. Guidelines for AI Models -1. **Git / Commit Control:** NEVER commit changes or amend an existing git commit without the user's explicit request or approval. When explicitly requested to commit changes, follow the 50/72 rule for commit messages (subject line <= 50 characters, blank line before body, wrap body lines at 72 characters) and include an `Assisted-by: ` trailer in the commit message body. +1. **Git / Commit Control:** NEVER commit changes or amend an existing git commit without the user's explicit request or approval. When explicitly requested to commit changes, follow the 50/72 rule for commit messages (subject line <= 50 characters, blank line before body, wrap body lines at 72 characters) and include an `Assisted-by: ` trailer in the commit message body. Note: Always specify the underlying LLM model name, not the agent framework, runner, or harness name. 2. **Build Invocation:** Execute `./build.py ` directly without `scripts/env.py`. Prefix standalone tool executions (like `./gradlew` or raw `cargo`) with `scripts/env.py`. 3. **Pre-build Native Code:** Before modifying code in `native/`, build native binaries at least once with `./build.py native` to generate required bindings and header files. 4. **App Subproject Context:** Refer to [`app/AGENTS.md`](app/AGENTS.md) when working inside the `app/` subproject.