Add REST API endpoints for submitting visual verification tasks,
tracking progress via SSE, and retrieving screenshot/video artifacts.
Changes:
- Add ScopeVerifyRead/ScopeVerifyWrite auth scopes
- Create VerifyService for task submission and lifecycle management
- Create VerifyHandler with POST/GET/DELETE/SSE endpoints:
- POST /verify - Submit capture task
- GET /verify/{taskId} - Get task status and artifacts
- GET /verify/{taskId}/stream - SSE progress stream
- DELETE /verify/{taskId} - Cancel pending task
- GET /projects/{id}/verify - List verify tasks
- Wire VerifyExecutor in main.go for Playwright pod execution
- Fix work.go validation to include "verify" task type
- Add comprehensive handler tests
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.8 KiB
2.8 KiB
AI Lookup Index
Quick reference for rdev concepts and facts.
| Topic | File | Confidence | Updated | Summary |
|---|---|---|---|---|
| Architecture | ||||
| Hexagonal Architecture | patterns/hexagonal.md | High | 2025-01 | Ports/adapters pattern, layer separation |
| Core Services | ||||
| Project Service | services/project-service.md | High | 2025-01 | Business logic for project operations |
| API Keys | services/api-keys.md | High | 2025-01 | Authentication, scopes, restrictions |
| Webhooks | services/webhooks.md | High | 2025-01 | Event subscriptions and delivery |
| Worker Infrastructure | ||||
| Work Queue | services/work-queue.md | High | 2025-01 | Task queue for worker pool |
| Worker Pool | services/worker-pool.md | High | 2026-01 | Embedded work executor with queue maintenance and metrics |
| External Health | services/external-health.md | High | 2026-02 | Background health monitoring of registry, CI, git |
| CI Provider | services/ci-provider.md | High | 2025-01 | Woodpecker auto-activation |
| DNS / Cloudflare | services/dns-cloudflare.md | High | 2026-01 | Domain management for threesix.ai |
| Template Provider | services/template-provider.md | High | 2025-01 | Project template seeding |
| Features | ||||
| Command Execution | features/command-execution.md | High | 2025-01 | Claude/shell/git command flow |
| SSE Streaming | features/sse-streaming.md | High | 2025-01 | Real-time output streaming |
| Infrastructure Management | features/infrastructure.md | High | 2025-01 | Gitea, Cloudflare, deployment |
| Build Orchestration | features/build-orchestration.md | High | 2026-01 | Bot-driven build specs with audit trail |
| Composable Monorepo | features/composable-monorepo.md | High | 2026-01 | Monorepo skeleton + component templates |
| SDLC | ||||
| SDLC Orchestration | services/sdlc.md | High | 2026-02 | Feature lifecycle, classifier engine, rdev API integration |
Roadmap Reference
See k3s-fleet/tmp/address-the-gaps.md for the full threesix.ai platform roadmap:
- Gap 1: Woodpecker Auto-Activation → CI Provider
- Gap 2: Project Templates → Template Provider
- Gap 3: Work Queue → Work Queue service
- Gap 4: Worker Pool Management → Worker Pool
- Gap 5: Bot Communication → Webhook callbacks
- Gap 6: Build Orchestration → Build service