..
# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
Module Safety Plan
******************
.. document:: Rust Base Libraries Safety Plan
:id: doc__baselibs_rust_safety_plan
:status: draft
:safety: ASIL_B
:security: NO
:realizes: wp__module_safety_plan
:tags: baselibs_rust
Functional Safety Management Context
====================================
This Safety Plan adds to the :need:`gd_guidl__saf_plan_definitions` all the module development relevant work products needed for ISO 26262 conformity.
Functional Safety Management Scope
==================================
This Safety Plan's scope is a SW module of the SW platform :ref:`module_documentation`.
The module consists of one or more SW components and will be qualified as a SEooC.
Functional Safety Management Roles
==================================
+---------------------------+--------------------------------------------------------+
| Safety Manager | |
+---------------------------+--------------------------------------------------------+
| Project Manager | |
+---------------------------+--------------------------------------------------------+
Tailoring
=========
Additional to the tailoring in the SW platform project as defined in the :need:`gd_guidl__saf_plan_definitions` we define here the additional tailoring on module level.
- Excluded for this module are additionally the following work products (and their related requirements):
- : -
Functional Safety Module Work products
======================================
One set of work products for the module and one set for each component of the module:
Module Work products List
-------------------------
.. list-table:: Module Work products
:header-rows: 1
* - Work product Id
- Link to process
- Process status
- Link to issue
- Link to WP
- WP status
* - :need:`wp__module_safety_plan`
- :need:`gd_guidl__saf_plan_definitions`
- :ndf:`copy('status', need_id='gd_guidl__saf_plan_definitions')`
-
- this document
- see above
* - :need:`wp__module_safety_package`
- :need:`gd_guidl__saf_package`
- :ndf:`copy('status', need_id='gd_guidl__saf_package')`
-
- this document (including the linked documentation)
- see above (and below)
* - :need:`wp__fdr_reports` (module Safety Plan)
- :need:`gd_chklst__safety_plan`
- :ndf:`copy('status', need_id='gd_chklst__safety_plan')`
-
- :need:`doc__baselibs_rust_safety_plan_fdr`
- :ndf:`copy('status', need_id='doc__baselibs_rust_safety_plan_fdr')`
* - :need:`wp__fdr_reports` (module Safety Package)
- :need:`gd_chklst__safety_package`
- :ndf:`copy('status', need_id='gd_chklst__safety_package')`
-
- :need:`doc__baselibs_rust_safety_package_fdr`
- :ndf:`copy('status', need_id='doc__baselibs_rust_safety_package_fdr')`
* - :need:`wp__fdr_reports` (module's Safety Analyses & DFA)
- Safety Analysis FDR tbd
-
-
-
-
* - :need:`wp__audit_report`
- performed by external experts
- n/a
-
-
-
* - :need:`wp__module_sw_build_config`
- :need:`gd_temp__software_development_plan`
- `copy('status', need_id='gd_temp__software_development_plan')`
-
-
-
* - :need:`wp__module_safety_manual`
- :need:`gd_temp__safety_manual`
- :ndf:`copy('status', need_id='gd_temp__safety_manual')`
-
- :need:`doc__baselibs_rust_safety_manual`
- :ndf:`copy('status', need_id='doc__baselibs_rust_safety_manual')`
* - :need:`wp__verification_module_ver_report`
- :need:`gd_temp__mod_ver_report`
- :ndf:`copy('status', need_id='gd_temp__mod_ver_report')`
-
- :need:`doc__baselibs_rust_verification_report`
- :ndf:`copy('status', need_id='doc__baselibs_rust_verification_report')`
* - :need:`wp__module_sw_release_note`
- :need:`gd_temp__rel_mod_rel_note`
- :ndf:`copy('status', need_id='gd_temp__rel_mod_rel_note')`
-
- :need:`doc__baselibs_rust_release_note`
- :ndf:`copy('status', need_id='doc__baselibs_rust_release_note')`
Component Work products List
-----------------------------------
.. list-table:: Component Work products
:header-rows: 1
* - Work product Id
- Link to process
- Process status
- Link to issue
- Link to WP
- WP/doc status
* - :need:`wp__requirements_comp`
- :need:`gd_temp__req_comp_req`
- :ndf:`copy('status', need_id='gd_temp__req_comp_req')`
-
- :need:`doc__log_requirements`
- doc :ndf:`copy('status', need_id='doc__log_requirements')` & WP below
* - :need:`wp__requirements_comp_aou`
- :need:`gd_temp__req_aou_req`
- :ndf:`copy('status', need_id='gd_temp__req_aou_req')`
-
- :need:`doc__log_requirements`
- doc :ndf:`copy('status', need_id='doc__log_requirements')` & WP below
* - :need:`wp__requirements_inspect`
- :need:`gd_chklst__req_inspection`
- :ndf:`copy('status', need_id='gd_chklst__req_inspection')`
- n/a
- Checklist used in Pull Request Review
- n/a
* - :need:`wp__component_arch`
- :need:`gd_temp__arch_comp`
- :ndf:`copy('status', need_id='gd_temp__arch_comp')`
-
- :need:`doc__log_architecture`
- doc :ndf:`copy('status', need_id='doc__log_architecture')` & WP below
* - :need:`wp__sw_arch_verification`
- :need:`gd_chklst__arch_inspection_checklist`
- :ndf:`copy('status', need_id='gd_chklst__arch_inspection_checklist')`
- n/a
- Checklist used in Pull Request Review
- n/a
* - :need:`wp__sw_component_fmea`
- :need:`gd_temp__comp_saf_fmea`
- :ndf:`copy('status', need_id='gd_temp__comp_saf_fmea')`
-
- :need:`doc__log_fmea`
- doc :ndf:`copy('status', need_id='doc__log_fmea')` & WP below
* - :need:`wp__sw_component_dfa`
- :need:`gd_temp__comp_saf_dfa`
- :ndf:`copy('status', need_id='gd_temp__comp_saf_dfa')`
-
- :need:`doc__log_dfa`
- doc :ndf:`copy('status', need_id='doc__log_dfa')` & WP below
* - :need:`wp__sw_implementation`
- :need:`gd_guidl__implementation`
- :ndf:`copy('status', need_id='gd_guidl__implementation')`
-
-
-
* - :need:`wp__verification_sw_unit_test`
- :need:`gd_guidl__verification_guide`
- :ndf:`copy('status', need_id='gd_guidl__verification_guide')`
-
-
-
* - :need:`wp__sw_implementation_inspection`
- :need:`gd_chklst__impl_inspection_checklist`
- :ndf:`copy('status', need_id='gd_chklst__impl_inspection_checklist')`
- n/a
- Checklist used in Pull Request Review
- n/a
* - :need:`wp__verification_comp_int_test`
- :need:`gd_guidl__verification_guide`
- :ndf:`copy('status', need_id='gd_guidl__verification_guide')`
-
-
-
* - :need:`wp__sw_component_class`
- :need:`gd_guidl__component_classification`
- :ndf:`copy('status', need_id='gd_guidl__component_classification')`
-
- :need:`doc__log_comp_class`
- :ndf:`copy('status', need_id='doc__log_comp_class')`
Note: In case the component is a new development, :need:`wp__sw_component_class` shall be removed from the above list (and also from the folders).
In case an OSS element is used in the module, part 6 has to be filled out.
OSS (sub-)component qualification plan
======================================
For the selected OSS component the following work products will be implemented (and why):
If the OSS element is classified as a
- component, then the below table shall match the above, adding the reasoning for tailoring of work products according to the OSS component classification.
- lower level component, then no work products additional to the component’s will be planned and activities below are part of the component’s issues.
.. list-table:: OSS (sub-)component Work products
:header-rows: 1
* - Work product Id
- Link to issue
- Reasoning for tailoring
* - :need:`wp__requirements_comp`
-
- Always needed (for Q and QR classification) and also improves process Id 2
* - :need:`wp__requirements_comp_aou`
-
- Always needed (for Q and QR classification) and also improves process Id 5
* - :need:`wp__requirements_inspect`
- n/a
- Checklist used in Pull Request Review
* - :need:`wf__cr_mt_comparch`
-
-
* - :need:`wp__sw_component_fmea`
-
-
* - :need:`wp__sw_arch_verification`
-
-
* - :need:`wp__sw_implementation`
- n/a
- If source code is modified, this is not a OSS qualification any more.
* - :need:`wp__verification_sw_unit_test`
-
-
* - :need:`wp__sw_implementation_inspection`
-
-
* - :need:`wp__verification_comp_int_test`
-
- Always needed (for Q and QR classification)
* - :need:`wp__sw_component_class`
-
- Always needed as basis for tailoring.
Work Product Status (for Safety Package)
========================================
Component Requirements Status
-----------------------------
.. needtable::
:filter: docname is not None and "log" in docname and "requirements" in docname
:style: table
:types: comp_req
:tags: log
:columns: id;status;tags
:colwidths: 25,25,25
:sort: title
Component AoU Status
--------------------
.. needtable::
:filter: docname is not None and "log" in docname and "requirements" in docname
:style: table
:types: aou_req
:tags: log
:columns: id;status;tags
:colwidths: 25,25,25
:sort: title
Component Architecture Status
-----------------------------
.. needtable::
:filter: docname is not None and "log" in docname and "requirements" in docname
:style: table
:types: comp_arc_sta; comp_arc_dyn
:tags: log
:columns: id;status;tags
:colwidths: 25,25,25
:sort: title