권한 기본값 Deny 정렬: 초기 정책/상태/슬래시 가이드 일치
Some checks failed
Release Gate / gate (push) Has been cancelled
Some checks failed
Release Gate / gate (push) Has been cancelled
- AppSettings 기본 권한(FilePermission, DefaultAgentPermission)을 Deny로 변경 - AppStateService 권한 상태/요약 기본값을 Deny로 동기화 - /permissions,/allowed-tools 사용법 문구를 none|passive|active|plan|fullauto|silent 체계로 정리 - AppStateServiceTests 추가 및 빌드/회귀 테스트/문서 이력(2026-04-04 15:02 KST) 반영
This commit is contained in:
@@ -3553,3 +3553,34 @@ 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~PermissionModeCatalogTests|FullyQualifiedName~OperationModePolicyTests|FullyQualifiedName~ChatWindowSlashPolicyTests"` 통과 (88 passed, 0 failed).
|
||||
|
||||
## 2026-04-04 추가 진행 기록 (연속 실행 38차: 권한 기본값 정책 정렬)
|
||||
|
||||
업데이트: 2026-04-04 15:02 (KST)
|
||||
|
||||
### 1) 권한 기본값을 Deny로 정렬
|
||||
- `AppSettings.LlmSettings`의 기본값을 변경:
|
||||
- `FilePermission`: `Default` → `Deny`
|
||||
- `DefaultAgentPermission`: `Default` → `Deny`
|
||||
- 목적: 신규 설치/초기 상태에서 요청하신 기본 정책(활용하지 않음)으로 시작.
|
||||
|
||||
### 2) 앱 상태 기본값 동기화
|
||||
- `AppStateService.PermissionPolicyState.FilePermission` 기본값을 `Deny`로 변경.
|
||||
- `AppStateService.PermissionSummaryState` 기본값(`EffectiveMode`, `DefaultMode`)도 `Deny`로 변경.
|
||||
|
||||
### 3) Slash 권한 사용 가이드 문구 정렬
|
||||
- `/permissions`, `/allowed-tools`의 사용법 문구를 실사용 별칭 기준으로 정리:
|
||||
- `none|passive|active|plan|fullauto|silent|status`
|
||||
|
||||
### 4) 회귀 테스트 보강
|
||||
- `AppStateServiceTests`에 신규 테스트 추가:
|
||||
- `LoadFromSettings_DefaultPermission_ShouldBeDeny`
|
||||
- 검증 범위:
|
||||
- `AppStateServiceTests`
|
||||
- `PermissionModeCatalogTests`
|
||||
- `ChatWindowSlashPolicyTests`
|
||||
- `OperationModePolicyTests`
|
||||
|
||||
### 5) 품질 게이트
|
||||
- `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~AppStateServiceTests|FullyQualifiedName~PermissionModeCatalogTests|FullyQualifiedName~ChatWindowSlashPolicyTests|FullyQualifiedName~OperationModePolicyTests"` 통과 (132 passed, 0 failed).
|
||||
|
||||
Reference in New Issue
Block a user