docs: F-06 done — board aktualisiert, integration smoke-test gemerged
Session-Log, Session-Prompt und Board-Update für F-06. F-07 ist jetzt 🔲 ready. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
35
session-prompts/F-06-integration.md
Normal file
35
session-prompts/F-06-integration.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Session-Prompt F-06 — Integration & Smoke-Test
|
||||
|
||||
```
|
||||
Modell: Sonnet
|
||||
|
||||
Du arbeitest in /Users/tarikmoussa/Desktop/files/tg-bot-jetson auf einem neuen Branch
|
||||
`feat/integration` (von `main`).
|
||||
|
||||
## Aufgabe
|
||||
Erstelle `tests/test_integration.py` mit ≥ 3 E2E-Tests, die Whitelist + Handler +
|
||||
Connector gemeinsam verdrahtet prüfen. Behebe dabei den Entry-Point-Bug:
|
||||
`src/main.py` liegt ausserhalb des `bot`-Pakets, obwohl pyproject.toml `bot.main:main`
|
||||
deklariert — die Datei muss nach `src/bot/main.py` verschoben werden.
|
||||
|
||||
## Akzeptanzkriterien
|
||||
- [ ] `src/bot/main.py` existiert (verschoben von `src/main.py`).
|
||||
- [ ] `tests/test_integration.py` enthält ≥ 3 Tests (E2E: Handler→Connector, Whitelist-Wire, App-Build).
|
||||
- [ ] `uv run pytest tests/ -v` → alle Tests grün, kein Regression.
|
||||
- [ ] `uv run ruff check src/ tests/` → keine Fehler.
|
||||
|
||||
## Nicht anfassen
|
||||
`whitelist.py`, `handlers.py`, `connector.py`, `config.py`.
|
||||
Keine bestehenden Tests verändern.
|
||||
|
||||
## Commit & Push
|
||||
- `feat: F-06 integration smoke-test + fix bot.main entry point`
|
||||
- Trailer: `Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>`
|
||||
- Push nach `origin`, PR öffnen (Base: `main`).
|
||||
|
||||
## Abschluss
|
||||
1. `STATE.md` (agent-swarm-repo) aktualisieren.
|
||||
2. `ROADMAP.md` F-06 auf ✅, F-07 auf 🔲 setzen.
|
||||
3. Session-Log schreiben.
|
||||
4. Hygiene-Gate: `bash scripts/gate-session-hygiene.sh`.
|
||||
```
|
||||
Reference in New Issue
Block a user