You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Implement Human-in-the-Loop CAPTCHA Handling for Web Research #206
Activity
feat(orchestrator): Implement custom success criteria checking (#201)
mrveiss commentedon Nov 29, 2025
Starting work on Issue #206 - Human-in-the-Loop CAPTCHA Handling for Web Research.
mrveiss commentedon Nov 29, 2025
Implementation Complete ✅
Implemented the human-in-the-loop CAPTCHA handling system for web research (commit c10731a).
Components Created:
1. Backend Service -
src/services/captcha_human_loop.pyCaptchaHumanLoopclass with singleton patternevent_manager.publish()2. REST API -
backend/api/captcha.pyPOST /api/captcha/{id}/resolve- Mark CAPTCHA as solvedPOST /api/captcha/{id}/skip- Skip and exclude sourceGET /api/captcha/pending- List pending CAPTCHAsGET /api/captcha/health- Service health check3. Updated Web Research Agent -
src/agents/advanced_web_research.pyCaptchaHumanLoopservice for human fallback4. Vue Component -
autobot-vue/src/components/research/CaptchaNotification.vueuseGlobalWebSocketAcceptance Criteria Status:
Ready for testing and final review.
mrveiss commentedon Nov 29, 2025
Enhancement: Automatic CAPTCHA Solving Added (commit a207443)
Added OCR-based automatic CAPTCHA solving as a first-attempt before human fallback:
New:
src/services/captcha_solver.pyUpdated:
src/services/captcha_human_loop.pyAUTO_SOLVEDstatus for tracking automatic solutionscaptcha_input_selectorfor automatic form fillingFlow:
This reduces manual intervention for simple text/math CAPTCHAs while maintaining reliability for complex challenges.
feat(captcha): Add human-in-the-loop CAPTCHA handling for web research (
feat(captcha): Add automatic OCR-based CAPTCHA solver with human fall…
feat(orchestrator): Implement custom success criteria checking (#201)
feat(captcha): Add human-in-the-loop CAPTCHA handling for web research (
feat(captcha): Add automatic OCR-based CAPTCHA solver with human fall…
mrveiss commentedon Jan 6, 2026
Verification Complete ✅
Verified the full CAPTCHA Human-in-the-Loop implementation. All components are properly integrated and working:
Acceptance Criteria Verification:
_detect_captcha()inadvanced_web_research.pywith multiple selectorscaptcha_detectedevent →CaptchaNotification.vuemark_captcha_resolved()triggers async event continuationcaptcha_timeoutWebSocket eventComponents Verified:
Backend Service (
src/services/captcha_human_loop.py)OCR Solver (
src/services/captcha_solver.py)API Endpoints (
backend/api/captcha.py)/api/captcha/{id}/resolve- Mark solved/api/captcha/{id}/skip- Skip source/api/captcha/pending- List pending/api/captcha/health- Service healthfeature_routers.pyVue Component (
autobot-vue/src/components/research/CaptchaNotification.vue)App.vueWebSocket Flow
event_manager.publish()→ WebSocket broadcast → Frontendon()listenercaptcha_detected,captcha_timeout,captcha_resolvedCode Review Summary:
timestampfield toCaptchaResolutionResponsemodelReady for Testing
The implementation is complete and ready for end-to-end testing with actual CAPTCHA scenarios.
fix(captcha): Add timestamp to response model and improve error loggi…
fix(captcha): move threading imports to top of file (#206)
mrveiss commentedon Feb 17, 2026
Final Verification & Closure ✅
All implementation from prior commits (e8c79a1, a1d9261, e1a901c) verified complete.
Linting Fix Applied (commit 2a60fe9):
import threadingto top ofcaptcha_human_loop.pyandcaptcha_solver.py(E402 violations)Acceptance Criteria - All Met:
_detect_captcha()with 8 selectors + keyword matchingcaptcha_detected→CaptchaNotification.vuemark_captcha_resolved()triggers async continuationcaptcha_timeoutWebSocket eventFiles Delivered:
autobot-user-backend/services/captcha_human_loop.py- Human-in-the-loop serviceautobot-user-backend/services/captcha_solver.py- OCR auto-solverautobot-user-backend/api/captcha.py- REST API (resolve/skip/pending/health)autobot-user-frontend/src/components/research/CaptchaNotification.vue- Vue UI componentinitialization/router_registry/feature_routers.pyfeat(ansible): add missing system packages to backend and npu-worker …