스킬 런타임 2차 고도화와 도구 노출 필터 정비

프로젝트 .claude/skills 재귀 로드와 namespaced SKILL.md 파싱을 추가하고 번들/사용자/프로젝트 스킬을 함께 노출하도록 SkillService와 설정 UI를 확장했다.

슬래시 스킬 호출 시 인자 치환, 스킬 폴더 변수 치환, inline shell 실행, when_to_use 기반 자동 스킬 가이드를 실제 ChatWindow 런타임 경로에 연결했다.

blanket deny 권한은 모델 노출 전 활성 도구 목록에서 먼저 제외하도록 AgentLoopService를 보강했고 관련 테스트와 README/DEVELOPMENT 문서를 업데이트했다.

검증: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify_phase2\\ -p:IntermediateOutputPath=obj\\verify_phase2\\ (경고 0 / 오류 0)
검증: dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj -c Release -v minimal --filter "AgentToolCatalogTests|SkillServiceRuntimePolicyTests" -p:OutputPath=bin\\verify_phase2_tests\\ -p:IntermediateOutputPath=obj\\verify_phase2_tests\\ (통과 16, 기존 WorkspaceContextGeneratorTests nullable 경고 1건 유지)
This commit is contained in:
2026-04-14 18:10:16 +09:00
parent 8cb08576d5
commit b17c865c4e
12 changed files with 805 additions and 81 deletions

View File

@@ -1284,7 +1284,7 @@ public partial class ChatWindow
return;
_settings.Settings.Llm.SkillsFolderPath = dlg.SelectedPath;
SkillService.LoadSkills(dlg.SelectedPath);
SkillService.LoadSkills(dlg.SelectedPath, GetCurrentWorkFolder());
RefreshOverlayEtcPanels();
PersistOverlaySettingsState(refreshOverlayDeferredInputs: false);
}
@@ -1887,12 +1887,11 @@ public partial class ChatWindow
.Where(skill => !skill.IsAvailable)
.OrderBy(skill => skill.Name, StringComparer.OrdinalIgnoreCase)
.ToList();
var autoSkills = skills
.Where(skill => skill.IsAvailable && (!skill.UserInvocable || !string.IsNullOrWhiteSpace(skill.Paths)))
.OrderBy(skill => skill.Name, StringComparer.OrdinalIgnoreCase)
.ToList();
var autoSkills = SkillService.GetAutoSkills(_activeTab).ToList();
var directSkills = skills
.Where(skill => skill.IsAvailable && skill.UserInvocable && string.IsNullOrWhiteSpace(skill.Paths))
.Where(skill => skill.IsAvailable
&& skill.UserInvocable
&& !autoSkills.Any(autoSkill => string.Equals(autoSkill.Name, skill.Name, StringComparison.OrdinalIgnoreCase)))
.OrderBy(skill => skill.Name, StringComparer.OrdinalIgnoreCase)
.ToList();
@@ -3652,7 +3651,7 @@ public partial class ChatWindow
if (llm.EnableSkillSystem)
{
SkillService.EnsureSkillFolder();
SkillService.LoadSkills(llm.SkillsFolderPath);
SkillService.LoadSkills(llm.SkillsFolderPath, GetCurrentWorkFolder());
UpdateConditionalSkillActivation(reset: true);
}