docs: F-03/04/05 done — board aktualisiert, alle requirements done

11 Tests grün. F-06 (Integration) ist jetzt Ready-Set.
Session-Prompts für F-03/04/05 archiviert.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-03 23:42:13 +02:00
parent 35a363500f
commit 93e17488a5
7 changed files with 136 additions and 16 deletions

View File

@@ -0,0 +1,27 @@
# Session-Prompt F-04 — Telegram Bot Handler
```
Modell: Sonnet
Du arbeitest in /Users/tarikmoussa/Desktop/files/tg-bot-jetson auf einem neuen Branch
`feat/bot-handler` (von `main`).
## Aufgabe
Implementiere `src/bot/handlers.py` (cmd_start, cmd_help, handle_message) und
`src/main.py` (Application-Setup, Handler-Registrierung, run_polling).
Referenz: python-telegram-bot v21 Doku (golden oracle).
## Akzeptanzkriterien
- [ ] `/start` antwortet mit Begrüßungstext.
- [ ] `/help` antwortet mit Befehlsübersicht.
- [ ] `handle_message` ruft `ask_model(text)` auf und sendet die Antwort.
- [ ] `main.py` registriert alle Handler mit dem Whitelist-Filter.
- [ ] `uv run pytest tests/test_handlers.py -v` → grün (≥ 3 Tests).
## Nicht anfassen
`whitelist.py`, `connector.py`, `config.py`.
## Commit & Push
- `feat: add telegram handlers and application entrypoint (F-04)`
- Trailer: `Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>`
```