From 7ca0bc0f1f6a062c9941d0859dba5863e5228236 Mon Sep 17 00:00:00 2001 From: Variet Worker Date: Mon, 16 Mar 2026 20:42:04 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20session=20end=20=E2=80=94=20known-issue?= =?UTF-8?q?s=202=EA=B1=B4=20(=EB=B3=91=EB=A0=AC=20step=20=EB=88=84?= =?UTF-8?q?=EB=9D=BD,=20snapshot=20=EB=A1=9C=EA=B9=85)=20+=20devlog=20#007?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .agents/references/known-issues.md | 11 +++++++++++ docs/devlog/2026-03-16.md | 1 + 2 files changed, 12 insertions(+) diff --git a/.agents/references/known-issues.md b/.agents/references/known-issues.md index 5a0ef45..76def9b 100644 --- a/.agents/references/known-issues.md +++ b/.agents/references/known-issues.md @@ -604,3 +604,14 @@ - **해결**: Extension의 `!auto` command handler에서 `writeChatSnapshot()` echo 제거 (v0.3.16). Bot의 embed 1개만 표시 - **주의**: Extension 측 `autoApproveEnabled` 변수는 여전히 정상 토글됨 (로그에 기록). 단, Bot 재시작 시 `auto_approve_projects` set은 초기화되므로 Extension은 auto 상태여도 Bot이 auto-approve를 실행하지 않음 → 사실상 수동 모드로 복귀 +### [2026-03-16] 병렬 WAITING step 누락 — step_probe break문 +- **증상**: AG가 병렬 tool call(예: run_command 3개)를 동시 실행 시 Discord에 1개만 승인 요청 도착, 나머지는 AG UI에만 표시 +- **원인**: `extension.ts` step_probe 루프(L2082-2134)에서 `break`문이 첫 번째 WAITING step 처리 후 루프 종료. 나머지 병렬 WAITING step은 pending 생성 안 됨. offset retry 루프(L2029-2071)에도 동일 `break` 존재 +- **해결**: `break` 제거하여 모든 WAITING step에 pending 생성. `lastPendingStepIndex`는 가장 큰 index로만 갱신. 중복 방지는 `writePendingApproval`의 `recentPendingSteps` Map이 처리 +- **주의**: 병렬 pending이 동시에 생성되면 Bot이 여러 auto-approve를 거의 동시에 처리. Collector의 polling 주기(5초)와 Extension의 response watcher(3초) 사이 타이밍 이슈 가능 + +### [2026-03-16] Bot chat_snapshot 전송 성공/실패 로깅 부재 +- **증상**: Discord에 chat snapshot이 전달됐는지 Bot 로그에서 확인 불가. 전송 성공 시 아무 로그 없음 +- **원인**: `bot.py` `chat_snapshot_scanner`(L895-988)에서 `channel.send()` 성공 후 INFO 로그 없음. 실패 시 `discord.NotFound`만 catch하고 일반 Exception은 catch 안 함 +- **해결**: 전송 성공 시 `[SNAPSHOT] Sent to #채널명 (inline/file, N chars)` INFO 로그 추가. `Exception` catch도 추가하여 `[SNAPSHOT] Discord send failed` ERROR 로그 출력 +- **주의**: `_get_channel()` 실패 시 `[SNAPSHOT] No Discord channel` WARNING은 이전에도 있었으나, channel이 정상이면 아무 단서 없었음 diff --git a/docs/devlog/2026-03-16.md b/docs/devlog/2026-03-16.md index 27a5b93..4105349 100644 --- a/docs/devlog/2026-03-16.md +++ b/docs/devlog/2026-03-16.md @@ -8,3 +8,4 @@ | 004 | 17:05~18:00 | AG 소스 역분석 — `AcknowledgeCascadeCodeEdit`→`acknowledgeCodeActionStep` 메서드명 오류 발견 + v0.3.14 3단계 전략 배포 + known-issues 2건 업데이트 | `5a1d4f0` | ✅ | | 005 | 18:13~18:43 | v0.3.14 E2E 테스트 → RPC 3개 전략 모두 실패 확인 + v0.3.15 agentAcceptAllInFile 전환 배포 + known-issues 업데이트 | `0fdf668` | ✅ | | 006 | 18:47~19:09 | v0.3.15 diff_review E2E 2회 성공 + 이중 승인 수정 + IDLE 종료 알림 + !auto 이중 메시지 수정 (v0.3.16) + known-issues 2건 | `3cd7122` | ✅ | +| 007 | 19:17~20:38 | Discord 알림 누락 디버깅 — Bot snapshot 로깅 추가 + 병렬 WAITING step break 제거 + 서버 Docker 재배포 3회 + known-issues 2건 | `7f079a5` | ✅ |