diff --git a/docs/devlog/2026-03-10.md b/docs/devlog/2026-03-10.md index 2addb0c..bfad0cc 100644 --- a/docs/devlog/2026-03-10.md +++ b/docs/devlog/2026-03-10.md @@ -7,3 +7,5 @@ | 003 | 12:30~13:30 | 3버튼 UI + Run 중복 필터 + dedup + 인자 값 표시 | `14d2acf`~`47dbd38` | ✅ | | 004 | 13:30~13:55 | auto_resolved 동기화 + expired 카드 업데이트 + DOM step_index | `048ffd9` | ✅ | | 005 | 13:55~14:10 | #253 전체 대화 릴레이 — 사용자 메시지 + 에러 알림 | `17dd665`~`b500120` | ✅ | +| 006 | 14:00~15:00 | Discord 에코필터 + 리로드 재전송 방지 + diff review 알림 | `82b727a`~`8fbf6bf` | ✅ | +| 007 | 15:00~15:55 | step_type 패스스루 체인 수정 + file_permission 자동감지 | `7982263`~`d1586c5` | ✅ | diff --git a/docs/devlog/entries/20260310-006.md b/docs/devlog/entries/20260310-006.md new file mode 100644 index 0000000..46b002b --- /dev/null +++ b/docs/devlog/entries/20260310-006.md @@ -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 원격 실행 — 실제 에러 발생 시 테스트 예정 diff --git a/tmp_test_review.md b/tmp_test_review.md index e0fbf68..774bece 100644 --- a/tmp_test_review.md +++ b/tmp_test_review.md @@ -10,3 +10,4 @@ - 5차 수정: 진단 로그 추가 — step_type 확인 (15:25) - 6차 수정: 기본 콜백 step_type 최종 테스트 (15:31) - 7차 수정: dirty doc 포커스 + Accept all 테스트 (15:35) +- 8차 수정: file_permission 자동 감지 + 라우팅 수정 테스트 (15:51)