OSQAr — Open Safety Qualification Architecture
OSQAr helps engineering teams author, check, package, and exchange auditable evidence for safety-related work. A project can connect requirements, architecture, implementation, verification activities, results, assumptions, and lifecycle records, then publish them as an integrity-protected shipment.
OSQAr automates repeatable, versioned checks. It does not decide whether a system is safe or whether evidence is technically sufficient. A passing result does not establish compliance, certification, tool qualification, or ASIL qualification.
Start here
Install the CLI with pipx, create a generic project,
and render its documentation:
pipx install osqar
osqar new --language rust --name first_osqar_project
cd first_osqar_project
osqar build-docs
osqar open-docs
The generated project is a starting structure. Replace its example needs, acceptance criteria, and evidence placeholders with project-authorized content.
Next steps:
- Read the five-minute guide.
- Learn the project → shipment → workspace workflow.
- Use the CLI reference when you need every option, exit code, and resolution rule.
The rendered documentation is available at the OSQAr documentation site.
Choose the right starting point
Basic scaffold — recommended for a new project
Use basic when you want a small, standards-neutral project structure:
osqar new --language c --name controller
osqar new --language rust --name monitor --no-diagrams
Basic scaffolds are available for C, C++, Python, and Rust.
ASIL-target examples — learn from explicit, incomplete links
Use these examples to explore how a project targeting ASIL D might link bounded standards claims to draft requirements, implementation, planned verification, and pending evidence:
osqar new --language c --template asil_example_c --name asil_c_walkthrough
osqar new --language rust --template asil_example_rust --name asil_rust_walkthrough
Both examples deliberately keep evidence pending and label project policy as project policy. They demonstrate exemplary links; generating or building one does not establish ASIL qualification. Before project use, replace the example catalog declarations, interpretations, requirements, acceptance criteria, tool assumptions, and evidence records.
See Understanding the ASIL-target examples for the common evidence model, language-specific differences, and tailoring checklist.
The OSQAr workflow
- Author — describe stable needs and explicit links in reStructuredText.
- Build — render readable Sphinx documentation and export
needs.json. - Check — run traceability, evidence-state, impact, checksum, and policy checks selected by the project.
- Package — prepare an evidence shipment and its integrity manifest.
- Verify and integrate — validate received bytes before intake and preserve provenance in a workspace.
A common producer command is:
osqar shipment prepare --project . --archive
A common integrator sequence is:
osqar shipment verify --shipment received/component
osqar workspace intake --root workspace --shipment received/component
osqar workspace verify --root workspace --recursive
Run osqar --help or osqar <command> --help for installed-version help.
Documentation map
New users
- Getting started — install, scaffold, build, inspect, and prepare a first shipment.
- Understanding the ASIL-target examples — compare the C and Rust examples without confusing a target with achieved qualification.
- Project setup — start cleanly or migrate an existing codebase.
Task guides
- Supplier guide — produce an evidence shipment.
- Integrator guide — verify and intake a shipment.
- CI integration — run repeatable checks in automation.
- Lifecycle management — baselines, changes, and release discipline.
- Multi-project workflows — dependency closure and workspace operations.
Power-user reference
- CLI reference — commands, flags, outputs, and exits.
- Configuration and hooks — project and workspace configuration.
- Evidence acceptance — controlled evidence states and fail-closed validation boundaries.
- Typed traceability — directed profiles, qualification rules, and API projection.
- Tool-reliance boundary — separate mechanical checks from project-specific tool assurance.
- Release manifest — closed payload verification.
What OSQAr checks—and what it cannot conclude
A successful command means only that the named rules executed successfully for the supplied inputs. Depending on the command, OSQAr can check structure, identifiers, authored link direction, profile rules, evidence state, file identity, checksums, manifests, and closed payload membership.
OSQAr cannot establish that:
- requirements or architecture are complete or technically correct;
- a standards interpretation is valid or applicable;
- verification methods and acceptance criteria are adequate;
- evidence is independent, sufficient, or accepted by an authority;
- a tool is qualified for a specific relied-upon use; or
- a system or component is safe, compliant, certified, or qualified.
Those conclusions require competent project-specific engineering, review, assessment, and authorization.
Development
git clone https://github.com/BitVortex/OSQAr.git
cd OSQAr
poetry install
./osqar build-docs
poetry run python -m pytest -q tests
See CONTRIBUTING.md for contributor setup and review gates. Published archives are available from GitHub Releases.
License
OSQAr is distributed under the Apache License 2.0.
Metadata
Release files for osqar 0.10.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| osqar-0.10.2.tar.gz | 308.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| osqar-0.10.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 614.0 kB
Release files / osqar-0.10.2.tar.gz
| Download URL | osqar-0.10.2.tar.gz |
|---|---|
| Size | 308.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d26423cd284fb9297fdf2c1e4bb7efce214c89557e1f49c8c78337419e7bed8b
|
|
BLAKE2b-256 checksum How to use checksums |
2ea025c9c10a17610a5e35bbba3a17de63d45590718edb5361274f6855abb6f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.
Transparency logRelease files / osqar-0.10.2-py3-none-any.whl
| Download URL | osqar-0.10.2-py3-none-any.whl |
|---|---|
| Size | 305.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
582e7e512ea6db46885e42535c2c37fc205dda710ea50fc67807dede22525fb7
|
|
BLAKE2b-256 checksum How to use checksums |
49ead33ea1223b39fc95ef88cad4da24e944af78311b81def05a4fdc6b85a7cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.
Transparency log