AX Agent 메모리 구조 4차 강화: 외부 include 보안 정책과 설정 추가
Some checks failed
Release Gate / gate (push) Has been cancelled
Some checks failed
Release Gate / gate (push) Has been cancelled
- 메모리 내용 관리는 /memory 도구로 유지하고, 외부 include 허용 여부만 설정에서 제어하도록 구조를 분리함 - AllowExternalMemoryIncludes 설정과 UI 토글을 추가해 홈 경로/절대 경로/프로젝트 밖 상대 include를 기본 차단하고 필요 시에만 허용하도록 정리함 - AgentMemoryService가 include 해석 시 프로젝트 경계와 설정값을 함께 검사해 claw-code와 유사한 안전 정책을 따르도록 보강함 - 검증: 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:
@@ -999,6 +999,10 @@ public class LlmSettings
|
||||
[JsonPropertyName("maxMemoryEntries")]
|
||||
public int MaxMemoryEntries { get; set; } = 100;
|
||||
|
||||
/// <summary>프로젝트 바깥 메모리 include 허용. 기본 false.</summary>
|
||||
[JsonPropertyName("allowExternalMemoryIncludes")]
|
||||
public bool AllowExternalMemoryIncludes { get; set; } = false;
|
||||
|
||||
// ─── 이미지 입력 (멀티모달) ──────────────────────────────────────────
|
||||
|
||||
/// <summary>이미지 입력(Ctrl+V 붙여넣기, 파일 첨부) 활성화. 기본 true.</summary>
|
||||
|
||||
Reference in New Issue
Block a user