권한 기본값 Deny 정렬: 초기 정책/상태/슬래시 가이드 일치
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:
2026-04-04 15:03:22 +09:00
parent 68d49b8835
commit 73a4111100
6 changed files with 77 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ public sealed class AppStateService
public sealed class PermissionPolicyState
{
public string FilePermission { get; set; } = "Default";
public string FilePermission { get; set; } = "Deny";
public string AgentDecisionLevel { get; set; } = "detailed";
public string PlanMode { get; set; } = "off";
public int ToolOverrideCount { get; set; }
@@ -70,8 +70,8 @@ public sealed class AppStateService
public sealed class PermissionSummaryState
{
public string EffectiveMode { get; init; } = "Ask";
public string DefaultMode { get; init; } = "Ask";
public string EffectiveMode { get; init; } = "Deny";
public string DefaultMode { get; init; } = "Deny";
public int OverrideCount { get; init; }
public string RiskLevel { get; init; } = "normal";
public string Description { get; init; } = "";