diff --git a/05-Dashboard/snapshots/snapshot_2026-06-20.json b/05-Dashboard/snapshots/snapshot_2026-06-20.json new file mode 100644 index 0000000..ef5cdc6 --- /dev/null +++ b/05-Dashboard/snapshots/snapshot_2026-06-20.json @@ -0,0 +1,26 @@ +{ + "timestamp": "2026-06-20T22:10:05.160Z", + "version": "1.0.0", + "tokenUsage24h": { + "requests": 0, + "tokens": 0, + "cost": 0, + "avgLatency": 0, + "sessions": 0, + "models": 0 + }, + "providers": [], + "obsidianSync": { + "totalSyncs": 0, + "tokensSaved": 0, + "failures": 0 + }, + "vault": { + "totalFiles": 15, + "totalSizeKB": 32 + }, + "scheduledTasks": { + "total": 0, + "active": 0 + } +} \ No newline at end of file diff --git a/05-Dashboard/sync-status.md b/05-Dashboard/sync-status.md new file mode 100644 index 0000000..145e16d --- /dev/null +++ b/05-Dashboard/sync-status.md @@ -0,0 +1,96 @@ +# 🔄 Obsidian Sync Status Report + +**Generiert:** 2026-06-21 00:01 (Cron Job) +**API-Server:** localhost:5555 + +--- + +## 1. API Sync-Status + +| Check | Status | Details | +|-------|--------|---------| +| API Erreichbarkeit | ✅ Online | Server antwortet auf localhost:5555 | +| `/api/obsidian/sync` | ❌ Auth erforderlich | 307 Redirect → `/login` | +| Auth-Methode | ⚠️ Session-basiert | `X-Cron-Key` Header allein reicht nicht | + +**Diagnose:** Der API-Server läuft, erfordert aber eine authentifizierte Session (Cookie-basiert). Der `X-Cron-Key: kpt-labs-cron-2026` Header wird korrekt gesentet, aber ohne gültiges Session-Cookie wird auf `/login` umgeleitet. Dies ist ein bekanntes Problem — auch der System-Snapshot-Cron-Job hat denselben Auth-Konflikt. + +--- + +## 2. Vault-Statistiken + +| Metrik | Wert | Status | +|--------|------|--------| +| **Total Files** | 79 | ✅ > 0 | +| **Markdown Files** | 14 | ✅ | +| **Vault Größe** | 225 KB | ✅ | +| **Dateien (24h geändert)** | 79 | ✅ Alle aktuell | +| **Letzte Änderung** | 2026-06-20 22:45 | ✅ < 2h her | + +**Vault Pfad:** `E:\OpenCode_Projekte\obsidianVault\` + +### Top 5 zuletzt geänderte Markdown-Dateien + +| Datei | Letzte Änderung | +|-------|----------------| +| `README.md` | 2026-06-20 22:45 | +| `04-Sessions/Daily/2026-06-19_14-00_telegram.md` | 2026-06-20 22:11 | +| `04-Sessions/Telegram-Sessions.md` | 2026-06-20 22:09 | +| `02-Projekte/KPT-LABS/KPT-LABS.md` | 2026-06-20 21:41 | +| `06-Notizen/Notizen-Übersicht.md` | 2026-06-20 21:41 | + +--- + +## 3. Git Sync-Status + +| Metrik | Wert | Status | +|--------|------|--------| +| Git Repo | ✅ Initialisiert | `obsidianVault/.git` | +| Letzter Commit | `vault: initial sync` | 2026-06-20 23:28 | +| Remote | ⚠️ Gitea konfiguriert | `gitea.intern.kpt-lab.de` | +| Push-Status | ⚠️ Timeout | Push zu Gitea schlägt fehl (Timeout) | + +**Git Log:** +``` +380e124 vault: initial sync +4135d1c 🚀 Initial commit: KPT-LABS Obsidian Vault +``` + +--- + +## 4. Session-Aktivität (letzte 24h) + +| Session | Quelle | Nachrichten | Letzte Aktivität | +|---------|--------|-------------|------------------| +| `api-461653...` | api_server | 29,467 | 2026-06-20 22:01 | +| `20260620_2323...` | telegram | 168 | 2026-06-20 22:01 | +| `cron_de0646...` | cron (snapshot) | 1 | 2026-06-21 00:00 | +| `cron_de0646...` | cron (sync check) | 10 | 2026-06-20 23:01 | + +**Fazit:** Aktive Nutzung in den letzten 24h — Telegram-Chat und API-Server laufen. + +--- + +## 5. Zusammenfassung & Empfehlungen + +### ✅ Gut +- Vault ist gesund: 79 Dateien, 14 Markdown-Dateien, alle aktuell +- Git Repo ist initialisiert mit 2 Commits +- API-Server läuft und ist erreichbar +- Aktive Session-Nutzung in letzten 24h + +### ⚠️ Probleme +1. **API Auth:** `/api/obsidian/sync` erfordert Session-Cookie — `X-Cron-Key` reicht nicht + - **Fix:** Login-Endpunkt nutzen um Session-Cookie zu erhalten, oder Server-Config prüfen +2. **Gitea Push:** Timeout beim Push zum Gitea-Remote + - **Fix:** Netzwerkverbindung zum VPS prüfen, Credentials validieren +3. **Keine Snapshots:** `05-Dashboard/snapshots/` ist leer — System-Snapshot-Cron schlägt fehl (Auth-Problem) + +### 📋 TODOs +- [ ] API Auth für Cron-Jobs fixen (Session-Cookie oder Bearer Token) +- [ ] Gitea Push Timeout diagnostizieren +- [ ] Snapshot-Generierung wieder aktivieren + +--- + +*Auto-generiert von Obsidian Sync Check Cron-Job* diff --git a/README.md b/README.md index 5b2b9c3..b6dbaf3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🚀 KPT-LABS Agent OS — System Recovery & Onboarding Guide -> **Letzte Aktualisierung:** 2026-06-19 14:00 | **Version:** 1.0.0 +> **Letzte Aktualisierung:** 21.6.2026, 00:10:05 | **Version:** 1.0.0 > **Vault Hash:** `v1.0-20260619-1400` ---