Hi everyone,
I've been working on Open Quality, an open source specification and CLI for describing software quality as code.
Why I built it
Infrastructure used to be configured by hand and documented in wikis, until tools like Terraform made it a versioned file that the whole team could review, diff and reproduce. Software quality is still where infrastructure was back then: the rules live in scattered docs, spreadsheets and people's heads.
Open Quality applies the same idea to quality. The goal is a single, centralized, versioned file that describes how quality is controlled in a project: its requirements, measures, stages, roles and approvals. The model is based on ISO/IEC 25010 for quality characteristics, so teams get a common vocabulary instead of reinventing their own process every time.
Because it's declarative and vendor-neutral, the contract stays the same whichever tools you use underneath, and changes to your quality process go through pull requests like any other change.
How it works
A quality contract is a set of YAML resources. A QualityContract is the entry point, and it references everything else: quality requirements, the measures they are checked against, workflow stages, documentation, roles and approval policies.
Here's an excerpt from the minimal example, a payment API:
kind: QualityContract metadata: id: payment-api name: Payment API # Documentation resources to this project docs: - technical-design # Team members and their assigned roles team: - email: engineer@example.com roles: - software-engineer - email: lead@example.com roles: - quality-lead - engineering-manager # Predefined quality characteristics, based on ISO models quality: characteristics: - characteristic: reliability subcharacteristics: - subcharacteristic: availability requirements: [api-availability-greater-than-99%] - characteristic: maintainability subcharacteristics: - subcharacteristic: testability requirements: [unit-test-coverage-greater-than-90%] The CLI works on that contract:
- oq measure records values for the measure inputs.
- oq check computes each measure and prints PASS or FAIL per requirement.
- oq plan and oq apply sync the contract with providers: GitLab, GitHub, Jira Cloud and OpenProject.
What I'm looking for
User feedback on the idea and the spec, including what you'd need before trying it on a real project.
Real-world use cases: if you're willing to model one real service's quality contract, I'd like to hear where the format breaks.
Links
Docs: https://open-quality.com
GitHub: https://github.com/duanribeiro/open-quality
I'll be around to answer questions and take criticism. Thanks for reading!

