docs: devlog 08 entries 8-11 (polling overhaul, stall detection, approval handler)
This commit is contained in:
29
docs/devlog/entries/20260308-004.md
Normal file
29
docs/devlog/entries/20260308-004.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# Discord Bridge — WAITING 감지 + 승인 핸들러 개선
|
||||
|
||||
- **시간**: 2026-03-08 07:30~08:15
|
||||
- **Commits**: `854f33b`, `f6ae9c8`, `9b9c9c7`, `f1f9a0b`
|
||||
- **Vikunja**: #253 진행중, #251 진행중
|
||||
|
||||
## 결정 사항
|
||||
|
||||
### GetAllCascadeTrajectories가 유일한 정답
|
||||
- `GetCascadeTrajectorySteps`: 775-step 하드 리밋, `startStepIndex` 무시 → **폐기**
|
||||
- `GetAllCascadeTrajectories`: stepCount 실시간, latestNotifyUserStep/latestTaskBoundaryStep 포함 → **PRIMARY**
|
||||
|
||||
### WAITING 감지: Stall Detection 패턴
|
||||
- WAITING 전용 RPC 없음 (GetCascadeOutstandingSteps 등 모두 불존재)
|
||||
- 해결: stepCount + lastModifiedTime 동시 동결 6회(30s) → pending 발행
|
||||
- `lastModifiedTime` 변화 시 "AI 처리 중"으로 판단 → false positive 차단
|
||||
|
||||
### 승인: RPC → VS Code 명령어
|
||||
- `HandleCascadeUserInteraction` → socket hang up (불안정)
|
||||
- `acceptAgentStep` → `command.accept` → `terminalCommand.run` 순차 시도
|
||||
|
||||
### ERR_CONNECTION_REFUSED
|
||||
- `AntigravityUnleashService` (workbench.desktop.main.js:4185) → Antigravity 자체 버그
|
||||
- SDK EventMonitor 제거로 Extension 발 에러 완전 차단
|
||||
|
||||
## 미완료
|
||||
- Stall detection threshold calibration (실사용 기반 조정)
|
||||
- VS Code 명령어 승인이 맞는 step을 accept하는지 검증
|
||||
- pending 중복 발생 방지 추가 테스트
|
||||
Reference in New Issue
Block a user