Research Preview: The Qodo Spec Agent is set as Research Preview and is under active development. Functionality and results may evolve as we continue to improve the feature. Review and validate outputs before use, and avoid using these features in production or business-critical workflows.
How requirement gaps are generated
Requirement gaps are generated by the Qodo Spec Agent, which analyzes pull requests that include a linked specification. The agent compares the implementation in the pull request against the requirements defined in the specification and identifies any discrepancies. When a requirement is not fully satisfied, the Spec Agent reports a π Requirement gap finding. The Spec Agent runs automatically whenever a pull request is opened or updated.Configure requirement gaps
Configure requirement gaps in the Qodo portal (Recommended)
- Log in to the Qodo portal.
- Set up a documentation integration under Integrations > Documentation & Design. See Documentation & design integrations.
- Navigate to Configurations > Finding types.
- Enable the Spec gaps toggle. Changes are saved automatically.
Configure requirement gaps in .pr_agent.toml
The portalβs Spec gaps toggle shows as off until you interact with it. Until then, this engine default applies regardless.View the requirement gap in the findings
The Spec Agent adds the following finding type to the review output: π Requirement gap: A requirement defined in the specification is not fully implemented in the pull request.
- π Bugs
- π Rule violations
- π Requirement gaps
Requirement gap details
Each requirement gap finding includes:- Description: Explanation of what requirement is missing or incomplete
- Code reference: Link to the relevant lines in the pull request diff
- Evidence: The specification section used for validation
- Agent prompt: A suggested prompt to help resolve the issue
Related resources
- Anatomy of a Qodo Code Review: The parts of the review comment and how to read them.
- Documentation & design integrations: Connect the specs the Spec Agent checks against.
- Customize the code review experience: What you can configure, and where to configure it.