refactor: remove KVARK, enterprise packs and the compliance subsystem (P1.4, P1.6)

KVARK is the commercial enterprise product and is not part of the community
edition. The agent's KVARK tools were never wired into the server, so
removing them changes no runtime behaviour beyond the routes listed here.

- agent: delete kvark-tools; CombinedRetrieval and formatCombinedResult now
  merge workspace and personal memory only (no KVARK lane, no source
  conflict note); connector substrate is always 'waggle'
- agent: promote_skill stops at workspace scope; team and enterprise scopes
  answer "not available in this edition" instead of an upgrade prompt
- server: delete src/kvark and GET /api/marketplace/enterprise-packs
- marketplace: delete ENTERPRISE_PACKS
- compliance (EU AI Act dashboard, its templates and the KVARK template
  seeded on every boot): delete core/src/compliance, the /api/compliance/*
  routes, agent compliance-pdf and the Cockpit compliance panel. The
  ai_interactions table lives in the memory substrate and goes with P1.5.
This commit is contained in:
shumeiko.it
2026-10-20 00:27:02 +02:00
parent 10ad678547
commit b734c1d3d2
53 changed files with 56 additions and 6936 deletions

View File

@@ -49,7 +49,7 @@ export interface WaggleConnector {
*/
readonly harvestAction?: { action: string; params?: Record<string, unknown> };
/** Which substrate manages this connector */
readonly substrate: 'waggle' | 'kvark';
readonly substrate: 'waggle';
/** CDN URL for SVG logo */
readonly logoUrl?: string;
/** Connector category */
@@ -78,7 +78,7 @@ export abstract class BaseConnector implements WaggleConnector {
abstract readonly service: string;
abstract readonly authType: 'bearer' | 'oauth2' | 'api_key' | 'basic';
abstract readonly actions: ConnectorAction[];
abstract readonly substrate: 'waggle' | 'kvark';
abstract readonly substrate: 'waggle';
readonly logoUrl?: string;
readonly category?: 'productivity' | 'development' | 'crm' | 'data' | 'communication' | 'storage' | 'integration';
readonly setupGuide?: string;