-
Notifications
You must be signed in to change notification settings - Fork 0
Autonomous QA Loop
Uwayxt edited this page Aug 31, 2026
·
3 revisions
The Agentway QA ecosystem transforms testing from a passive manual check into an autonomous, self-healing closed loop.
[Live Built Application]
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββ
β Autonomous QA Evaluator Battery β
β β’ prd-traceability-matrix β
β β’ interactive-element-audit β
β β’ flow-based-functional-testing β
β β’ accessibility-runtime-audit (WCAG) β
β β’ responsive-qa-audit (Playwright) β
ββββββββββββββββββββββ¬ββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββ
β qa-feedback-loop-orchestrator β
β (Aggregates Findings & Auto-Fixes) β
ββββββββββββββββββββββ¬ββββββββββββββββββββ
β
βββββββββββββββββ΄ββββββββββββββββ
β β
[Deterministic Issue] [Ambiguous Edge Case]
β β
βΌ βΌ
Execute Auto-Fix Patch Escalate to Human with
(Max 3 Iterations Retry) Complete Diagnostic Context
The orchestrator classifies QA findings into deterministic fixes vs human escalations:
| Category | Finding Type | Action |
|---|---|---|
| Markup & A11y | Missing alt tag, aria-label, or unlinked <label>
|
Auto-Fix immediately |
| Touch Ergonomics | Tap target |
Auto-Fix with token padding |
| Responsive Overflow | Horizontal scrollbar on mobile ( |
Auto-Fix max-w-full / flex wrap |
| Broken Routes |
href="#" or unhandled button click handler |
Auto-Fix route-intent mapping |
| Chaos & Edge Cases | Extreme long text overflow / unhandled negative numbers | Auto-Fix truncate / fallback β |
| Business Logic | Missing workflow step or conflicting PRD requirements | Escalate to Human |
The accessibility-runtime-audit executes axe-core checks covering:
-
Target Size (Minimum):
$\ge 24 imes 24 ext{px}$ touch targets (WCAG 2.2 SC 2.5.8). - Focus Appearance: High contrast visible keyboard focus indicators.
- Dragging Alternatives: Single-pointer alternatives for drag-and-drop operations.
-
Contrast (Minimum):
$\ge 4.5:1$ text and$\ge 3:1$ UI components.
Command: agentway doctor [dir]
Alias: agentway health [dir]
Computes a Token Adherence Index (TAI) score from heuristic project signals and generates a three-part health report:
-
health-report.mdβ Human-readable report card with radar breakdown and prescription table -
health-report.jsonβ Machine-readable data for CI gate integration -
prescription.mdβ Prioritized (P0/P1/P2) skill activation roadmap
Command: agentway audit:drift [dir]
Alias: agentway drift [dir]
Scans all CSS/SCSS files in the target directory using 17 regex patterns across 7 drift categories. Severity-sorts violations and generates:
-
drift-report.mdβ Violation list with file:line references and fix hints -
drift-report.jsonβ Machine-readable data with per-category counts and drift rate -
drift-fixes.mdβ Project-specific find-and-replace auto-fix recipes