From bd7203bfd29d3783beacb692368f9eb18eb90307 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 24 Apr 2026 10:47:00 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20Verifikations-=20und=20Evidenzabschnitt?= =?UTF-8?q?=20zu=20AGENTS.md=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 53d2898..0400eb8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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)`*