권한 규칙 호환성 확장: @/|/() 패턴 파싱 및 체인 회귀 강화
Some checks failed
Release Gate / gate (push) Has been cancelled
Some checks failed
Release Gate / gate (push) Has been cancelled
- AgentContext 권한 규칙 파서가 tool@pattern 외 tool|pattern, tool(pattern) 표기를 해석하도록 확장 - deny 우선순위 체인은 유지하면서 claw-code 계열 표기 차이로 인한 규칙 누락을 방지 - OperationModePolicyTests에 파이프/함수형 패턴 및 deny 우선 회귀 테스트 추가 - README/DEVELOPMENT에 2026-04-04 14:55(KST) 기준 이력 동기화
This commit is contained in:
@@ -3513,3 +3513,20 @@ else:
|
||||
### 4) 품질 게이트
|
||||
- `dotnet build src/AxCopilot/AxCopilot.csproj -c Debug -p:UseSharedCompilation=false -nodeReuse:false` 통과 (경고 0, 오류 0).
|
||||
- `dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj --filter "FullyQualifiedName~ContextCondenserTests|FullyQualifiedName~LlmRuntimeOverrideTests|FullyQualifiedName~OperationModePolicyTests|FullyQualifiedName~OperationModeReadinessTests|FullyQualifiedName~ChatWindowSlashPolicyTests"` 통과 (65 passed, 0 failed).
|
||||
|
||||
## 2026-04-04 추가 진행 기록 (연속 실행 36차: 권한 규칙 구문 호환성 확장)
|
||||
|
||||
업데이트: 2026-04-04 14:55 (KST)
|
||||
|
||||
### 1) 권한 패턴 파서 호환성 확장
|
||||
- `AgentContext`의 패턴 규칙 파서를 확장해 기존 `tool@pattern`과 함께 `tool|pattern`, `tool(pattern)` 표기도 허용.
|
||||
- 기존 deny 우선 평가 흐름은 유지하면서, claw-code 계열 표기 차이로 인한 규칙 미적용 케이스를 줄임.
|
||||
|
||||
### 2) 권한 체인 회귀 테스트 보강
|
||||
- `OperationModePolicyTests`에 케이스 추가:
|
||||
- `process|git *`, `process|git push *` 조합에서 allow/deny 우선순위 검증
|
||||
- `process(git *)`, `process(git push *)` 조합에서 dontask/deny 해석 검증
|
||||
|
||||
### 3) 품질 게이트
|
||||
- `dotnet build src/AxCopilot/AxCopilot.csproj -c Debug -p:UseSharedCompilation=false -nodeReuse:false` 통과 (경고 0, 오류 0).
|
||||
- `dotnet test src/AxCopilot.Tests/AxCopilot.Tests.csproj --filter "FullyQualifiedName~OperationModePolicyTests|FullyQualifiedName~PermissionModeCatalogTests|FullyQualifiedName~PermissionModePresentationCatalogTests"` 통과 (45 passed, 0 failed).
|
||||
|
||||
Reference in New Issue
Block a user