OSQAr — Open Safety Qualification Architecture
Auditable evidence shipments with traceability. Write requirements, architecture, and verification plans in reStructuredText. Link them with sphinx-needs. Package into integrity-protected shipments. Integrate across teams.
pipx install osqar
osqar new --language c --name hello_safety && cd hello_safety
osqar build-docs && osqar open-docs
Who this is for
| Role | Does |
|---|---|
| Supplier | Produce auditable evidence shipments (docs + code + tests + checksums) |
| Integrator | Verify, intake, and archive received shipments; enforce dependency closure |
| Internal team | Standardize evidence packaging across subprojects and CI |
Quick links
- 📖 Docs: bitvortex.github.io/OSQAr — full framework documentation
- 📦 Examples: bitvortex.github.io/OSQAr/examples — C, C++, Rust, Python reference projects
- 🔬 Full demo: OSQAr‑cJSON — ISO 26262 SEooC qualification attempt targeting ASIL D (88% coverage, 162 tests)
- 📥 Downloads: GitHub Releases — pre-built framework bundles and example workspaces
Features
Documentation & traceability
- Structured requirements, architecture, verification plans via
sphinx-needs+ reStructuredText - PlantUML architecture diagrams embedded in docs
- Machine-readable
needs.jsonexports with full traceability graph - CSV and Excel (
--format xlsx) traceability matrix exports for auditor review - Change impact analysis (
osqar impact) from any seed requirement - Versioned requirement baselines with snapshot/list/diff (
osqar baseline) - Requirement ID prefix overrides (
--req-prefix,--arch-prefix, etc.)
Scaffolding & skills
- Language templates for C, C++, Rust, Python (
osqar new --language) - ASIL‑D C template (
osqar new --language c --template asil-d_c) with pre‑populated ISO 26262‑6 software safety requirements, architecture, verification, and lifecycle needs - Agent‑ready content‑authoring skills (ISO 26262‑6, ISO 21434, ISO 21448, vehicle programs,
compliance documentation) — see
skills/and the Agent Skills usage guide - GSN safety case generation (
osqar gsn generate) with PlantUML and gsn2x backends
Shipment & integrity
- One-shot shipment preparation (
osqar shipment prepare --archive) - SHA256SUMS manifest generation and verification
- GPG detached signature support (
osqar sign create/osqar sign verify) - Incremental mode — only rebuild changed stages
- Project metadata declaration with pinned OSQAr shipment dependencies
Verification & CI
- Traceability rule enforcement (REQ→ARCH, ARCH→REQ, REQ→TEST)
- Fail-closed evidence-state and provenance validation (
osqar framework validate) - Standards-neutral claim catalogs with stable reference IDs and typed claim links
- Packaged tool-reliance boundary with all base reliance disabled pending use-case-specific assessment
- Code trace scanning with enforcement (
osqar code-trace) - Configurable verification activities (sanitizers, static analysis, fuzzing)
- Auto-generated gap documentation from
osqar_project.json - PlantUML-free build mode (
OSQAR_NO_DIAGRAMS=1) for offline/CI - Scaffold projects with
osqar new --no-diagramsto permanently disable diagrams
Multi-project & organization
- Workspace orchestration: list, report, verify, intake, combine
- Cross-project traceability via namespace-prefixed workspace combine
- Dependency closure enforcement across received shipments
- Lifecycle management and collaboration workflows for multi-user teams
- Reproducible native builds (C/C++/Rust, optional Bazel integration)
- Extensible via project/workspace JSON config + command hooks
Getting started as a developer
git clone https://github.com/BitVortex/OSQAr.git
cd OSQAr
poetry install
./osqar build-docs && ./osqar open-docs
The framework package targets Python >=3.9,<3.15; generated project
templates currently target Python >=3.9,<3.14.
For the full contributor setup (editable install, evidence tools, CI), see the framework docs.
Metadata
Release files for osqar 0.10.0
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.0.tar.gz | 279.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| osqar-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 561.5 kB
Release files / osqar-0.10.0.tar.gz
| Download URL | osqar-0.10.0.tar.gz |
|---|---|
| Size | 279.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6580c999c84db7bb55f365261390bcedda85dca0d176ffc670e3fa6b92c83930
|
|
BLAKE2b-256 checksum How to use checksums |
ca754358a4eb8618fc4d51cccc10427ccf5bf7052369b918649dc9cb5284dd96
|
| 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 23, 2026.
Transparency logRelease files / osqar-0.10.0-py3-none-any.whl
| Download URL | osqar-0.10.0-py3-none-any.whl |
|---|---|
| Size | 281.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e916cdf63e4f83ff109201de81afc7a60697398268a2aeeba5ba72d543079b7d
|
|
BLAKE2b-256 checksum How to use checksums |
0b117b8650ce78b09438e18e8ea47fd342319ef370064163dddf898ad3945ef4
|
| 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 23, 2026.
Transparency log