diff --git a/AGENTS.md b/AGENTS.md index 00d0972..e330014 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -11,8 +11,8 @@ ## 0. Where We Are This branch turns the commercial Waggle OS codebase into an open-source **community edition**. -The conversion is in progress: the code still contains tiers, Stripe, KVARK, team mode and the -hive-mind memory substrate. Work packages remove or replace them one by one. +The conversion is in progress: the code still contains team mode and the hive-mind memory +substrate. Work packages remove or replace them one by one. Sources of truth, in order: 1. The agreed scope ("Waggle OSS Agreed Scope Annex", held by the project owner). @@ -63,7 +63,6 @@ npm workspaces with the root `package-lock.json`. Node `^20.19.0 || >=22.12.0`. | `packages/agent`, `core`, `server`, `shared`, `sdk`, `weaver`, `marketplace`, `cli`, `launcher` | Keep. | | `packages/memory-contract`, `packages/memory-mem0` | Keep. The memory contract and its mem0 implementation (ADR-0007). | | `packages/waggle-dance`, `packages/worker` | Postponed: team mode stays in the repo, is not built or shipped (ADR-0003). | -| `packages/optimizer` | Excluded: part of self-learning (ADR-0004). Removed in P1.4. | | `packages/hive-mind-*`, `memory-mcp`, `wiki-compiler` | Excluded once P1.5 moves all memory access to the contract. | | `packages/admin-web`, `apps/www` | Excluded. | | `apps/browser-ext` | Not decided. Do not extend it. | @@ -94,10 +93,10 @@ packages/core/src/ # config, cron-store, file-store, vault, logger, te packages/shared/src/ # shared types, Zod schemas, MCP catalog ``` -To be removed by work packages, so do not build on them: `packages/shared/src/tiers.ts` -(P0.1), `packages/agent/src/kvark-tools.ts` and the evolution / improvement / correction -modules (P1.4), `packages/server/src/stripe/` and `packages/server/src/kvark/` (P1.1), -`packages/core/src/compliance/` and `install-audit.ts` (P1.2). +Already removed: tiers and Stripe (P0.1); KVARK, enterprise packs, the compliance +subsystem, self-learning and `packages/optimizer` (P1.4, P1.6, ADR-0004). Still to be +removed, so do not build on them: `install-audit.ts`, `team-sync` and `migration` in core +(P1.2), the team server runtime (P1.1). --- diff --git a/apps/web/src/components/os/apps/ApprovalsApp.tsx b/apps/web/src/components/os/apps/ApprovalsApp.tsx index 790f918..80e60df 100644 --- a/apps/web/src/components/os/apps/ApprovalsApp.tsx +++ b/apps/web/src/components/os/apps/ApprovalsApp.tsx @@ -94,7 +94,7 @@ function summarizeInput(input: Record): string { * approve blind: the approver sees the skill's name up front and can expand the * exact bytes `writeSkill` will persist before allowing it. `summarizeInput` * surfaces none of `{name, content}`, so without this the card showed only the - * tool name — a review-before-apply gap for the self-evolution loop. + * tool name — a review-before-apply gap for agent-authored skills. */ function SkillPreview({ name, content }: { name: string; content: string }) { const [expanded, setExpanded] = useState(false); diff --git a/apps/web/src/components/os/apps/MemoryCenterApp.tsx b/apps/web/src/components/os/apps/MemoryCenterApp.tsx index 60767b3..88bde75 100644 --- a/apps/web/src/components/os/apps/MemoryCenterApp.tsx +++ b/apps/web/src/components/os/apps/MemoryCenterApp.tsx @@ -1,6 +1,6 @@ import { useState } from 'react'; import { motion, useReducedMotion } from 'framer-motion'; -import { Brain, Clock, Network, Download, Activity, BookOpen, Sparkles, User, Briefcase, ShieldCheck, SlidersHorizontal, ChevronDown } from 'lucide-react'; +import { Brain, Clock, Network, Download, Activity, BookOpen, User, Briefcase, ShieldCheck, SlidersHorizontal, ChevronDown } from 'lucide-react'; import type { KGNode, KGEdge } from '@/lib/types'; import { HintTooltip } from '@/components/ui/hint-tooltip'; import { SPRING } from '@/lib/motion/tokens'; @@ -10,7 +10,6 @@ import KnowledgeGraphViewer from './memory/KnowledgeGraphViewer'; import HarvestTab from './memory/HarvestTab'; import WeaverPanel from './memory/WeaverPanel'; import WikiTab from './memory/WikiTab'; -import EvolutionTab from './memory/EvolutionTab'; import MemoryCenterTab from './memory/MemoryCenterTab'; import TimelineTab, { type TimelineTabProps } from './memory/TimelineTab'; import ImportReminderBanner from './memory/ImportReminderBanner'; @@ -23,7 +22,7 @@ import { useOnboarding } from '@/hooks/useOnboarding'; * Top-level structure is the ratified TWO-MIND SPLIT: "About you" reads the * Personal Mind; "About this work" reads the active workspace's Mind. The * per-mind list is MemoryCenterTab (reused, parameterized — D2). The legacy - * MemoryApp views (Timeline / Graph / Harvest / Weaver / Wiki / Evolution) + * MemoryApp views (Timeline / Graph / Harvest / Weaver / Wiki) * survive as secondary tabs after a divider — capability preserved, entry * restructured. Mind pills render only on the Memories tab: the legacy tabs * keep their own scoping (Graph has a scope selector; Harvest writes to the @@ -35,12 +34,12 @@ import { useOnboarding } from '@/hooks/useOnboarding'; */ export type MindScope = 'personal' | 'workspace'; -export type MemoryView = 'trust' | 'memories' | 'timeline' | 'graph' | 'harvest' | 'weaver' | 'wiki' | 'evolution'; +export type MemoryView = 'trust' | 'memories' | 'timeline' | 'graph' | 'harvest' | 'weaver' | 'wiki'; // PR3.5: 'trust' (screen 19) is the new PRIMARY front door — first + default; // the legacy views demote to secondary (after the divider). export const MEMORY_VIEWS: readonly MemoryView[] = [ - 'trust', 'memories', 'timeline', 'graph', 'harvest', 'weaver', 'wiki', 'evolution', + 'trust', 'memories', 'timeline', 'graph', 'harvest', 'weaver', 'wiki', ]; interface MemoryTabDef { @@ -50,9 +49,9 @@ interface MemoryTabDef { tooltip: string; } -// UX gold-standard H1: 8 equal-weight tabs regrouped into 4 primary + an +// UX gold-standard H1: 7 equal-weight tabs regrouped into 4 primary + an // "Advanced" flyout (display-level IA only — every view id, route and -// ?tab= deep-link is unchanged; MEMORY_VIEWS still validates all 8). +// ?tab= deep-link is unchanged; MEMORY_VIEWS still validates all 7). const PRIMARY_TABS: MemoryTabDef[] = [ { id: 'trust', label: 'Trust', icon: ShieldCheck, tooltip: 'Memory Trust — confidence & freshness, forget / correct / confirm, and "why did you do that?"' }, { id: 'memories', label: 'Memories', icon: Brain, tooltip: 'Memory Center — inspect, edit, review, merge' }, @@ -64,7 +63,6 @@ const ADVANCED_TABS: MemoryTabDef[] = [ { id: 'harvest', label: 'Imports', icon: Download, tooltip: 'Import conversations from other AIs' }, { id: 'weaver', label: 'Maintenance', icon: Activity, tooltip: 'Memory distillation and consolidation' }, { id: 'wiki', label: 'Wiki', icon: BookOpen, tooltip: 'Compiled knowledge pages' }, - { id: 'evolution', label: 'Improvements', icon: Sparkles, tooltip: 'Self-evolving prompts and agents' }, ]; export interface MemoryCenterAppProps { @@ -151,7 +149,7 @@ const MemoryCenterApp = ({