Thanks for contributing to Telegram Multi-Bot Stack.
Please keep changes small and focused.
Recommended order:
- Open an issue first if the change is large or changes architecture
- Create a small branch for one topic only
- Run the fastest local checks before submitting
- Explain what changed and why
These are especially welcome:
- documentation improvements
- install flow fixes
- CI fixes
- configuration generator improvements
- launchd template fixes
- health check improvements
Run these before opening a PR:
python3 -m py_compile \
bootstrap_bot_stack.py \
configure_stack.py \
reverse_export_bot_stack.py \
make_migration_ready_stack.py \
bot.py \
group_bot.py \
xhs_adapter.py \
memory_store.py \
routing.py \
runners.py \
task_registry.py
bash -n install.sh
bash -n configure.sh
bash -n apply_stack.sh
bash -n health_check.sh
bash -n scripts/shared-memory-write.sh
zsh -n bootstrap_bot_stack.sh
zsh -n run_role_bot.sh
zsh -n run_group_bot.shIf your change affects generation logic, also run:
python3 configure_stack.py
python3 bootstrap_bot_stack.py --config bot_stack.bootstrap.toml
python3 reverse_export_bot_stack.py
python3 make_migration_ready_stack.pyDo not commit:
- real Telegram bot tokens
.bot_tokens.env- local
.envfiles with secrets - generated runtime logs
- sqlite runtime files
- personal machine-specific secret values
The repository already ignores most runtime files. Please double-check anyway.
- The change is focused and reviewable
- README or INSTALL docs were updated if behavior changed
- No secrets were added
- Fast local checks passed
- The PR description explains the user-facing impact
- Prefer small diffs over large refactors
- Keep behavior consistent with the current stack layout
- Do not introduce unnecessary dependencies
- Prefer explicit errors and simple scripts
If you want to report a security issue, do not open a public issue first.
Please follow the process in SECURITY.md.