Info

Übersicht über alles was im Meliodas-Memory-System steckt.

Architektur
Browser (Desktop/Mobile)  ┐
   └─ Tailscale aktiv     │
                          ▼
              Cloudflare Pages (Cockpit · SvelteKit)
                          │  fetch
                          ▼
              tailscale-serve HTTPS
                          │
                          ▼
              mms-core FastAPI (VPS · Port 8290)
                          │
       ┌──────────────────┼──────────────────┐
       ▼                  ▼                  ▼
   Postgres            Qdrant            Claude Code Headless
  (mms-DB)         (Vector-Store)        (Sonnet + Opus)
       │                  │                  │
       ▼                  ▼                  ▼
  Conversations      Vault-Chunks        MCP-Tools
  Heartbeats         (768d, nomic)       (mms-tools-mcp)
  Agent-Calls
  Finanz-Tables
Bau-Phasen
1A–1E Foundation
20.–22.05.2026
  • IONOS VPS L Plus, Ubuntu 24.04, UFW + fail2ban
  • Docker-Compose-Stack: postgres (pgvector), qdrant, ollama (nomic-embed-text)
  • mms-core FastAPI auf Port 8290
  • Memory-Layer: Persona.md, About-Rokslei.md, Hard-Nos.md, Active-Goals.md
  • mms-tools-mcp Server mit Archival-Search, Memory-Append, Conversation-Search
  • Stream-JSON-Parser + Tool-Tracking + Heartbeat-Audit
  • Daily- + Weekly-Konsolidierung + RAG-Indexer
1F Frontend-Integration
23.05.2026
  • Morgen-Briefing-Cron 07:00 CEST → Vault + Notion + Discord
  • Coach-Daily-Nudge Mo-Fr 18:00 CEST
  • Cowork-Plugin `meliodas-chat` via Tailscale
  • Discord-Webhook-Push für Briefings + Nudges
1G Verifikation
23.05.2026
  • E2E-Test-Suite (15 Tests, 5 Modi à 3, 4/5 grün)
  • Letta-Stack-Cleanup (war nie produktiv)
  • Build-Log + Session-Handoff + Plan-Doc aktualisiert
1H Multi-Agent
23.05.2026
  • 6 Core-Agents: meliodas-core (Dispatcher) + coach + brain + kalender + coder + finanz
  • 4 Specialist/Background-Agents: briefer + consolidator + coach-nudge + researcher
  • mms_call_agent Tool für Inter-Agent-Calls
  • Memory-Isolation: shared_memory_blocks + private_memory_dir per Agent
  • agents + agent_calls Postgres-Tabellen (Audit-Trail)
1I Heartbeat-Self-Continue
23.05.2026
  • mms_request_continuation Tool
  • invoke_agent mit Heartbeat-Loop (max 5/10)
  • Anti-Loop-Detection: gleiche Tool-Sequenz → Stop
  • Audit in heartbeats-Tabelle
1J Background-Agents-Refactor
23.05.2026
  • briefing.py + consolidator.py + nudge.py refactored auf invoke_agent
  • extra_system_prompt Parameter für Workflow-spezifische Anweisungen
  • meliodas-researcher als On-Demand-Tiefenrecherche-Agent
HARD Production-Hardening
23.05.2026
  • Daily-Backup lokal (Postgres + Qdrant) + 14d Retention
  • Off-Site-Backup zu Cloudflare R2 (Free Tier, 30d Lifecycle)
  • Health-Monitoring alle 15 Min mit Discord-Alert bei State-Change
  • Vault-Re-Indexing-Cron täglich 03:30 UTC
2 Finanz-MCP
23.05.2026
  • Schema: finanz_transactions + finanz_savings_goals + finanz_budgets
  • 9 MCP-Tools: add_entry, balance, trend, forecast, savings_progress, set_savings_goal, set_budget, budget_status, recent
  • Cents-basiert (keine Float-Drift)
  • Hard-No: keine echten Bankdaten, nur manuelle Eingaben
3 Cockpit / PWA
24.05.2026
  • SvelteKit + TailwindCSS + Cloudflare Pages
  • Tailscale-serve HTTPS als API-Bridge
  • Routes: Dashboard, Galaxy, Chat, Conversations, Briefings, Nudges, Finanz, Settings, Info
  • PWA mit Service Worker + Add-to-Homescreen
  • Mobile-Bottom-Nav + Desktop-Top-Nav
  • Memory-Block-Editor mit Auto-Backup
  • Galaxy-Knowledge-Graph als Background auf Home
  • Quick-Chat direkt auf der Landing-Page
Autonomer Cron (7 Timer)
Zeit (UTC) Service Was
02:00 UTC daily mms-backup Postgres-Dump + Qdrant-Snapshot lokal + Off-Site R2
03:00 UTC daily mms-consolidate-daily gestern → Memory/Daily-Summaries/
03:30 UTC daily mms-reindex Vault → Qdrant (idempotent)
05:00 UTC daily mms-briefing Morgen-Briefing → Vault + Notion + Discord (07:00 CEST)
16:00 UTC Mo-Fr mms-coach-nudge Coach-Reality-Check → Vault + Notion + Discord (18:00 CEST)
22:00 UTC Sundays mms-consolidate-weekly Wochen-Summary
alle 15 Min mms-health-check Ping /health → Discord-Alert bei State-Change
Frontends
Cockpit (PWA)
Browser + Handy, Tailscale-Gate
meliodas-cockpit.pages.dev
Cowork-Plugin meliodas-chat
Lokales Cowork triggert mms-core
Discord-Channel
Push für Briefings + Nudges + Backup-Alerts
Notion-Sub-Pages
Briefings + Nudges unter "🤖 Meliodas Briefings"
Vault-Files
~/Meliodas/{Briefings,Nudges,Memory,...}
GitHub-Repos (privat)
meliodas-vault
Vault: Memory, Briefings, Nudges, Stack-Code, alle Markdown-Files
meliodas-cowork-plugins
Cowork-Plugin-Marketplace mit meliodas-chat
meliodas-cockpit
SvelteKit-PWA-Frontend (du bist hier)
Backend-Stack
  • Python 3.12 + FastAPI + asyncpg + httpx
  • Postgres 17 + pgvector (Docker)
  • Qdrant 1.x (Docker, Collection meliodas_archival)
  • Ollama nomic-embed-text 768d (Docker)
  • Claude Code Headless via Max-Plan-Subscription (Sonnet + Opus)
  • FastMCP-basierter mms-tools-mcp Server
  • Systemd-Timer für 7 Cron-Tasks
Frontend-Stack
  • SvelteKit 2 + TypeScript
  • TailwindCSS 3 + custom J.A.R.V.I.S.-Theme
  • Cytoscape.js + fcose-Layout (Galaxy)
  • Runtime-Config via static/config.json
  • Service Worker für offline-Cache
  • Cloudflare Pages (auto-deploy via GitHub-Push)
  • Tailscale-serve HTTPS als API-Bridge
Konventionen
  • Vault ist Source of Truth — Markdown-Files in ~/Meliodas/ übersteuern alles andere
  • Privat-Ordner ist tabu~/Meliodas/Privat/ wird nie gelesen oder referenziert
  • Hard-No-Liste — kein Telegram, kein WhatsApp-Bot, keine echten Bankdaten
  • Memory-Discipline — Agents appenden eigeninitiativ in Memory-Blocks bei neuen Facts
  • Backups doppelt — lokal (14d) + Cloudflare R2 Off-Site (30d)
mms-core · v0.1 · Cockpit Build