Подготовка репозитория к публичному релизу - #1
Merged
Conversation
cursor
Bot
force-pushed
the
cursor/public-release-prep-233a
branch
from
July 8, 2026 08:47
97c1f3e to
8ca4263
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Подготовка cashbackbot к публикации в открытом доступе: удаление чувствительных данных, усиление безопасности и документация для внешних пользователей.
Что найдено и исправлено
Критично (удалено из репозитория)
data/cashback_*_with_numbers.jsondeploy/STATE.md).env.example,settings.py, deploy-скриптахTechnical task,.cursor/rules/deploy-and-git.mdcБезопасность (код)
****1234), как в админкеADMIN_IDSпо умолчанию пустой — админ-команды недоступны без явной настройкиmonthly_reminder.shтребуетCASHBACK_REMINDER_CHAT_IDв.env(без хардкода id)Публичная документация
LICENSE(MIT) иSECURITY.mdREADME.md,deploy/README.md,.env.example.cursor/добавлен в.gitignoreТесты
307 тестов пройдено, покрытие 98.56%.
Важно перед публикацией на GitHub
История git может содержать удалённые PAN и секреты в старых коммитах. Перед
publicрекомендуется:BOT_TOKENу @BotfatherDB_PASSна сервереgit filter-repoили новый чистый репозиторийChecklist для maintainer после merge
.envна production с реальнымиADMIN_IDS,TOPUP_REQUEST_USER_ID,PRIMARY_OWNER_NAMEENCRYPTION_KEYзадан на production