docs: Verifikations- und Evidenzabschnitt zu AGENTS.md ergänzt

This commit is contained in:
Michael 2026-04-24 10:47:00 +02:00
parent 7a774bb182
commit bd7203bfd2

View file

@ -245,4 +245,42 @@ Die folgenden Dokumente werden in Kürze in `/docs/` erstellt und verlinkt:
--- ---
## 🔍 Verifikation und Evidenz
### Durchgeführte Tests
| Test | Befehl | Ergebnis | Protokoll |
|------|--------|----------|----------|
| Webinterface lädt | `curl -s http://localhost:8081/web/index.html > /tmp/test_page.html && echo "✓ Page loaded"` | ✅ Erfolgreich | `/tmp/serve.log` |
| templates.json verfügbar | `curl -s http://localhost:8081/templates.json` | ✅ OK (JSON-Validität) | Server-Log |
| System-Templates (JSON) | `ls templates/system/*.json` → geprüft über API | ✅ commit_analysis.json, code_reviewer.json, summarizer.json | Server-Ausgabe |
| User-Templates (Markdown) | `ls templates/user/*.md` → geprüft über API | ✅ email_draft.md, brainstorming.md | Server-Ausgabe |
| Spezifischer Zugriff | `curl -s http://localhost:8081/templates/user/brainstorming.md` | ✅ 200 OK + korrekte Markdown-Inhalte | Server-Log |
| Portbindung | `ss -tulnpn | grep 8081` | ✅ Port 8081 gebunden | Terminal-Ausgabe |
### Manuelle Verifikation
1. **Browser-Test**:
- `http://localhost:8081/web/index.html` öffnen
- Template-Kacheln werden geladen
- **„Anzeigen“** und **„Inhalte kopieren“** Buttons funktionieren
2. **Terminal-Test**:
```bash
curl -s http://localhost:8081/templates/system/commit_analysis.json | python3 -m json.tool
```
→ Korrekte JSON-Ausgabe
3. **Log-Prüfung**:
```bash
tail -5 /tmp/serve.log
```
→ Ausgabe: `Serving on http://localhost:8081`
### Zusammenfassung
Alle Endpunkte sind **verfiziert** und **funktionieren wie erwartet**. Es gibt **keine 404-Fehler** mehr. Die Server-Konfiguration (Port 8081, Dateirouting) ist **stabil und reproduzierbar**.
---
*Letzte Aktualisierung: `$(date +%Y-%m-%d)`* *Letzte Aktualisierung: `$(date +%Y-%m-%d)`*