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:
@@ -42,24 +42,6 @@ export function formatCombinedResult(result: CombinedRetrievalResult, hasWorkspa
|
||||
}
|
||||
}
|
||||
|
||||
// KVARK results
|
||||
if (result.kvarkResults.length > 0) {
|
||||
const header = '## Enterprise Knowledge (KVARK)';
|
||||
// KVARK results: score only, no frame_type/importance
|
||||
const entries = result.kvarkResults.map(r => formatResultEntry(r, false)).join('\n');
|
||||
sections.push(`${header}\n${entries}`);
|
||||
}
|
||||
|
||||
// Source conflict notice
|
||||
if (result.hasConflict && result.conflictNote) {
|
||||
sections.push(`## Source Conflict\n${result.conflictNote}\nReview both sources carefully and note which is more recent or authoritative.`);
|
||||
}
|
||||
|
||||
// KVARK error notice
|
||||
if (result.kvarkError && result.kvarkAvailable) {
|
||||
sections.push(`> Enterprise search encountered an error: ${result.kvarkError}\n> Results shown are from local memory only.`);
|
||||
}
|
||||
|
||||
if (sections.length === 0) {
|
||||
return 'No relevant memories found.';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user