Refactor skill definitions into SSOT structure
Move onboarding intents, prompt data, and tools behind skill-local sources. Register skills through factories and add a moderation skill PoC.
This commit is contained in:
1 parent
b1cc27f6ad
commit
fb189330da
29 files changed
+993
-494
No files matched your search
@@ -10,7 +10,7 @@ import type { Skill } from '@skills/skill';
|
||||
import { type ShadowEvalPublisher, ShadowEvalBus } from '@eval/shadow-bus';
|
||||
import { anonymizeProcessTrace } from '@eval/anonymize';
|
||||
import { meetsTrustTier } from '../../eval/governance/trust.js';
|
||||
import { createBuiltInToolRegistry } from '@tools/builtins/index';
|
||||
import { createOnboardingToolRegistry } from './tools.js';
|
||||
import type { ToolRegistry } from '@tools/registry';
|
||||
import type { Tool, ToolContext } from '@tools/tool';
|
||||
import { createToolSearchTool } from '@tools/tool-search';
|
||||
@@ -109,7 +109,7 @@ export class OnboardingSkill implements Skill {
|
||||
this.userMemoryStore = new UserMemoryStore(garnetClient);
|
||||
this.orchestrator = new OnboardingOrchestrator(llmClient);
|
||||
this.shadowEvalPublisher = shadowEvalPublisher ?? new ShadowEvalBus(garnetClient);
|
||||
this.toolRegistry = createBuiltInToolRegistry();
|
||||
this.toolRegistry = createOnboardingToolRegistry();
|
||||
this.tools = this.toolRegistry.list();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user