Modern Apps git

← Modern-Apps.git

AGENTS.md: keep module docs current in the same change

Commit
08839d664ae3e230d9ae3cce33cd752a5c46564b
Author
Vayun Mathur <[email protected]>
When
2026-11-25 19:29 UTC (10 days ago)
Parents
3d1b5e3
Root scope law gains a mandatory rule: any change that
alters what a module AGENTS.md documents (entry/key
files, architecture, features, gotchas, verification)
must update that AGENTS.md - facts that stopped being
true corrected or deleted - in the same change. Root
file updated too when a change is repo-wide. No prose
churn for changes the docs don't cover.

Diff

AGENTS.md
diff --git a/AGENTS.md b/AGENTS.mdindex 6707fe8b8e..d88905be13 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -8,6 +8,7 @@ Monorepo: ~100 Gradle modules + Rust workspace. Do scoped work only. 3. Expand only with one-line justification. Never root-recurse. 4. Don't read `CONTRIBUTING.md` whole (26KB). Pull a section only on demand. 5. Prefer 1 targeted read over 10 searches.+6. **Keep `AGENTS.md` current (mandatory).** If your change adds, removes, renames, or alters anything a module's `AGENTS.md` documents — entry files, key files, architecture/data-flow, features, gotchas, verification commands, module purpose — update that module's `AGENTS.md` (and this root file, when the change is repo-wide: conventions, shared-module ownership, app index) **in the same change**. Facts that stopped being true (removed deps, renamed files, dead behavior) must be corrected or deleted, not left standing. A change that makes an `AGENTS.md` claim false is incomplete. Conversely, don't churn `AGENTS.md` prose for changes it doesn't document.  ### How to pick scope | Task | Scope |