Use cases#
This section describes typical use cases of the req language, grouped by professional domain. Each section can be read on its own: go to the one that matches your current job. The systems engineering section is the reference case, and a good starting point for a broader overview.
All sections follow the same structure: a short description of the situation, followed by what req brings to it. The last two sections, interoperability and AI-assisted workflows, are transverse and apply to any of the domains above.
Systems engineering#
The req language is primarily designed for systems engineering. Typical activities are:
Writing and managing a requirement specification, from plain-text statements to formal properties
Refining and deriving requirements across layers
Extracting a model and diagrams from the requirements
Verifying requirements quality
Producing requirements that can be verified automatically
With a git platform such as GitLab, req can serve as an alternative to document-based or ALM-based requirement workflows. A platform such as Qitab can visualize the model emerging from the specification, which allows MBSE practices to be applied alongside a document-based workflow.
Software engineering#
Software engineering practices have been shaped over decades by a few habits: writing tests and assertions, using CI/CD to verify and validate code, and handling parallel work with git and branches. req applies the same practices at the specification level.
The specification lives in the same repository as the code
Conformance and requirement quality are verified during CI/CD
Parallel work on the specification is handled with git branches and reviews
Spec-driven workflows are often based on Markdown files. A req specification can be seen as a Markdown specification that progressively evolves into something more formal and more verifiable. req provides first-class support for specifications: most of the expected software behavior can be written as requirements, and later be implemented and tested.
V&V engineering#
V&V engineers are expected to raise issues about ambiguous and low-quality requirements. This takes time away from the main activity of V&V, which is to design and realize the V&V plan, and the issues found are often upstream mistakes that could have been avoided earlier.
Enforcing the use of a representation such as .req benefits both authors and reviewers:
Requirement quality is verified before the requirements reach V&V
Ambiguities and mistakes are detected earlier, which avoids unnecessary rework and mistakes that are expensive to fix once deployed
Formal requirements can be verified automatically, which reduces the manual effort of reviewing them
Modeling and simulation#
Simulation languages such as Modelica, MATLAB and Simulink provide approximations of a solution in order to evaluate its behavior. They generally do not provide a testing framework to monitor properties on simulation runs (see language comparison).
req is intended to bring requirements verification within simulations:
Formal requirements express properties that must hold during all simulation sequences featuring the enabling conditions of the requirements
A formal property is intended to be translated into a verifier component or a script within a simulation
The same requirement serves as the specification and as the verification criterion, which keeps simulation results traceable to the requirements
Certification and audit#
Safety-critical and regulated domains, such as aerospace, automotive or medical devices, require demonstrating that requirements are traced to their parents, to their verification, and that changes are controlled. Producing this evidence from documents or spreadsheets is mostly a manual process.
With req:
Traceability is part of the language, so it can be checked automatically instead of being reviewed manually
The version history of the repository records which requirement changed, when and by whom
Quality and conformance checks run in CI/CD, which makes the evidence repeatable
Note
req supports the production of this evidence. It does not replace the process or the standards required by a given domain.
Product management#
Ticket trackers such as Jira or Notion represent work items such as tasks or projects. They are less suited to keeping track of the evolution of a given feature or component: the related tickets must be retrieved, and the overall state of the item must be reconstructed from them.
req does not track tasks, but gives an accurate representation of a feature or component:
The specification describes the current state of a feature or component
The difference between two versions, displayed by Qitab or any git platform, describes what changed
This difference can be used as the description of the work to implement
Bid and supplier management#
In the context of a tender, a client may require full traceability with its specification, and compares the offers of different suppliers. Especially in technical environments, it can be difficult for both the client and the candidate suppliers to express requirements precisely and share a common understanding.
With req:
The glossary and first-class formal traceability can automate part of the due diligence work
The client and the suppliers share the same format
Both parties can work on a shared repository, or exchange text files that can be diffed and checked, unlike Word, Excel or ReqIF files
After the award, the same format can carry the flow-down of requirements from the client to the supplier
Interoperability#
Teams rarely work with a single tool: some stakeholders use models, others use documents. req is designed to coexist with other representations:
Requirements are planned to be translatable from and to SysMLv2
A req specification can be exported to markup languages such as Markdown or AsciiDoc for document generation
req can be introduced alongside an existing document-based workflow, without replacing it at once
AI-assisted workflows#
req is meant to be an AI-friendly representation: its structure and its formal properties are explicit and machine-readable. This enables agentic workflows to be deployed on top of a specification, for example:
Reviewing requirement quality and proposing corrections
Refining and deriving requirements across layers
Producing verification artifacts from formal requirements
Implementing from the specification, with conformance verified during CI/CD