docs: devlog entries 006-007 (diff review relay, step_type passthrough, file_permission auto-detect)
This commit is contained in:
24
docs/devlog/entries/20260310-006.md
Normal file
24
docs/devlog/entries/20260310-006.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Diff Review Relay + step_type 패스스루 + file_permission 자동감지
|
||||
|
||||
- **시간**: 2026-03-10 14:00~15:55
|
||||
- **Commit**: `c15b0f6`~`d1586c5`
|
||||
|
||||
## 결정 사항
|
||||
|
||||
### Diff Review 감지 방식: IDLE-time → 누적 추적
|
||||
- 처음에는 RUNNING→IDLE 전환 시 마지막 10 step을 조회했으나, AI가 파일 수정 후 compile/deploy/commit 등을 계속 진행해서 IDLE 시점에 파일 수정 step이 범위 밖
|
||||
- **해결**: 실시간 step scan에서 `TargetFile` in `argumentsJson`를 감지해 `pendingModifiedFiles[]`에 누적, IDLE 시 전체 목록으로 알림 생성 후 리셋
|
||||
|
||||
### step_type 패스스루 체인 (3중 버그)
|
||||
- **1차**: `UserResponse` 모델만 step_type 추가, `ApprovalRequest`에는 없음 → bot의 known-fields 필터가 strip
|
||||
- **2차**: bot의 기본 승인/거부 콜백에 step_type 누락 (multi-choice callback에만 있었음)
|
||||
- **3차**: step_probe가 toolName을 그대로 step_type으로 설정 (view_file → 일반 승인)
|
||||
- **해결**: `ApprovalRequest` + `UserResponse` 양쪽에 step_type 추가, 3개 기본 콜백에도 추가, step_probe에서 file-related tools 자동 감지
|
||||
|
||||
### Accept all 원격 실행 한계
|
||||
- `agentAcceptAllInFile`은 AG의 prioritized 명령어 → Extension Host에서 실행 OK하나 UI 포커스 조건 불충족으로 효과 없음
|
||||
- **보류**: 알림만 유지, 실제 Accept는 AG에서 직접 클릭
|
||||
|
||||
## 미완료
|
||||
- Accept all/Reject all 원격 실행 — AG prioritized 명령어 제약
|
||||
- Error retry 원격 실행 — 실제 에러 발생 시 테스트 예정
|
||||
Reference in New Issue
Block a user