AvrelDocs

Safety case evidence

A safety case is the argument that a system is acceptably safe for a given use in a given environment, with the evidence that supports it. Your safety engineers, or an independent assessor, write that argument. Avrel does not write it for you.

What Avrel holds is what the argument rests on: each requirement, how it was verified, the evidence with its hash, the verdict, the release and release gate it was checked against, and who signed it off. Export safety case evidence hands that over in the formats safety case tools read, so the person writing the case starts from traceable evidence rather than copying results by hand.

Export from a readiness record#

The export is built from one readiness record, so it is frozen at the moment the record was taken and every item traces back to the record's snapshot hash.

Open the record in Requirements & Readiness and pick a format under Safety case evidence:

FormatFileUse it for
GSN.yamlGoal Structuring Notation (GSN Community Standard v3) in the YAML format of gsn2x, an open-source tool that draws GSN diagrams. Copy the nodes into Astah GSN, ASCE or your own diagram.
SACM.xmiThe OMG Structured Assurance Case Metamodel 2.2, as XML, for model-based assurance tools.
CSV register.csvAn evidence register with one row per requirement and piece of evidence, for a spreadsheet, a requirements tool, or the evidence list of a method such as AMLAS or SACE.

You can export a record in any state. A record that is not ready, not yet approved or whose evidence has changed since is exported as it is, and says so.

What each format contains#

GSN#

  • G1, the top goal, says only what the matrix shows: every requirement in the record's scope is verified, with the count. It is not a safety claim. Put it under your own safety claim, or cite it as an away goal from your argument.
  • S1 is the strategy: argument over each requirement in scope, by its verification method and its latest accepted evidence.
  • One goal per requirement, with its ref and the requirement as written.
  • One solution (Sn) per piece of passing evidence: what was done, the result, the item and build, the facility and procedure, the time, measurements with their limits, the report reference, and the evidence's SHA-256 hash.
  • Context (C) nodes: the readiness record with its snapshot hash, the release and commit, the release gate verdict, and the review (who approved or rejected, their role and when, and whether the record checks out).
  • A requirement that is failed, inconclusive or open is an undeveloped goal marked with its verdict. Its latest evidence is shown as context, never as a solution.

To draw it, install gsn2x and run gsn2x safety-case-evidence-<record>.yaml.

SACM#

  • An artifact package with the readiness record, each piece of evidence (as an Artifact with properties for its hash, result, item, facility, procedure, report and each measurement), the Activity that produced it, its Technique (test, analysis, inspection or review), and each person who signed (Participant) with their approval (Event).
  • An argument package with one Claim per requirement, each cited by its evidence through ArtifactReference and AssertedEvidence, and a top claim reached by AssertedInference.
  • A claim's assertionDeclaration follows its verdict: asserted when verified, defeated when its latest evidence failed, needsSupport when inconclusive or open. Evidence that does not support its claim is marked isCounter="true".

The XML uses the element and attribute names of SACM 2.2. Tools differ in the exact form of XMI they import, so check one export in your tool before you rely on it.

CSV register#

One row per piece of evidence, and one row for each requirement with none. The columns are:

record_id, record_title, record_status, snapshot_sha256, record_intact, requirement_ref, requirement_title, requirement_text, method, subsystem, verdict, evidence_id, evidence_role (basis is the evidence the verdict comes from), kind, result, evidence_title, item, build, facility, procedure, reference, run_id, performed_at (UTC), recorded_by, accepted_by, measurements, content_sha256, content_intact.

A cell that a spreadsheet would run as a formula starts with ', so it is read as text.

Checking it#

Every export carries the record's snapshot hash and each piece of evidence's SHA-256 hash. content_intact (or DOES NOT MATCH in GSN and SACM) tells you whether the stored evidence still matches the hash the record froze. For a check that does not rely on Avrel at all, download the record as JSON and follow Tamper evidence.

With an AI assistant#

Assistants with Read access get the same files through the export_safety_case_evidence tool on MCP, with the file as text. The call is written to the audit log with the record, the format and the counts, not the document.