qaa-agent 1.9.2 → 1.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +206 -179
- package/CLAUDE.md +718 -557
- package/README.md +384 -357
- package/VERSION +1 -1
- package/agents/qa-pipeline-orchestrator.md +1739 -1425
- package/agents/qaa-analyzer.md +0 -1
- package/agents/qaa-bug-detective.md +790 -655
- package/agents/qaa-codebase-mapper.md +50 -1
- package/agents/qaa-discovery.md +421 -384
- package/agents/qaa-e2e-runner.md +715 -577
- package/agents/qaa-executor.md +947 -830
- package/agents/qaa-planner.md +14 -1
- package/agents/qaa-project-researcher.md +533 -400
- package/agents/qaa-scanner.md +77 -1
- package/agents/qaa-testid-injector.md +0 -1
- package/agents/qaa-validator.md +86 -1
- package/bin/install.cjs +375 -253
- package/bin/lib/context7-cache.cjs +299 -0
- package/bin/lib/intent-detector.cjs +488 -0
- package/commands/qa-audit.md +255 -126
- package/commands/qa-create-test.md +666 -365
- package/commands/qa-fix.md +684 -513
- package/commands/qa-map.md +283 -139
- package/commands/qa-pr.md +63 -0
- package/commands/qa-research.md +181 -157
- package/commands/qa-start.md +62 -6
- package/commands/qa-test-report.md +219 -219
- package/frameworks/cypress.json +54 -0
- package/frameworks/jest.json +59 -0
- package/frameworks/playwright.json +58 -0
- package/frameworks/pytest.json +59 -0
- package/frameworks/robot-framework.json +54 -0
- package/frameworks/selenium.json +65 -0
- package/frameworks/vitest.json +57 -0
- package/package.json +5 -2
- package/workflows/qa-analyze.md +100 -4
- package/workflows/qa-from-ticket.md +50 -2
- package/workflows/qa-gap.md +50 -2
- package/workflows/qa-start.md +2048 -1405
- package/workflows/qa-testid.md +50 -2
- package/workflows/qa-validate.md +50 -2
|
@@ -924,6 +924,56 @@ Test the highest-risk gaps first:
|
|
|
924
924
|
|
|
925
925
|
</critical_rules>
|
|
926
926
|
|
|
927
|
+
|
|
928
|
+
<quality_gate>
|
|
929
|
+
Before considering codebase mapping complete, verify ALL of the following:
|
|
930
|
+
|
|
931
|
+
- [ ] Focus area received and acknowledged in the agent prompt (testability, risk, patterns, or existing-tests)
|
|
932
|
+
- [ ] Documents produced for the specified focus area:
|
|
933
|
+
- testability → TESTABILITY.md and TEST_SURFACE.md
|
|
934
|
+
- risk → RISK_MAP.md and CRITICAL_PATHS.md
|
|
935
|
+
- patterns → CODE_PATTERNS.md and API_CONTRACTS.md
|
|
936
|
+
- existing-tests → TEST_ASSESSMENT.md and COVERAGE_GAPS.md
|
|
937
|
+
- [ ] All file paths in produced docs are formatted with backticks (e.g., `src/services/payment.ts`)
|
|
938
|
+
- [ ] Every observation has a concrete file:line reference, not vague descriptions
|
|
939
|
+
- [ ] Mock boundaries documented (testability focus): "Mock X when testing Y"
|
|
940
|
+
- [ ] Risk levels assigned per item (risk focus): HIGH | MEDIUM | LOW with justification
|
|
941
|
+
- [ ] Code examples included with code patterns (patterns focus)
|
|
942
|
+
- [ ] Existing tests catalogued with their quality assessment (existing-tests focus)
|
|
943
|
+
- [ ] Output files written to ${output_dir}/codebase/
|
|
944
|
+
|
|
945
|
+
If any check fails, fix the issue before returning. Do not deliver codebase docs that fail their own quality gate.
|
|
946
|
+
</quality_gate>
|
|
947
|
+
|
|
948
|
+
<bash_checklist>
|
|
949
|
+
Run this checklist verbatim before returning control:
|
|
950
|
+
|
|
951
|
+
```bash
|
|
952
|
+
echo "=== CODEBASE-MAPPER CHECKLIST START ==="
|
|
953
|
+
echo "1. Focus area received:"
|
|
954
|
+
echo "${FOCUS_AREA:-MISSING}"
|
|
955
|
+
echo "2. Output dir:"
|
|
956
|
+
ls -d "${output_dir:-.qa-output}/codebase/" 2>/dev/null || echo "DIR_MISSING"
|
|
957
|
+
echo "3. Documents produced for this focus:"
|
|
958
|
+
ls "${output_dir:-.qa-output}"/codebase/*.md 2>/dev/null | wc -l
|
|
959
|
+
echo "4. File paths backticked (per philosophy):"
|
|
960
|
+
grep -cE '`[a-z][^`]+\.(ts|js|py|go|java)`' "${output_dir:-.qa-output}"/codebase/*.md 2>/dev/null
|
|
961
|
+
echo "5. Mock boundaries (testability focus):"
|
|
962
|
+
[ "$FOCUS_AREA" = "testability" ] && grep -ic "mock" "${output_dir:-.qa-output}/codebase/TESTABILITY.md" 2>/dev/null || echo "n/a"
|
|
963
|
+
echo "6. Risk levels (risk focus):"
|
|
964
|
+
[ "$FOCUS_AREA" = "risk" ] && grep -cE "HIGH|MEDIUM|LOW" "${output_dir:-.qa-output}/codebase/RISK_MAP.md" 2>/dev/null || echo "n/a"
|
|
965
|
+
echo "7. Code examples (patterns focus):"
|
|
966
|
+
[ "$FOCUS_AREA" = "patterns" ] && grep -c '```' "${output_dir:-.qa-output}/codebase/CODE_PATTERNS.md" 2>/dev/null || echo "n/a"
|
|
967
|
+
echo "8. Existing tests catalogued (existing-tests focus):"
|
|
968
|
+
[ "$FOCUS_AREA" = "existing-tests" ] && grep -ic "test" "${output_dir:-.qa-output}/codebase/TEST_ASSESSMENT.md" 2>/dev/null || echo "n/a"
|
|
969
|
+
echo "=== CODEBASE-MAPPER CHECKLIST END ==="
|
|
970
|
+
```
|
|
971
|
+
|
|
972
|
+
**Rules:**
|
|
973
|
+
- Run the block AS-IS. Do not modify it. Do not split it.
|
|
974
|
+
- If any output shows a problem, fix it before returning.
|
|
975
|
+
- Do NOT return control to the parent agent until the block has been executed.
|
|
976
|
+
</bash_checklist>
|
|
927
977
|
<success_criteria>
|
|
928
978
|
- [ ] Focus area parsed correctly
|
|
929
979
|
- [ ] Codebase explored thoroughly for focus area (3+ representative files read in depth)
|
|
@@ -935,4 +985,3 @@ Test the highest-risk gaps first:
|
|
|
935
985
|
- [ ] No secrets or forbidden file contents leaked
|
|
936
986
|
- [ ] Confirmation returned (not document contents)
|
|
937
987
|
</success_criteria>
|
|
938
|
-
|