Repository navigation
What is a safety case
A first look at LionDriver's safety case for someone who has never read one: what it is, how one big claim is
broken down, what makes evidence count, and why doubts are written down. This page explains and links. The case
itself is WP-K-01 and the records in
assurance/case-records/; nothing here is a claim, evidence or a review.
Every figure on this page is drawn at each wiki sync by
tools/wiki/case_animations.py from those records: every ID, title, status and
count is read from them, so the figures change when the records do. Where a figure puts a record in its own words,
the build checks the record still says it.
Assurance status represents recorded engineering evidence and review state. It does not constitute certification or approval for unsupervised operation.
A safety case is a structured, documented argument supported by evidence that shows a system is acceptably safe to operate in a specific environment. Each part of that sentence is something you can point at:
| Part | In LionDriver |
|---|---|
| The system | openpilot with the panda safety MCU on the reference Toyota Corolla (CFG-001) |
| The environment | Its operational design domain: limited-access highways only (WP-C-02) |
| Acceptably safe | The top claim, G0: the reference configuration poses no unreasonable risk |
| Structured argument | Claims split into smaller claims by arguments (strategies) |
| Evidence | Tests, analyses and reviews, each recorded with where it is and who reviewed it |
| Documented | WP-K-01 and the records, which CI validates on every change |
It shows; it does not prove. A safety case is an argument that a reviewer can check, and the doubts that remain are part of it (section 4).
"No unreasonable risk" cannot be checked directly. An argument says how to split it: by source of risk, then by safety goal, then by property. The split goes on until each claim is small enough that a test, an analysis or a review can show whether it holds. The top claim holds only if every claim under it holds.
The symbols are those of the Goal Structuring Notation (GSN): a rectangle is a claim, a parallelogram an argument
(strategy), a circle a piece of evidence. The full trees are drawn from the records in
assurance/10-safety-case/gsn/.
A test that passes is not yet evidence that counts. Before a piece of evidence can support a claim, it must say what
it is and where it is, which baseline and which car it applies to, it must be complete, and someone independent
must have reviewed it. The rules are in assurance/case-records/README.md §4: a
passing CI run, a passing test, a file that exists or an AI-written review never accept anything on their own.
A defeater (DF-nn) is a recorded reason a claim might not hold: a gap, an unmeasured time, an untested assumption. Each one names its closure route. A claim cannot be accepted while any defeater on it is open. The defeaters are published on purpose: they show exactly what is left to do.
- From hazard to test: one chain from a hazard to the tests whose results become evidence.
- Reading the Living Safety Case: the dashboard, figure by figure.
- Deriving and writing safety requirements and Building a fault tree: where the claims' requirements and analyses come from.
Mirrored from wiki/ on liondriver-dev at 7a1aec4, 2026-11-04. Pages are reviewed by pull request; the wiki is not edited in place. This wiki explains and links; safety claims and evidence live in the assurance record.
LionDriver wiki
- Home
- Roadmap and status
- How LionDriver works
- How the repository is organized
- How decisions are made
- Glossary
- What is a safety case?
- Reading the Living Safety Case
- Standards at a glance
- From hazard to test
- Deriving and writing safety requirements
- ASIL decomposition
- Building a fault tree
- Hardware safety and interference
- After release (ISO 26262 Part 7)
- SOTIF and ISO 26262
- Cybersecurity and ISO/SAE 21434
- AI safety and ISO/PAS 8800
- ASPICE: is the process capable?
- Integrated standards: one system, not five
- For the assessor
- Reference vehicle
- CAN, CAN FD and end-to-end protection
- Contributor guide
- Reporting a safety concern
- Session log
- FAQ
Repository