|
| 1 | +# FAQ |
| 2 | + |
| 3 | +## 1. Do I need exactly 6 bots? |
| 4 | + |
| 5 | +No. |
| 6 | + |
| 7 | +The repository ships with a recommended 6-bot layout, but the stack generator supports custom bot counts and custom combinations of roles. |
| 8 | + |
| 9 | +## 2. Which file should I edit first? |
| 10 | + |
| 11 | +For most users, start with: |
| 12 | + |
| 13 | +- `bash ./install.sh` |
| 14 | +- `bash ./configure.sh` |
| 15 | + |
| 16 | +You usually do not need to hand-edit `bot_stack.bootstrap.toml` on day one. |
| 17 | + |
| 18 | +## 3. Where do I put Telegram bot tokens? |
| 19 | + |
| 20 | +Put them in: |
| 21 | + |
| 22 | +- `.bot_tokens.env` |
| 23 | + |
| 24 | +Do not commit this file. |
| 25 | + |
| 26 | +## 4. Why are there both group bots and private bots? |
| 27 | + |
| 28 | +Because group-chat responsibilities and private-chat responsibilities are usually different. |
| 29 | + |
| 30 | +Typical split: |
| 31 | + |
| 32 | +- group bots: routing, reporting, teamwork |
| 33 | +- private bots: deeper execution and higher-permission personal workflows |
| 34 | + |
| 35 | +## 5. What does the health check script do? |
| 36 | + |
| 37 | +`bash ./health_check.sh` checks: |
| 38 | + |
| 39 | +- Telegram API reachability |
| 40 | +- local proxy state |
| 41 | +- bot service status |
| 42 | +- monitor output freshness |
| 43 | +- report output freshness |
| 44 | + |
| 45 | +## 6. What does reverse export do? |
| 46 | + |
| 47 | +It converts a live local stack into a sanitized TOML file so you can: |
| 48 | + |
| 49 | +- document your current running setup |
| 50 | +- rebuild it later |
| 51 | +- create migration-ready templates |
| 52 | + |
| 53 | +## 7. What does the migration-ready template do? |
| 54 | + |
| 55 | +It rewrites a reverse-exported stack into a new-machine template with placeholder paths such as `/Users/your_user/...`. |
| 56 | + |
| 57 | +This is useful when you want to: |
| 58 | + |
| 59 | +- move to a new Mac |
| 60 | +- share a sanitized deployment template |
| 61 | +- bootstrap a second machine faster |
| 62 | + |
| 63 | +## 8. Does CI start my real bots? |
| 64 | + |
| 65 | +No. |
| 66 | + |
| 67 | +CI only runs lightweight validation: |
| 68 | + |
| 69 | +- Python syntax checks |
| 70 | +- shell syntax checks |
| 71 | +- local config generation |
| 72 | +- stack generation |
| 73 | +- reverse export |
| 74 | +- migration template generation |
| 75 | + |
| 76 | +It does not start your real local Telegram services. |
| 77 | + |
| 78 | +## 9. What files should never be committed? |
| 79 | + |
| 80 | +Never commit: |
| 81 | + |
| 82 | +- `.bot_tokens.env` |
| 83 | +- real secrets |
| 84 | +- runtime sqlite files |
| 85 | +- generated logs |
| 86 | +- private local runtime data |
| 87 | + |
| 88 | +## 10. Where should I report a vulnerability? |
| 89 | + |
| 90 | +Follow: |
| 91 | + |
| 92 | +- [SECURITY.md](../SECURITY.md) |
| 93 | + |
| 94 | +Do not post sensitive exploit details in a public issue first. |
0 commit comments