Quality review
Use this workflow for changed-code quality checks. Do not use it as a substitute for a focused security audit.
Workflow
- Run
dotbabel quality explainbefore a policy-sensitive change. Use--rule <id>for one rule. - Run
dotbabel quality detect. Resolve an ambiguous tool choice through.dotbabel.json; do not guess. - Run
dotbabel quality check --profile <profile> --base <base>. Usefastduring edits andprbefore a pull request. - Review the changed code for the semantic rules listed by
quality explain. - Report failures, warnings, unavailable capabilities, improvements, and policy-file changes.
Do not claim that an unsupported or unavailable result passed. Do not install a missing tool.
Review duties
- Simplify control flow before you split code for a metric.
- Add behavioral tests for success, failure, and boundary behavior.
- Reject coverage padding and tests that only repeat implementation details.
- Review new suppressions for a narrow scope and an engineering reason.
- Review concurrency ownership, cancellation, error handling, unsafe types, assertions, and speculative abstractions.
- Prefer a legacy improvement over unrelated repository cleanup.
Read references/policy.md when a baseline, exception, or unavailable result affects the verdict. Read references/languages.md for language-specific semantic review. Read references/ci.md when you configure CI or local attestation.