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:
dahyeon committed 2026-05-18 08:12:38 -07:00
1 parent b1cc27f6ad
commit fb189330da
29 files changed
+993 -494

No files matched your search

+2 -2
View File
@@ -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();
}