Files
AX-Copilot-Codex/src/AxCopilot/Views/ChatWindow.TranscriptPolicy.cs
lacvet 36828ba199
Some checks failed
Release Gate / gate (push) Has been cancelled
AX Agent transcript 품질 향상과 회귀 기준 정리
- 도구/스킬 transcript 표시 카탈로그를 분리해 파일, 빌드, Git, 문서, 질문, 제안, 스킬 분류를 공통 라벨로 통일함
- task summary popup을 active 우선, recent/debug 보조 기준으로 축소하고 transcript policy helper를 partial로 분리함
- AX Agent와 claw-code 비교용 회귀 프롬프트 세트를 별도 문서로 추가하고 관련 개발 문서를 즉시 갱신함
- 검증: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify\\ -p:IntermediateOutputPath=obj\\verify\\ (경고 0 / 오류 0)
2026-04-05 19:20:05 +09:00

27 lines
1.1 KiB
C#

using System.Windows.Media;
using AxCopilot.Services;
using AxCopilot.Services.Agent;
namespace AxCopilot.Views;
public partial class ChatWindow
{
private bool IsDebugTranscriptMode()
=> string.Equals(_settings.Settings.Llm.AgentLogLevel, "debug", StringComparison.OrdinalIgnoreCase);
private string GetTranscriptBadgeLabel(AgentEvent evt)
=> AgentTranscriptDisplayCatalog.GetEventBadgeLabel(evt);
private string GetTranscriptTaskCategory(TaskRunStore.TaskRun task)
=> AgentTranscriptDisplayCatalog.GetTaskCategoryLabel(task.Kind, task.Title);
private string GetTranscriptDisplayName(string? rawName, bool slashPrefix = false)
=> AgentTranscriptDisplayCatalog.GetDisplayName(rawName, slashPrefix);
private string GetTranscriptEventSummary(AgentEvent evt, string displayName)
=> AgentTranscriptDisplayCatalog.BuildEventSummary(evt, displayName);
private bool ShouldIncludeRecentTaskSummary(IReadOnlyCollection<TaskRunStore.TaskRun> activeTasks)
=> IsDebugTranscriptMode() || activeTasks.Count == 0;
}