LoQal Verifier
The LoQal Verifier acts as a “Syntax Guardian.” Its primary role is to catch syntax errors in the code generated by the ConstruQtor agent before it gets sent to the InspeQtor for review. This prevents wasted API calls and ensures that only syntactically valid code is part of the review process.
How it works
The LoQal Verifier is interleaved with the ConstruQtor agent’s workflow. For each briq (a small, granular task), the following happens:
- Code Generation: The
ConstruQtorgenerates code to fulfill thebriq’s requirements. - Local Verification: The
LoQal Verifierruns a syntax check on the generated code. - Retry on Failure: If the syntax check fails, the
ConstruQtoris automatically triggered to retry generating the code for the samebriq(up to 3 times). - Write to Qodeyard: If the syntax check passes, the code is written to the
qodeyard, the local directory containing the project’s source code.
This process ensures a tight feedback loop that catches and corrects errors at the earliest possible stage, improving the quality and efficiency of the entire code generation process.