권한 기본값 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:
@@ -9,6 +9,20 @@ namespace AxCopilot.Tests.Services;
|
||||
|
||||
public class AppStateServiceTests
|
||||
{
|
||||
[Fact]
|
||||
public void LoadFromSettings_DefaultPermission_ShouldBeDeny()
|
||||
{
|
||||
var settings = new SettingsService();
|
||||
var state = new AppStateService();
|
||||
|
||||
state.LoadFromSettings(settings);
|
||||
|
||||
state.Permissions.FilePermission.Should().Be("Deny");
|
||||
var summary = state.GetPermissionSummary();
|
||||
summary.DefaultMode.Should().Be("Deny");
|
||||
summary.EffectiveMode.Should().Be("Deny");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void LoadFromSettings_ReflectsPermissionAndMcpSummary()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user