Variet Worker
139ad3ee93
fix(extension): Retry auto-approve 흐름 복구 + Observer 형제 탐색 + thinking 필터링 (v0.5.79)
...
- WS response 파일에 _from_ws 마커 추가하여 processResponseFile 삭제 방지
- extractContextFromNearby에 sibling 탐색 추가 (AG Native DOM 구조 대응)
- thinking 블록 (max-h-[200px]) 필터링으로 내부 사고 릴레이 차단
- DOM 탐색 depth 5→10 확대 + pre.font-mono 우선 탐색
- 사용자 메시지 셀렉터 (.select-text.rounded-lg) 추가
2026-04-19 03:46:39 +09:00
Variet Worker
7ade31e4cf
fix(bridge): v16 terminal output filter + v15 stale LS auto-fix + heartbeat probe (v0.5.50) #task-619
...
- http-bridge v16: Block terminal OUTPUT as enriched cmd — if description has no prompt marker (> » $ #), it's stdout from code block, not an actual command. Prevents 'No extension.log found' etc. from reaching Discord.
- step-probe v15: Stale LS auto-detection — if all sessions are >5min old, periodically retry fixLSConnection(). Heartbeat probe every 10 polls to detect step changes when summary API returns frozen stepCount.
- extension.ts v15: fixLSConnection() fallback — match LS processes without --workspace_id (common after AG restart)
2026-04-16 04:58:05 +09:00
Variet Worker
072f83bf25
refactor(bridge): migrate gravity bridge to pure websocket gateway architecture, deleting legacy local file scanners and dependencies
2026-04-11 13:06:38 +09:00
Variet Worker
2eb1fbb6b7
fix(pipeline): resolve SafeToAutoRun deadlock and sync freezing (v0.5.20) ( #589 )
2026-04-08 07:30:33 +09:00
Variet Worker
f13bcc871c
fix(ext): v0.5.8 false positive zombie socket disconnect bug resolve (timestamp replace setTimeout)
2026-03-24 07:00:43 +09:00
Variet Worker
ecebec3906
fix(bridge): resolve websocket zombie connection and bounding memory leaks
2026-03-23 21:11:52 +09:00
Variet Worker
5aad82c727
fix(ext+hub): v0.5.2 Idle→Resume 신호 소실 3중 버그 수정 — auth_fail 재연결 + pending_owners 보존 + step-probe 리셋
2026-03-21 10:51:02 +09:00
Variet Worker
e7631177f8
refactor(cleanup): v0.5.0 Collector 제거 + dead code 정리 + HttpBridgeContext 버그 수정
...
- DELETE collector.py (523줄)
- main.py: BOT_MODE=remote 분기 제거
- gateway.py: Collector REST 6개 endpoint 제거 (311→168줄)
- bridge.py: RemoteTransport 제거 (480→270줄)
- config.py: REMOTE_BRIDGE_URL 제거
- extension.ts: dead code 4개 + stale module vars 제거
- step-probe.ts: getStepProbeContext() 추가, autoApproveEnabled 제거
- FIX: HttpBridgeContext stale primitive (getter 패턴으로 수정)
- ADD: extension.log rotation (10MB→2MB tail)
- docs: architecture.md, tech-stack.md, known-issues.md 업데이트
2026-03-18 11:08:59 +09:00
Variet Worker
4a5521dcc3
docs: devlog #006 + known-issues !stop stale primitive update #task-410
2026-03-18 09:20:07 +09:00
Variet Worker
07bbb626a6
docs: devlog #005 + known-issues !stop root cause update + Vikunja #411 done
2026-03-18 08:22:10 +09:00
Variet Worker
d8eac80b2f
fix(ext): !stop CancelCascadeInvocation RPC — AG 빨간■ 동일 메커니즘 적용 #task-411
2026-03-18 07:16:57 +09:00
Variet Worker
47cc838d9d
fix(ext,bot): Accept All WS regression + auto_approve dual-write — VSIX v0.4.5
2026-03-17 21:01:24 +09:00
Variet Worker
0da6291d98
chore(extension): bump to v0.4.4 - dual delivery fix + echo dedup
2026-03-17 20:36:27 +09:00
Variet Worker
2eea5fa638
fix(ext): WS response → tryApprovalStrategies 직접 호출 (파일 경유 제거)
2026-03-17 17:43:45 +09:00
Variet Worker
1bb54eb820
docs: devlog #012 + known-issues 3건 + VSIX v0.4.3 빌드 아티팩트
2026-03-17 10:48:09 +09:00
Variet Worker
5f795b9a91
refactor(extension): 모듈 분리 + Hub 통합 테스트 #task-395
...
- extension.ts 3,446→1,289줄 (-63%)
- step-probe.ts (1,435줄): setupMonitor, processResponseFile, tryApprovalStrategies
- observer-script.ts (687줄): DOM observer script
- ws-client.ts (390줄): WSBridgeClient
- step-utils.ts (114줄): step 파싱 유틸
- auth.py (115줄): JWT + registration code
- hub.py (581줄): WSHub + per-client queue
- Hub WS 연동 테스트 통과 (auth, chat, register)
- VSIX v0.4.0 빌드
2026-03-17 06:41:42 +09:00
Variet Worker
7f079a56a0
fix: process ALL parallel WAITING steps instead of only first one
...
step_probe break statement caused only one WAITING step to get
a pending file when AG runs multiple parallel tool calls.
Now iterates all WAITING steps and creates pending for each.
2026-03-16 20:36:41 +09:00
Variet Worker
412c212c6e
fix(extension): v0.3.16 — diff_review duplicate approval filter + IDLE notification + !auto echo removal
2026-03-16 19:14:43 +09:00
Variet Worker
0fdf668abc
fix(extension): diff_review use agentAcceptAllInFile instead of dead RPC strategies (v0.3.15)
2026-03-16 18:43:04 +09:00
Variet Worker
5a1d4f0b0c
fix(extension): acknowledgeCodeActionStep RPC discovery + v0.3.14 3-tier strategy
2026-03-16 18:11:20 +09:00
Variet Worker
82461bc3fc
fix(extension): diff_review RPC parameter experiment — 4 format variants (A/B/C/D) + known-issues update
2026-03-16 16:59:58 +09:00
Variet Worker
9ef2c3f07c
fix(extension): diff_review steps=[] race condition — in-memory metadata cache (v0.3.13)
...
Root cause: Collector deletes pending file before Extension reads edit_step_indices.
Fix: diffReviewMetadata Map caches step indices in Extension memory.
Known issue added. Devlog entry 003.
2026-03-16 16:09:42 +09:00
Variet Worker
f302984721
fix(extension): diff_review 2-strategy deploy + 8s pending delay
...
- Deploy AcknowledgeCascadeCodeEdit RPC strategy (was in source but never compiled)
- Add 8s setTimeout delay for diff_review pending (AI response arrives on Discord first)
- Capture closure variables for delayed pending creation safety
- known-issues: diff_review pending ordering fix
2026-03-16 14:22:41 +09:00
Variet Worker
d521dd5fa3
fix(extension): step_type mapping bug + diff_review handler refactor
...
- Separate read tools (file_permission) from write tools (code_edit)
- write_to_file/replace_file_content now use AcknowledgeCascadeCodeEdit RPC
- diff_review: 2-strategy approach (RPC first, openReviewChanges fallback)
- Track modified_files and edit_step_indices in diff_review pending
- known-issues: 3 new entries (pending accumulation, step_type bug, isDirty failure)
2026-03-16 13:52:02 +09:00
Variet Worker
2d9fe964f6
fix(bridge): v0.3.12 approval state management — sawRunningAfterPending gate + approval-flow.md system doc
...
- processResponseFile: set sawRunningAfterPending=true instead of removing resets
(prevents infinite pending loop AND known-issues L479 auto_resolve regression)
- Hoist sawRunningAfterPending to module level for cross-function access
- Add recentPendingSteps memory dedup Map (60s TTL) for file-deletion resilience
- Create docs/approval-flow.md: complete system flow guide with state diagram
- Update known-issues.md: 2 new entries (state reset fix, memory dedup)
2026-03-16 11:11:50 +09:00
c9f44afcf1
fix(bridge): system audit + 5-file bug fix — PATS Deny trigger removal, auto_resolved chat dedup, UUID filenames, IP rate limit leak, bot.py deque
2026-03-15 23:01:20 +09:00
5e5f515db4
fix(bridge): auto-approve crash — DOM observer Deny filter + bot reject-word guard + AGENT rule
2026-03-15 18:49:58 +09:00
6739f8f30c
fix(bridge): v0.3.11 approval flow architecture fix — eliminate double-fire auto-approve, strip 30+ failed RPC strategies, add project_name DEDUP guard
...
- Remove Extension-side auto-approve (was double-firing with Bot auto-approve)
- Strip failed strategies 0A-1 from tryApprovalStrategies (~150 lines)
- Keep only Strategy 0-PROTO (proto RPC) + Strategy 2 (clickTrigger)
- Add bot.py AUTO-RESOLVED logging for diagnostics
- Update known-issues with 3 new entries
- Clean deployment: v0.3.8→v0.3.10→v0.3.11
2026-03-15 17:11:38 +09:00
75289b3ec5
docs: update devlog with perf optimization entry + compiled output
2026-03-15 10:54:24 +09:00
40e3cd550f
fix(bridge): 5 bug fixes for approval signal drop and Discord relay
...
- DEDUP: add conversation_id guard to prevent cross-session step_index collision
- step_probe: suppress pending when projectName=default (empty window)
- watchCommandsDir: add 3s polling fallback (fs.watch silent fail on Windows)
- auto toggle: write chat_snapshot confirmation back to Discord
- bot on_message: add message ID dedup for Gateway event replay
2026-03-15 08:18:26 +09:00
Variet Worker
e5a05e3ac4
feat(bot/extension/watcher): Discord 아티팩트 알림 개선 — 파일 첨부 전송, truncation 확대, 동적 .md 감시
2026-03-13 09:46:56 +09:00
Variet Worker
71f2a269f0
docs: devlog #003 추가 — workbench.html 크로스 복원 CSS 수정 (직전 세션 기록 복구)
2026-03-12 18:09:52 +09:00
Variet Worker
a9feee6faa
fix(extension): workbench.html 0-byte 파괴 방지 — pre-read/pre-write 안전 가드 추가
2026-03-12 17:05:29 +09:00
Variet Worker
6dbbb57fa7
feat(gateway): Docker Gateway 봇 + HTTP API 구현 #task-311
...
- gateway.py: Collector↔Gateway HTTP API (pending, response, chat, register, commands)
- Dockerfile + docker-compose.yml: BOT_MODE=gateway, port 8585
- main.py: gateway 모드 (watcher 비활성, GatewayAPI 시작)
- config.py: gateway 모드 BRAIN_PATH 검증 스킵
- requirements.txt: aiohttp 추가
- docs/usage-guide.md: Docker 배포 섹션 추가
- Extension VSIX v0.3.9 빌드 (auto-approve 포함)
2026-03-11 19:38:26 +09:00
Variet Worker
1696a2976b
fix(config,extension): BRAIN_PATH 빈문자열 버그 + 크로스프로젝트 DEDUP MERGE 수정
...
- config.py: os.getenv BRAIN_PATH 빈값 시 CWD 해석 → or 패턴으로 수정
- extension.ts: writePendingApproval DEDUP에 project_name 가드 3곳 추가
- extension.ts: HTTP /pending file_permission dedup에도 project_name 가드
- known-issues: 2건 추가 (BRAIN_PATH, DEDUP MERGE)
- devlog: 2026-03-11 생성
2026-03-11 09:36:55 +09:00
a0d46f1ff3
fix(extension): SDK LS 대소문자 매칭 버그 수정 — fixLSConnection() 추가 (멀티프로젝트 신호 누락 해결)
2026-03-10 22:51:02 +09:00
4d780ec5e7
docs: devlog 013 + known-issues (Reload Window stale session, RUNNING 우선 선택, IDLE 채널)
2026-03-10 22:21:32 +09:00
08c5cb461b
docs: devlog 011 + known-issues (workspace URI 세션 격리)
2026-03-10 19:33:39 +09:00
c9524fc8a8
fix(extension): v0.3.7 — file_permission 3-button 주입 + active_project.lock 제거
...
- writePendingApproval()에서 step_type=file_permission일 때 자동 3-button 주입
- active_project.lock 메커니즘 제거 (멀티 프로젝트 동시 사용 지원)
- step_probe auto-resolve에 project_name 필터 추가
- known-issues 2건 추가
2026-03-10 18:48:51 +09:00
95d4f854f5
fix: skip stale timeout responses (>2min old reject) to prevent phantom REJECT duplicates
2026-03-10 17:23:47 +09:00
186875ad0b
feat: single active project lock — warns if another project already connected to Discord
2026-03-10 17:13:20 +09:00
d1586c5e97
fix: auto-detect file_permission for file-related tools in step_probe + always check cmd for allow
2026-03-10 15:50:01 +09:00
4dcb78c1ce
fix: focus dirty files before executing agentAcceptAllInFile command
2026-03-10 15:34:37 +09:00
0470c03ab3
fix: add step_type to default approve/reject/timeout callbacks (not just multi-choice)
2026-03-10 15:29:55 +09:00
7982263fcd
fix: pass step_type through response file for diff_review routing
2026-03-10 15:02:24 +09:00
8fbf6bf6b7
fix: diff review uses cumulative file tracking instead of IDLE-time step scan
2026-03-10 14:44:16 +09:00
f8f9ce8f5f
fix: init lastUserInputStepIdx + lastResponseCaptureStep on session change (prevents stale replay)
2026-03-10 14:35:56 +09:00
82b727a1e6
fix: skip echo relay for Discord-origin user messages
2026-03-10 14:31:47 +09:00
c15b0f676f
feat: diff review Discord relay — Accept/Reject all via VS Code commands
2026-03-10 14:28:01 +09:00
b50012075e
feat: full conversation relay #253 — user messages + error notifications to Discord
2026-03-10 14:08:14 +09:00