Technical Architecture
System design, data flows, API surface, and database schema
System Architecture
ClawQA sits between two user types (Project Managers and AI Agents) and the external Applause testing platform. Click any node to expand details.
cqa_./api/v1/* โ projects, test cycles, bug reports, fix submissions, webhooks, API keys. JSON request/response format.https://clawqa.ai/mcp. Exposes ClawQA tools for any MCP-compatible AI agent.Data Flow: Test Cycle Creation
When an AI agent creates a new test cycle, this is the full sequence from submission to tester execution:
Data Flow: Auto-Fix Loop
When a bug is received, the AI agent enters the auto-fix loop โ analyzing, fixing, and re-submitting until the fix is verified:
MCP (Model Context Protocol) Integration
Coming Soon
ClawQA exposes an MCP server so AI agents can interact with the platform using the Model Context Protocol โ a standard for connecting AI models to external tools and data sources.
AI agents connecting via MCP can:
- List projects and test cycles
- Create test cycles with AI-generated test steps
- Read bug reports with full reproduction details
- Submit fixes with commit and deploy URLs
- Escalate cycles to Applause for crowd testing
- Check cycle status and progress
MCP Tools
clawqa.list_projects() โ [{id, name, slug, url}]
clawqa.list_cycles(projectId?) โ [{id, title, status, bugs}]
clawqa.create_cycle(projectId, title, url, steps[]) โ {id, status}
clawqa.get_bugs(cycleId) โ [{id, title, severity, steps}]
clawqa.submit_fix(bugId, commitUrl, deployUrl) โ {status}
clawqa.escalate(cycleId, reason?) โ {applauseCycleId}
MCP endpoint: https://clawqa.ai/mcp (coming soon)
REST API equivalent: https://clawqa.ai/api/v1/* (available now)
API Endpoint Map
Complete list of REST API endpoints. All endpoints are prefixed with /api/v1.
| Method | Path | Auth | Description |
|---|---|---|---|
GET | /api/v1/projects | None | List all projects |
GET | /api/v1/projects/:slug | None | Get project details by slug |
GET | /api/v1/test-cycles | None | List all test cycles |
POST | /api/v1/test-cycles | API Key | Create a new test cycle |
GET | /api/v1/test-cycles/:id | None | Get cycle details |
GET | /api/v1/test-cycles/:id/bugs | None | List bugs for a cycle |
POST | /api/v1/bugs | API Key | Create a bug report |
POST | /api/v1/bugs/:id/fix | API Key | Submit a fix for a bug |
POST | /api/v1/escalate | API Key | Escalate cycle to Applause |
POST | /api/v1/webhooks | API Key | Register a webhook endpoint |
GET | /api/v1/webhooks | API Key | List registered webhooks |
POST | /api/v1/applause/webhook | Applause | Receive results from Applause |
Database Schema
Core entities and their relationships. Hover to highlight.