orchestrata_ultimate.agents.volks.qa

Reference › orchestrata_ultimate › agents › volks › qa

Volk: qa (U:Qa) — QA Engineer for test generation, autofix, and review.

The QA package holds U:Qa, the volk that sits between code generation and compliance (specification 031). It reviews generated code through deterministic gates and an LLM review, generates and runs pytest suites with a no-mocks rule, and either bounces failures back to the CodeDirector or passes the work to Compliance.

volk holds QaVolk, which orchestrates the flow and is assembled from mixins, one per concern: _autofix (mechanical source repairs), _dep_install (virtualenv and dependency installation, import validation), _testgen (extracting tests, the mock gate, running pytest) and _context (failure analysis and escalating fix context). _host defines the protocol the mixins expect of QaVolk, and init re-exports the volk. The gate checks themselves live in the CodeDirector's review_checks.

Control flows through QaVolk._handle_review: auto-fix, three gates, dependency install and import validation, LLM review, then test generation or re-run. Start reading at volk. The curated description is in volks.

7 modules, 3,689 lines of code.

Modules

Module Summary LOC
__init__ Volk: qa (U:Qa) — QA Engineer for test generation, autofix, and review. 5
_autofix Source autofix routines (redis/imports/formatting) for U:Qa. 935
_context Failure analysis and escalating-context construction for U:Qa. 346
_dep_install Virtualenv / dependency-install / import-validation helpers for U:Qa. 603
_host Typing-only host contract for the U:Qa mixin classes. 54
_testgen Test extraction, mock-validation, and pytest execution for U:Qa. 511
volk U:Qa — QA volk with real LLM brain for test generation and code review. 1235

Dependency diagram

Package dependency diagram orchestrata_ultimate.agents.volks.qa