FeatureBuilt · in the lab
Safety and requirements
A safety file kept in your drawing or part: requirements linked to design, implementation, tests and results with coverage and gaps, ReqIF, FMEA, fault trees drawn and solved, FMEDA hardware metrics, a failure-rate roll-up from your own rates or the public MIL-HDBK-217F parts count, a threat analysis with your own scales, process checklists for automotive and airborne work, reviews kept as files,
Use this add-on:
Screenshots and a short video come with the listing (AL.3).
Overview
Safety and requirements keeps a safety file inside your drawing or part. In one panel you write requirements and link them down the V and back: each requirement to the design that satisfies it, the implementation of that design, the test that verifies it and the test's result, with coverage in percent and every gap listed. Around that sit the analyses a safety engineer keeps: FMEA sheets with risk priority numbers, fault trees that are drawn and solved for minimal cut sets, top event probability and the importance of each event, an FMEDA with hardware metrics, a failure-rate roll-up of your parts list from your own rates, and a threat analysis and risk assessment with rating scales that are yours to edit. Every change is written to a history with a name, a time and a hash chain, so an edited history shows, and you can take a baseline and see later exactly what changed. It is an aid for engineers: not an approval, a certificate or a safety case.
Who it’s for
- An electrical or systems engineer who has to show that every requirement has a design, an implementation, a test and a result.
- A safety engineer keeping an FMEA, a fault tree and an FMEDA beside the drawing or part they describe.
- A hardware engineer who wants the single-point and latent fault metrics, or a safe failure fraction, from a failure-mode table without a spreadsheet.
- A reliability engineer rolling up a parts list with the team's own failure rates.
- A security engineer keeping a threat analysis in the same file as the design.
- A student learning how traceability, FMEA, fault trees and hardware metrics fit together.
What you can do
- Write requirements, designs, implementations and tests, link them, and record test results. Requirements tab. verified
- Read the coverage of each stage in percent and the list of gaps, down the V and back up. Requirements tab, Coverage and Gaps and checks. verified
- Open a ReqIF file from another program and save your set as ReqIF. Requirements tab, Open a ReqIF file, Save as ReqIF. verified
- Keep an FMEA sheet with severity, occurrence and detection, a risk priority number, your own limits and a ranked list. FMEA tab. verified
- Build a fault tree from gates and basic events, see it drawn, and get its minimal cut sets, the top event probability and the importance of each event. Fault trees tab. verified
- Start from two published textbook trees. Fault trees tab, Example. verified
- Draw the fault tree in a CadCraft drawing as lines and text. Fault trees tab, Draw the tree in the drawing. verified
- Fill in a failure-mode table and get the single-point fault metric, the latent fault metric, a PMHF estimate, the safe failure fraction and the probability of dangerous failure, each compared with your own target. FMEDA tab. verified
- Roll up a parts list to a failure rate, an MTBF and a reliability over a mission, with your own rates, by group. Failure rates tab. verified
- Keep a threat analysis: assets, damage scenarios, threat scenarios, attack paths, risk values from your own matrix, treatment decisions, goals and claims. Threats tab. verified
- Take a baseline and see later what was added, changed or removed. History tab, Take a baseline. verified
- Read the change history with who, what and when, and see at once if it was edited. History tab. verified
- Save any table as CSV, the fault tree as a picture, one report page, or the whole safety file. The buttons under each tab.
- Pull a handbook parts count from the public MIL-HDBK-217F tables for 27 part classes in any of its 14 environments, mixed with rates you type yourself. Failure rates tab, Handbook parts count. verified
- Work through three process packs, automotive, airborne software and airborne hardware, with a checklist per phase, your own mark on each work product and what the safety file already shows for it. Process packs tab. verified
- Ask named people to review a baseline, send them a review record file, and merge their decisions back with a fingerprint on each. Reviews tab. verified
- Draw the zones and conduits of an industrial system, give each zone target and achieved levels for the seven foundational requirements, and see the gaps and the conduits that are too weak. Zones and conduits tab. verified
Methods and standards
Traceability is counting. A requirement holds a stage when it is linked to a design, that design to an implementation, the requirement to a test, and every such test has a recorded result; a requirement with children holds a stage only when every child does. The gaps are the missing links, in both directions.
The FMEA multiplies severity, occurrence and detection into a risk priority number and flags a row at or above your limits. The rating scales are your team's own.
A fault tree is solved exactly. The minimal cut sets come from the top-down expansion of Fussell and Vesely with absorption. The top event probability is computed by factoring on every repeated event, so an event used in two places is never counted twice; the sum of the cut sets and the min cut upper bound are shown beside it. Birnbaum, criticality, Fussell-Vesely (the cut-set form), risk achievement worth and risk reduction worth are given for each event.
The FMEDA splits each part's failure rate over its failure modes. A mode that can violate the safety goal by itself leaves a single-point or residual rate after the coverage of its safety mechanism; the covered rest of a mode marked multi-point is latent to the extent the second coverage misses it. The single-point fault metric is one minus the single-point and residual sum over the safety-related rate; the latent fault metric is one minus the latent sum over what is left. The safe failure fraction is safe plus detected dangerous over all. The probability of failure on demand uses the channel mean down time with your proof test interval and repair time. These formulas come from public descriptions of ISO 26262-5, ISO 26262-10, IEC 61508-2 and IEC 61508-6, named with each result; the standards themselves were not read, and the PMHF is a published estimate.
The failure-rate roll-up adds quantity times duty times rate over the list: parts in series, each failing at a constant rate.
The threat analysis follows the structure described for ISO/SAE 21434 clause 15: a threat scenario takes the highest impact of its damage scenario and the highest feasibility of its attack paths, and the risk value is read from your matrix.
The history is a hash chain: each entry carries the SHA-256 hash of its own content and of the entry before it. The handbook parts count is equation 1 of Appendix A of MIL-HDBK-217F: the sum over part classes of quantity times generic failure rate times quality factor, in failures per million hours for one environment.
A review is of one baseline. Each decision carries the SHA-256 of the review, the baseline's digest, the person, the decision, the comment and the time. A review is approved when every required reviewer's latest decision is approved, and current while the file still equals the baseline.
The zone checks are plain rules: every asset in one zone, every conduit between two different zones, an achieved level below the target is a gap, and a conduit below the stricter of its two zones on any requirement is flagged.
Data and sources
The add-on ships no failure-rate data, no handbook, no target values and no rating tables from any standard. Failure rates, failure-mode shares and coverages are what you type or read from your own parts list. Targets for the hardware metrics are empty until you type yours. The threat analysis starts with four plain impact levels, four feasibility levels and a placeholder risk matrix made by a simple formula, marked as a starter and meant to be replaced with your organization's own. Two published textbook fault trees can be loaded as examples; each names the handbook or paper it comes from. The sample safety file is our own invention. Round two adds data. The handbook parts count carries 27 part classes of MIL-HDBK-217F (2 December 1991), Appendix A, read by eye from the printed tables A-7 to A-10 and typed in: resistors, capacitors, transformers, a motor, relays, switches, connectors, a board, a crystal, a filter and a fuse, in the 14 environments, with the quality factors of the resistor and capacitor tables. That handbook is a US government document in the public domain. Microcircuits, transistors, diodes and opto parts are not in the data; resistor and capacitor rows were not compared with the later notices. The process packs are our own wording of the work products of three kinds of process; no clause, table or level of any standard is reproduced. The zone and conduit levels are yours.
Verification
| Case | Result |
|---|---|
| Coverage down the V and back against a hand count | A set of four requirements with two designs, one implementation, two tests and one result gives design 75 %, implementation 25 %, test 75 %, result 25 %, and lists the requirement with nothing, the design with no implementation, the test never run and the unlinked design, implementation and test (bi |
| ReqIF out and back | A set written as ReqIF 1.2 and read back keeps every item with its kind, the requirement tree and all links, and gives the same coverage (bin/test-safety.mjs, tools/trace-test/test.mjs) |
| FMEA risk priority numbers | RPN is severity times occurrence times detection; rows at or above the limits are flagged and ranked (tools/risk-test/test.mjs) |
| Fault trees against published textbook trees | The pressure tank of the Fault Tree Handbook (NASA 2002, chapter 10; NUREG-0492, chapter VIII) gives its five minimal cut sets with the printed probabilities, summing to 3.5016e-5 (printed 3.4e-5). The monopropellant system of the NASA handbook (chapter 11), which has repeated events, gives its seve |
| The tree as a drawing | A tree is laid out as lines, polylines and text only, a repeated event marked each time; in CadCraft it is drawn on SAFETY-FT layers in one undo step (bin/test-safety.mjs, tools/safety/browser.mjs) |
| Hardware metrics against published worked examples | The example of ISO 26262-5 Annex E as printed in a 2015 dissertation gives 93.20 % and 89.99 % for the first safety goal and 96.51 % and 91.55 % for the second. A 2023 thesis example gives 94.56 %, 93.84 % and its PMHF estimate. Safe failure fractions of a public FMEDA report reproduce. The probabil |
| Failure-rate roll-up against hand calculation | Ten parts at 2 FIT, one at 50 FIT and four at 5 FIT with half duty give 80 FIT, an MTBF of 12.5 million hours and a reliability of exp(-0.0007008) over a year; a part with no rate is left out and named; a parts list with semicolons and quoted cells is read (bin/test-safety.mjs) |
| Threat analysis bookkeeping | A threat scenario takes the highest impact of its damage scenario and the highest feasibility of its attack paths and reads its risk value from the project's matrix; a project's own two-level scales give its own values; a missing claim, treatment, goal, path, asset or impact is listed (bin/test-safe |
| The history shows an edit | Our SHA-256 matches the FIPS 180-4 examples and Node's own on 400 messages. An edited entry, a changed name or time, a removed, added or reordered entry, and an entry edited with its hash recomputed are each found at the right entry, also after the file is saved and read back. A baseline names exact |
| Handbook parts count against hand sums | 27 part classes of 14 columns each; the quality factors S .030, R .10, P .30, M 1.0, L 3.0, MIL-SPEC 3.0, lower 10; 100 general-purpose ceramic capacitors at level M, 20 ceramic chips at level S, 5 fuses, 2 board connectors and one typed part in the benign-ground environment give the hand sum 0.4712 |
| Process packs | Three packs of 22, 21 and 19 items, each phase with at least one item; the evidence checks give the values read by hand from the sample file (3 of 4 requirements with a design, one failure mode flagged with no action); counts of done, not applicable and open match a hand count; a file's marks for un |
| Reviews as files | A review of an edited baseline is refused; two required reviewers and one optional reviewer give open, changes asked, approved and current; one change after sign-off makes it out of date with the count of what moved; a decision edited after it was written is shown and does not count; a record signed |
| Zones and conduits against a hand worked plant | Five zones, six assets and six conduits give exactly the two level gaps, the one conduit below its zones, the unzoned asset, the missing zone, the broken and looping conduits and the safety zone with a weaker neighbour that were worked out by hand (bin/test-safety.mjs) |
Limits
This is a design aid, not an engineering approval: it does not replace the judgement, the checks and the sign-off of the person responsible for the work, and nothing you build from its figures should rest on it alone.
It is an aid for engineers, not an approval, a certificate or a safety case, and we accept no liability for decisions made from it. A qualified engineer must review the analysis and the results. It does not show that a product is safe, secure or compliant with any standard.
We do not hold the standards. The formulas for the hardware metrics and the structure of the threat analysis come from public descriptions, named beside each result and marked "not checked against the standard". The PMHF is a published estimate, not the expression of ISO 26262-10. The probability of dangerous failure in the panel is for one channel with a perfect proof test; redundant channels and common cause are in the engine and its tests but not yet in the panel. No target value and no rating table of a standard is included.
Fault trees have AND, OR and k of n gates only: no NOT, no exclusive-or, no sequence, no dynamic gates. Events are independent unless they are the same event; common cause needs an event of its own. The exact probability is limited to 22 repeated events. A tree is edited as a table and drawn for you; you cannot drag it. The FMEA has one rating scheme, the risk priority number. The failure-rate roll-up is parts in series at constant rates: no stress, temperature or quality factors, no redundancy. Attack feasibility is rated directly on your scale; the attack-potential point method is not built in.
The hash chain shows that the history is in one piece. It does not prove who made an entry or when, and it is not an electronic signature. ReqIF files carry requirements, links and plain text; rich text, pictures and attachments in a ReqIF file are not read, and test results are not part of ReqIF. Files from other requirements programs have not been tried. In CadCraft the safety file is kept in a block named SAFETY_FILE_DATA that shows in the block list; purging it removes the safety file. English only. Hosted by CadCraft and PartCraft. The handbook data is the base document of 1991, 27 part classes, read by eye; the later notices are not compared; other failure-rate handbooks are not held, so you type their rates yourself. The process packs are our words about three kinds of process: we do not hold ISO 26262, ISO/SAE 21434, DO-178C or DO-254, the packs do not make a project compliant, and the evidence column only says whether the safety file holds a thing, never that the work was done well. Reviews are file based, not a team server: a decision carries a fingerprint that shows it was not edited, it is not an electronic signature and does not prove who wrote it, and a sign-off is out of date as soon as anything in the file changes after its baseline. The zones and conduits checks are our reading of the public idea of zones and conduits, not the standard's own method; no security level is set for you. Not tried by someone who holds the standards.
Files and formats
Keeps the safety file inside the CadCraft drawing or the PartCraft part, saved with it; in CadCraft it travels in DXF and DWG as the add-on's own data. Reads ReqIF 1.2 files (requirements, hierarchy, relations), a parts list as CSV (comma, semicolon or tab; reference, part, quantity, rate, optional unit, duty and group) and its own safety file (.safety.json). Writes ReqIF 1.2, CSV files of the traceability, the verification matrix, the FMEA, the cut sets and importance, the FMEDA with its sources, the failure rates, the threat analysis and the history, the fault tree as an SVG picture, one report page as Markdown, and the safety file. In CadCraft it can draw a fault tree as lines, polylines and text on SAFETY-FT layers. Nothing is sent anywhere.
Get started
- Switch the add-on on in Settings, Add-ons, then open the Safety and requirements tab. Press the large-window button for room to work.
- Press Load the sample to look around, or start on the Requirements tab: add a requirement, a design, an implementation and a test, then link them under Links.
- Record a test result, and read Coverage and Gaps and checks.
- On the Fault trees tab, press an Example to see a published tree drawn and solved.
- On the History tab, type your name if you are not signed in, and take a baseline before a review.
Languages
The text is available in:
- English (en)
Works in
| Edition | Works | Note |
|---|---|---|
| Browser (/use) (yours) | Added on demand | Fetched the first time you use it, then kept for offline use. |
| Studio from getcadcraft.com | Added on demand | Fetched the first time you use it, then kept for offline use. |
| Microsoft Store | Added on demand | Fetched the first time you use it, then kept for offline use. |
| Google Play | Added on demand | Fetched the first time you use it, then kept for offline use. |
| iPad and iPhone (App Store) | Included; switch it on | Part of the reviewed app; your list switches it on. |
| Custom build | Added on demand | Fetched the first time you use it, then kept for offline use. |
Comes with
Nothing else.
Versions
| Version | Channel | Date | What changed |
|---|---|---|---|
| 1.0.0 | lab | November 25, 2026 | First version in the Library. |
Licence and maker
CadCraft (CadCraft, first-party). Licence: Apache-2.0. Dependencies carry their own licences, listed on their pages.