fix(bridge): stall-based approval detection + known issues from deep debugging

- IDLE→stall detection: RUNNING+delta=0 for 6 polls (30s)
- lastModifiedTime-based thinking filter (partial)
- ResolveOutstandingSteps confirmed CANCELS steps (removed)
- HandleCascadeUserInteraction always socket hang up (removed)
- VS Code accept commands: silent success, no effect
- Hybrid approval: focus+all commands sequential, no break
- logToFile: console.log backup added
- Known issues: 4 critical findings documented
- better-antigravity reference added for future research
This commit is contained in:
2026-03-08 14:38:41 +09:00
parent 2574ce6f08
commit c97414cd37
23 changed files with 3516 additions and 280 deletions

View File

@@ -13,3 +13,4 @@
| 9 | 07:50 | SDK EventMonitor 제거 — ERR_CONNECTION_REFUSED 원인 차단 (-404 lines) | `f6ae9c8` | ✅ |
| 10 | 08:00 | GetCascadeTrajectorySteps 완전 제거 + stall-based WAITING 감지 | `9b9c9c7` | ✅ |
| 11 | 08:10 | Stall 감지 calibration + VS Code 명령어 기반 승인 핸들러 | `f1f9a0b` | 🔧 |
| 12 | 11:30~14:35 | 승인 로직 정밀 디버깅: IDLE→stall 전환, lastModifiedTime 구분, RPC/Commands 전수 테스트, ResolveOutstandingSteps cancel 발견 | - | 🔧 |

View File

@@ -0,0 +1,14 @@
# Discord Bridge 승인 로직 정밀 디버깅
- **시간**: 2026-03-08 11:30~14:35
## 결정 사항
- IDLE 기반 감지 → stall 기반 (RUNNING+delta=0) 전환
- `ResolveOutstandingSteps` → step cancel 발견 → 제거
- VS Code accept commands → 무효과 (webview focus 의존) → OS 레벨 필요
## 미완료
- Accept 프로그래밍: OS 레벨 UI Automation 접근 필요
- Thinking/생성 중 false stall: 추가 discriminator 필요