코드 탭은 컨텍스트만 claude-code식으로 두고 품질 게이트를 AX 기준으로 복원한다
- balanced와 reasoning_first 프로필에서 post-tool verification을 다시 활성화해 일반 코드 수정에도 후속 검증이 붙도록 조정 - bugfix/feature/refactor 작업에 구조화된 최종 보고 게이트를 다시 적용하고 Code 시스템 프롬프트의 VERIFY/REPORT 기준을 더 강하게 복원 - README와 DEVELOPMENT 문서 이력을 2026-04-13 00:08 KST 기준으로 갱신 - 검증: dotnet build src/AxCopilot/AxCopilot.csproj -c Release -v minimal -p:OutputPath=bin\\verify\\ -p:IntermediateOutputPath=obj\\verify\\ 경고 0 / 오류 0
This commit is contained in:
@@ -153,8 +153,15 @@ public partial class AgentLoopService
|
||||
var highImpactCodeChange = IsHighImpactCodeModification(ActiveTab ?? "", call.ToolName, result);
|
||||
var hasDiffEvidence = HasDiffEvidenceAfterLastModification(messages);
|
||||
var hasRecentBuildOrTestEvidence = HasBuildOrTestEvidenceAfterLastModification(messages);
|
||||
var isCodeModification = call.ToolName is "file_edit" or "file_write" or "file_manage" or "script_create";
|
||||
|
||||
if (!highImpactCodeChange || (hasDiffEvidence && hasRecentBuildOrTestEvidence))
|
||||
if (!isCodeModification)
|
||||
return false;
|
||||
|
||||
if (highImpactCodeChange && hasDiffEvidence && hasRecentBuildOrTestEvidence)
|
||||
return false;
|
||||
|
||||
if (!highImpactCodeChange && (hasDiffEvidence || hasRecentBuildOrTestEvidence))
|
||||
return false;
|
||||
|
||||
await RunPostToolVerificationAsync(messages, call.ToolName, result, context, ct);
|
||||
|
||||
@@ -98,7 +98,9 @@ public partial class AgentLoopService
|
||||
var hasBlockingCodeEvidenceGap = !(requireHighImpactCodeVerification ? hasCodeVerificationEvidence : hasLightweightCompletionEvidence)
|
||||
|| (requireHighImpactCodeVerification && !hasSuccessfulBuildAndTestEvidence);
|
||||
var shouldRequestStructuredFinalReport =
|
||||
taskPolicy.IsReviewTask || requireHighImpactCodeVerification;
|
||||
taskPolicy.IsReviewTask
|
||||
|| requireHighImpactCodeVerification
|
||||
|| taskPolicy.TaskType is "bugfix" or "feature" or "refactor";
|
||||
if (executionPolicy.FinalReportGateMaxRetries > 0
|
||||
&& shouldRequestStructuredFinalReport
|
||||
&& !hasBlockingCodeEvidenceGap
|
||||
|
||||
@@ -61,7 +61,7 @@ public static class ModelExecutionProfileCatalog
|
||||
DocumentPlanRetryMax: 0,
|
||||
PreferAggressiveDocumentFallback: false,
|
||||
ReduceEarlyMemoryPressure: true,
|
||||
EnablePostToolVerification: false,
|
||||
EnablePostToolVerification: true,
|
||||
EnableCodeQualityGates: true,
|
||||
EnableDocumentVerificationGate: false,
|
||||
EnableParallelReadBatch: true,
|
||||
@@ -87,7 +87,7 @@ public static class ModelExecutionProfileCatalog
|
||||
DocumentPlanRetryMax: 2,
|
||||
PreferAggressiveDocumentFallback: false,
|
||||
ReduceEarlyMemoryPressure: false,
|
||||
EnablePostToolVerification: false,
|
||||
EnablePostToolVerification: true,
|
||||
EnableCodeQualityGates: true,
|
||||
EnableDocumentVerificationGate: true,
|
||||
EnableParallelReadBatch: true,
|
||||
|
||||
@@ -254,7 +254,9 @@ public partial class ChatWindow
|
||||
sb.AppendLine("3. IMPLEMENT: Apply the smallest safe edit. Use file_edit for existing files and file_write for new files.");
|
||||
sb.AppendLine("4. VERIFY: Run build_run/test_loop when the change affects buildable or testable behavior, or when the user explicitly asks for verification.");
|
||||
sb.AppendLine(" - Use git_tool(diff) when it helps confirm the final change set or explain what changed.");
|
||||
sb.AppendLine("5. REPORT: Summarize what changed and what was verified. Mention remaining risk only when something is actually unresolved, especially for review or high-impact changes.");
|
||||
sb.AppendLine(" - After editing code, do not stop until you have enough evidence from file_read, diff, build_run, or test_loop.");
|
||||
sb.AppendLine("5. REPORT: Summarize what changed, which files/callers were affected, and what verification evidence was collected.");
|
||||
sb.AppendLine(" - For bugfix/feature/refactor tasks, keep the final report structured and concrete rather than minimal.");
|
||||
|
||||
sb.AppendLine("\n## Development Environment");
|
||||
sb.AppendLine("Use dev_env_detect to check installed IDEs, runtimes, and build tools before running commands.");
|
||||
|
||||
Reference in New Issue
Block a user