Back to stack
Dec 24, 2025
2 min read

LoQal Verifier – The Syntax Guardian

Catches errors BEFORE the review. No more wasted API calls on syntax errors.

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:

  1. Code Generation: The ConstruQtor generates code to fulfill the briq’s requirements.
  2. Local Verification: The LoQal Verifier runs a syntax check on the generated code.
  3. Retry on Failure: If the syntax check fails, the ConstruQtor is automatically triggered to retry generating the code for the same briq (up to 3 times).
  4. 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.