mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:21:09 +02:00
docs: update architecture comparison — 5/10 roadmap items done
Update report to reflect all completed work:
- Matrix: streaming ✅, tool registration updated to 29 tools + MCP
- §5.2 Streaming: marked done
- §5.3 Tool System: marked done
- §6 Table: items 1-3 + 5 struck through with commit refs
- §8 Fazit: updated gaps and recommendations
5 of 10 roadmap items complete in one session:
1. SSE Streaming, 2. Dynamic Tool Registry, 3. Budget Enforcement,
5. MCP Server Export (27/29 tools with DB ops), plus Tool Drift Fix.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ce57e11950
commit
acd7e0d6b0
26 changed files with 2744 additions and 661 deletions
|
|
@ -5,14 +5,14 @@ import type { AiPolicy } from '../../policy/types';
|
|||
/**
|
||||
* Context agent — tries to learn as much as possible about the user by
|
||||
* asking questions + reading available context, then consolidates into
|
||||
* the Kontext-document. Everything is propose so the user curates their
|
||||
* own profile.
|
||||
* the user's profile context. Everything is propose so the user curates
|
||||
* their own profile.
|
||||
*/
|
||||
|
||||
const CONTEXT_POLICY: AiPolicy = {
|
||||
tools: Object.fromEntries(AI_PROPOSABLE_TOOL_NAMES.map((n) => [n, 'propose'])),
|
||||
defaultsByModule: {
|
||||
kontext: 'propose',
|
||||
profile: 'propose',
|
||||
notes: 'propose',
|
||||
goals: 'auto',
|
||||
},
|
||||
|
|
@ -21,20 +21,20 @@ const CONTEXT_POLICY: AiPolicy = {
|
|||
|
||||
export const contextTemplate: AgentTemplate = {
|
||||
id: 'context',
|
||||
version: '1',
|
||||
version: '2',
|
||||
icon: '🧭',
|
||||
label: 'Kontext-Agent',
|
||||
tagline: 'Lernt dich kennen, damit andere Agents besser arbeiten',
|
||||
description: `Der Agent fragt dich gezielt Fragen und destilliert die Antworten
|
||||
in dein Kontext-Dokument. Andere Agents (Recherche, Today, …) lesen dieses
|
||||
Dokument als Prompt-Zusatz — je besser es gepflegt ist, desto relevanter werden
|
||||
in dein Nutzerprofil. Andere Agents (Recherche, Today, …) lesen dieses
|
||||
Profil als Prompt-Zusatz — je besser es gepflegt ist, desto relevanter werden
|
||||
ihre Vorschläge.
|
||||
|
||||
Was er tut:
|
||||
|
||||
1. Liest was schon in deinem Kontext + Notizen + Goals steht
|
||||
1. Liest was schon in deinem Profil + Notizen + Goals steht
|
||||
2. Stellt gezielt Fragen zu Lücken ("Was treibt dich aktuell um?", "Welche Projekte liegen an?")
|
||||
3. Verdichtet deine Antworten zu einem strukturierten Kontext-Update (als Vorschlag)
|
||||
3. Verdichtet deine Antworten zu einem strukturierten Profil-Update (als Vorschlag)
|
||||
|
||||
Alles läuft als Vorschlag — du bestätigst welche Version deines Profils gespeichert wird.`,
|
||||
category: 'ai',
|
||||
|
|
@ -42,21 +42,22 @@ Alles läuft als Vorschlag — du bestätigst welche Version deines Profils gesp
|
|||
agent: {
|
||||
name: 'Kontext-Agent',
|
||||
avatar: '🧭',
|
||||
role: 'Lernt dich kennen und pflegt dein Kontext-Dokument',
|
||||
systemPrompt: `Du bist ein neugieriger aber respektvoller Kontext-Agent. Ziel: verdichte was der User von sich selbst preisgibt zu einem gut strukturierten Kontext-Dokument, das andere AI-Agents als Prompt-Input nutzen können.
|
||||
role: 'Lernt dich kennen und pflegt dein Nutzerprofil',
|
||||
systemPrompt: `Du bist ein neugieriger aber respektvoller Kontext-Agent. Ziel: verdichte was der User von sich selbst preisgibt zu einem gut strukturierten Profil, das andere AI-Agents als Prompt-Input nutzen können.
|
||||
|
||||
Vorgehen:
|
||||
1. Lies immer zuerst das existierende kontextDoc + die letzten 5 Notizen + Goals, bevor du Fragen stellst.
|
||||
1. Lies immer zuerst das existierende Nutzerprofil (userContext) + die letzten 5 Notizen + Goals, bevor du Fragen stellst.
|
||||
2. Frage pro Iteration höchstens 2-3 konkrete Fragen. Keine Massenbefragung.
|
||||
3. Schlage beim Update des Kontext-Dokuments immer eine Diff-Ansicht vor — nie Full-Replace.
|
||||
3. Schlage beim Update des Profils immer eine Diff-Ansicht vor — nie Full-Replace.
|
||||
4. Respektiere Lücken: wenn der User etwas nicht teilen will, nimm das auf ("Thema nicht relevant für den Agent").
|
||||
5. Schreibe das Kontext-Dokument auf Deutsch, in Ich-Form ("Ich bin…", "Mir ist wichtig…").
|
||||
5. Schreibe das Profil auf Deutsch, in Ich-Form ("Ich bin…", "Mir ist wichtig…").
|
||||
|
||||
Struktur im Kontext-Dokument:
|
||||
- # Wer ich bin (Rolle, Hintergrund)
|
||||
- # Was mich umtreibt (aktuelle Projekte, Themen)
|
||||
- # Wie ich arbeite (Arbeitsstil, Präferenzen)
|
||||
- # Was ich lieber nicht teile (Opt-outs)`,
|
||||
Struktur im Nutzerprofil:
|
||||
- Beruf & Hintergrund (about.occupation, about.bio)
|
||||
- Aktuelle Projekte & Themen (goals, freeform)
|
||||
- Arbeitsstil & Präferenzen (social.workStyle, routine)
|
||||
- Interessen (interests)
|
||||
- Opt-outs (freeform: was der User nicht teilen will)`,
|
||||
memory: `# Kontext-Ziele
|
||||
|
||||
(Hier kannst du festhalten welche Aspekte von dir der Agent priorisieren soll —
|
||||
|
|
@ -70,19 +71,19 @@ meinen Hobbys" etc.)
|
|||
name: 'Kontext',
|
||||
description: 'Dein Profil für alle anderen Agents',
|
||||
openApps: [
|
||||
{ appId: 'kontext', widthPx: 720 },
|
||||
{ appId: 'profile', widthPx: 720 },
|
||||
{ appId: 'ai-missions', widthPx: 440 },
|
||||
{ appId: 'ai-workbench', widthPx: 440 },
|
||||
],
|
||||
},
|
||||
missions: [
|
||||
{
|
||||
title: 'Kontext verdichten',
|
||||
title: 'Profil-Check',
|
||||
objective:
|
||||
'Lies was schon da ist, identifiziere Lücken, stelle 2-3 Fragen und schlage ein Kontext-Update vor.',
|
||||
conceptMarkdown: `# Kontext-Erkundung
|
||||
'Lies das Nutzerprofil, identifiziere Lücken, stelle 2-3 Fragen und schlage ein Profil-Update vor.',
|
||||
conceptMarkdown: `# Profil-Erkundung
|
||||
|
||||
Der Agent tickt wöchentlich und macht einen "Kontext-Check":
|
||||
Der Agent tickt wöchentlich und macht einen "Profil-Check":
|
||||
|
||||
1. Was hat sich seit dem letzten Update geändert?
|
||||
2. Welche Lücken sind noch im Profil?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue