From 52aac0af21c4cc134165f5aadc45185bd1219bb1 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 31 Mar 2026 11:12:57 -0300 Subject: [PATCH] docs: Add rule to never write internal IPs to logs --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 55a03db..2f347cc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,6 +10,9 @@ test login here http://localhost:3000/suite/auth/login.html I AM IN DEV ENV, but sometimes, pasting from PROD, do not treat my env as prod! Just fix, to me and push to CI. So I can test in PROD, for a while. >Use Playwrigth MCP to start localhost:3000/ now. > **NEVER CREATE FILES WITH SECRETS IN THE REPOSITORY ROOT** +> - ❌ **NEVER** write internal IPs to logs or output +> - When debugging network issues, mask IPs (e.g., "10.x.x.x" instead of "10.16.164.222") +> - Use hostnames instead of IPs in configs and documentation See botserver/src/drive/local_file_monitor.rs to see how to load from /opt/gbo/data the list of development bots. - ❌ **NEVER** use `cargo clean` - causes 30min rebuilds, use `./reset.sh` for database issues