docs: clarify .env usage and direct admin DMs release notes policy

This commit is contained in:
mamad
2026-08-29 03:44:57 +03:30
parent 6482c97741
commit f25e166a97
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -41,10 +41,11 @@ The bot interface is strictly organized into 5 category hubs:
4. **`System` (مدیریت سیستم)**: Emergency fleet pause/resume (`/pause`, `/resume`), dynamic release notes (`/changes`), and comprehensive documentation (`/help`).
5. **`Monitor` (مانیتورینگ و آمار)**: Live queue & channel throughput statistics (`/stats`), unresolved error log review & bulk-fix (`/errors`), and Grafana time-range graphs.
### 3.2 Release Notes Delivery
### 3.2 Release Notes Delivery & Environment Configuration
- **Always use app `.env` file**: Always read bot credentials (`BOT_TOKEN`), admin IDs (`ADMIN_USER_IDS`), and configurations directly from `/projects/telegram-bots/copykar/.env`.
- **Never save release notes to a static file**: Do not create or keep `RELEASE_NOTES.md` on disk.
- **Dynamic Generation**: Always generate release notes dynamically strictly describing the changes of the current commit.
- **Direct Admin DMs**: Always send release notes via the Telegram bot directly to admin private DMs (`ADMIN_USER_IDS`), never to the review channel.
- **Direct Admin DMs Only**: Always dispatch release notes via the Telegram bot directly to admin private DMs (`ADMIN_USER_IDS`) using the `.env` configuration (and proxy `http://127.0.0.1:10809` if needed), never to any public or review channel.
### 3.3 Target Channel Context History
- Target channels support injecting recent published history (`context_message_count`) into AI rewriting prompts.
+3 -2
View File
@@ -41,10 +41,11 @@ The bot interface is strictly organized into 5 category hubs:
4. **`System` (مدیریت سیستم)**: Emergency fleet pause/resume (`/pause`, `/resume`), dynamic release notes (`/changes`), and comprehensive documentation (`/help`).
5. **`Monitor` (مانیتورینگ و آمار)**: Live queue & channel throughput statistics (`/stats`), unresolved error log review & bulk-fix (`/errors`), and Grafana time-range graphs.
### 3.2 Release Notes Delivery
### 3.2 Release Notes Delivery & Environment Configuration
- **Always use app `.env` file**: Always read bot credentials (`BOT_TOKEN`), admin IDs (`ADMIN_USER_IDS`), and configurations directly from `/projects/telegram-bots/copykar/.env`.
- **Never save release notes to a static file**: Do not create or keep `RELEASE_NOTES.md` on disk.
- **Dynamic Generation**: Always generate release notes dynamically strictly describing the changes of the current commit.
- **Direct Admin DMs**: Always send release notes via the Telegram bot directly to admin private DMs (`ADMIN_USER_IDS`), never to the review channel.
- **Direct Admin DMs Only**: Always dispatch release notes via the Telegram bot directly to admin private DMs (`ADMIN_USER_IDS`) using the `.env` configuration (and proxy `http://127.0.0.1:10809` if needed), never to any public or review channel.
### 3.3 Target Channel Context History
- Target channels support injecting recent published history (`context_message_count`) into AI rewriting prompts.