How must-darkviolet/qanexus works
QA PR Review Agent analyzes pull-request changes, selects or generates Playwright coverage, runs tests and a recorded browser walkthrough, then maintains an evidence-backed PR report. The graph follows the README’s documented workflow and uses sampled/index evidence for key internal links; unsampled subsystem details are represented only where README capabilities are explicit.
Main entry points: orchestrator.ts Review orchestrator · impactService.ts Regression impact · staticAnalyzer.ts Static analysis · store.ts Application knowledge
Components 23
Review intake
- Review dashboard
packages/frontend/app/(dashboard)/projects/[id]/page.tsx - GitHub webhook/API
packages/backend/src/api/routes/github.ts - PR checkout and diff
packages/backend/src/github/workspace.ts - Review orchestrator
packages/backend/src/pipeline/orchestrator.ts
Change analysis
- Repository scanner
packages/backend/src/analysis/scanner.ts - Static analysis
packages/backend/src/analysis/staticAnalyzer.ts - Change and impact analysis
packages/backend/src/analysis/changeDetector.ts - Route discovery
packages/backend/src/analysis/routes.ts - Application mapping
packages/backend/src/agents/repositoryAnalyzer.ts - Regression impact
packages/backend/src/pipeline/impactService.ts
Test and browser verification
- Test selection
packages/backend/src/pipeline/testSelection.ts - Test generation
packages/backend/src/pipeline/generation.ts - Safety and preflight
packages/backend/src/playwright/preflight.ts - Playwright execution
packages/backend/src/playwright/runner.ts - Recorded walkthrough
packages/backend/src/explore/browser.ts
Findings and reporting
- PR review and comment
packages/backend/src/pipeline/prReview.ts - Review artifacts API
packages/backend/src/api/routes/artifacts.ts
Review state
- Application knowledge
packages/backend/src/knowledge/store.ts - History and retrieval
packages/backend/src/memory/retrieval.ts - Review database
packages/backend/src/db/client.ts
Other components
- Pull request
- GitHub
- Playwright
Connections 32
- Pull request → GitHub webhook/API: triggers review
README.md - Review dashboard → Review orchestrator: starts review
README.md - GitHub webhook/API → Review orchestrator: dispatches review
README.md - Review orchestrator → PR checkout and diff: checks out and diffs
README.md - PR checkout and diff → GitHub: fetches PR
README.md - Review orchestrator → Repository scanner: scans repository
packages/backend/src/pipeline/orchestrator.ts - Review orchestrator → Static analysis: analyzes repository
packages/backend/src/pipeline/orchestrator.ts - Static analysis → Repository scanner: uses scanned files
packages/backend/src/analysis/staticAnalyzer.ts - Static analysis → Route discovery: extracts routes
packages/backend/src/analysis/staticAnalyzer.ts - Review orchestrator → Change and impact analysis: analyzes changes
packages/backend/src/pipeline/orchestrator.ts - Change and impact analysis → PR checkout and diff: compares revisions
packages/backend/src/analysis/changeDetector.ts - Review orchestrator → Application mapping: maps application
packages/backend/src/pipeline/orchestrator.ts - Application mapping → Static analysis: derives features
packages/backend/src/agents/repositoryAnalyzer.ts - Application mapping → Application knowledge: persists mapping
packages/backend/src/agents/repositoryAnalyzer.ts - Review orchestrator → Regression impact: assesses regression
packages/backend/src/pipeline/orchestrator.ts - Regression impact → Application knowledge: reads feature evidence
packages/backend/src/pipeline/impactService.ts - Regression impact → History and retrieval: checks past findings
packages/backend/src/pipeline/impactService.ts - Review orchestrator → Test selection: selects coverage
packages/backend/src/pipeline/orchestrator.ts - Test selection → Change and impact analysis: uses affected modules
README.md - Review orchestrator → Test generation: generates tests
packages/backend/src/pipeline/orchestrator.ts - Test generation → Application knowledge: uses application context
- Test generation → Safety and preflight: validates generated code
README.md - Review orchestrator → Playwright execution: runs selected tests
packages/backend/src/pipeline/orchestrator.ts - Playwright execution → Playwright: executes tests
README.md - Review orchestrator → Recorded walkthrough: records walkthrough
packages/backend/src/pipeline/orchestrator.ts - Recorded walkthrough → Playwright: drives browser
packages/backend/src/explore/browser.ts - Review orchestrator → PR review and comment: prepares result
- PR review and comment → GitHub: posts or updates comment
README.md - Review dashboard → Review artifacts API: displays recordings
- Review orchestrator → Review database: stores run state
- Application knowledge → Review database: reads and writes knowledge
packages/backend/src/knowledge/store.ts - Regression impact → Review database: saves impact report
packages/backend/src/pipeline/impactService.ts