Clarifying Questions — Pre-implementation Review #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Pre-implementation review of JIGAIDO Telegram bounty bot. Questions below need answers before proceeding.
Questions
1.
__init__.pyis emptyFile
apps/telegram-bot/__init__.pyis 0 bytes — Python package marker. Can we remove it?2.
jigaido-bot.serviceas a templateHardcoded
User,Group,WorkingDirectory. Make it a template wheresetup.shgenerates the real file?3. Logging separation
jigaido.log(INFO) andjigaido-error.log(ERROR)RotatingFileHandleror shell redirect?4. What does
/startdo?ensure_group()upserts group + adds creator as adminensure_user()upserts useradd_group_adminis idempotent.)5.
db.init_db()safe to run multiple times?CREATE TABLE IF NOT EXISTS— confirmed safe. Add schema version table for migrations?6.
TELEGRAM_BOT_USERNAMEhardcodedcommands.py:13— placeholder string, never used. Remove or set from env var?7.
REMAINDER_WINDOW_DAYSduplicatedIn both
commands.pyandcron.pyas7. User said drop cron. Removecron.pyentirely?8. Can we clear a link/due_date?
update_bountyusesCOALESCE(?, link)— passingNonedoes NOT clear. Intentional?9. Git as update mechanism
Where do generated files (
.service, env) live — outside git dir or gitignored inside repo?10. Cron dropped
Remove
cron.pyentirely? Keepreminder_logtable?Priority
| # | Question | Priority |
|---|---|
| 1 | Git as update mechanism | High |
| 2 |
.serviceas template | Medium || 3 | Logging separation | Medium |
| 4 |
/startbehavior | Medium || 5 | Can we clear link/due_date? | Medium |
| 6 | Cron dropped — remove
cron.py? | Medium || 7 |
__init__.pyremove? | Low || 8 |
TELEGRAM_BOT_USERNAME| Low || 9 |
REMINDER_WINDOW_DAYSduplication | Low || 10 | Schema version for migrations? | Low |