docs(agents): note CM_DEBUG default and intent

This commit is contained in:
yiekheng 2026-05-02 16:23:17 +08:00
parent 72ec2177db
commit a2351c96f6

View File

@ -100,5 +100,6 @@
## Security & Configuration Tips
- Never commit real secrets in `.env`.
- `CM_DEBUG` defaults to `false` for both Flask services. Set it to `true` only in local development; rex/siong production env files must leave it unset (the Werkzeug debugger is RCE if reachable).
- `app/cm_bot_hal.py` currently contains hardcoded agent credentials/pin; move these to env vars before production use.
- Keep container clocks mounted (`/etc/timezone`, `/etc/localtime`) as compose currently defines to avoid schedule drift.