Skip to content

Commit 16c371b

Browse files
masc2023PandaeDo
authored andcommitted
add document lifecylce model
Extend documentation guideline Add new process requirements Add document lifecycle tags Resolves: #435
1 parent 1a3b21e commit 16c371b

38 files changed

+263
-102
lines changed

process/process_areas/architecture_design/architecture_workproducts.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ Architecture Work Products
2020
.. workproduct:: Feature Architecture
2121
:id: wp__feature_arch
2222
:status: valid
23-
:complies: std_wp__iso26262__software_751, std_wp__isosae21434__development_1051
23+
:complies: std_wp__iso26262__software_751
24+
:tags: doc_lifecycle_model_3
2425

2526
Feature Architecture linked to Feature Requirements, i.e. interaction of components
2627

@@ -33,7 +34,8 @@ Architecture Work Products
3334
.. workproduct:: Component Architecture
3435
:id: wp__component_arch
3536
:status: valid
36-
:complies: std_wp__iso26262__software_751, std_wp__isopas8926__4523, std_wp__isosae21434__development_1051
37+
:complies: std_wp__iso26262__software_751, std_wp__isopas8926__4523
38+
:tags: doc_lifecycle_model_3
3739

3840
Component Architecture linked to Component Requirements
3941

@@ -47,6 +49,7 @@ Architecture Work Products
4749
:id: wp__sw_arch_verification
4850
:status: valid
4951
:complies: std_wp__iso26262__software_754
52+
:tags: doc_lifecycle_model_2
5053

5154
Depends on architecture guideline and tooling.
5255
May include several methods like inspection, modelling ... Which are selected in SW Verification Plan.

process/process_areas/change_management/change_management_workproducts.rst

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,16 @@ Change Management Work Products
1818
.. workproduct:: Platform Change Management Plan
1919
:id: wp__chm_plan
2020
:status: valid
21-
:tags: change_management
21+
:tags: doc_lifecycle_model_2
2222
:complies: std_wp__iso26262__support_851
2323

2424
Change Management Plan (Part of the Platform Management Plan)
2525

2626
.. workproduct:: Issue tracking system
2727
:id: wp__issue_track_system
2828
:status: valid
29-
:tags: change_management
30-
:complies: std_wp__iso26262__management_554, std_wp__iso26262__management_652, std_wp__iso26262__support_852, std_wp__iso26262__support_853, std_wp__iso26262__support_854, std_wp__isopas8926__4527, std_req__aspice_40__iic-13-16, std_req__aspice_40__iic-13-07, std_req__aspice_40__iic-15-55, std_req__aspice_40__iic-15-12,
31-
std_wp__isosae21434__continual_8333, std_wp__isosae21434__continual_8431, std_wp__isosae21434__continual_8531, std_wp__isosae21434__continual_8631
29+
:tags: doc_lifecycle_model_1
30+
:complies: std_wp__iso26262__management_554, std_wp__iso26262__management_652, std_wp__iso26262__support_852, std_wp__iso26262__support_853, std_wp__iso26262__support_854, std_wp__isopas8926__4527, std_req__aspice_40__iic-13-16, std_req__aspice_40__iic-13-07, std_req__aspice_40__iic-15-55, std_req__aspice_40__iic-15-12
3231

3332
| - Change request
3433
| - Change request plan
@@ -44,7 +43,7 @@ Change Management Work Products
4443
.. workproduct:: Feature Request
4544
:id: wp__feat_request
4645
:status: valid
47-
:tags: change_management
46+
:tags: doc_lifecycle_model_2
4847
:complies: std_wp__iso26262__support_852, std_wp__iso26262__support_853, std_req__aspice_40__iic-13-16
4948

5049
| - Feature request for a new feature or a feature modification
@@ -55,14 +54,11 @@ Change Management Work Products
5554
.. workproduct:: Component Request
5655
:id: wp__cmpt_request
5756
:status: valid
58-
:tags: change_management
57+
:tags: doc_lifecycle_model_2
5958
:complies: std_wp__iso26262__support_852, std_wp__iso26262__support_853, std_req__aspice_40__iic-13-16
6059

6160
| - Component request for a new component or a component modification
6261
|
6362
| Change Request for a new component or a modification of an existing component,
6463
| which changes the scope of the component.
6564
| Software Modules are also components (top-level component).
66-
67-
.. needextend:: docname is not None and "process_areas/change_management" in docname
68-
:+tags: change_management

process/process_areas/change_management/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ Change Management
2727
change_management_roles
2828
change_management_workflow
2929
change_management_workproducts
30+
31+
.. needextend:: docname is not None and "process_areas/change_management" in docname
32+
:+tags: change_management

process/process_areas/configuration_management/configuration_workproducts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Configuration Management Work Products
1818
.. workproduct:: Platform Configuration Management Plan
1919
:id: wp__config_mgt_plan
2020
:status: valid
21-
:tags: config_management
21+
:tags: doc_lifecycle_model_2
2222
:complies: std_wp__iso26262__support_751
2323

2424
Config Management Plan (Part of the Platform Management Plan, :need:`wp__platform_mgmt`)

process/process_areas/configuration_management/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ Configuration Management
2626
configuration_roles
2727
configuration_workflow
2828
configuration_workproducts
29+
30+
.. needextend:: docname is not None and "process_areas/configuration_management" in docname
31+
:+tags: configuration_management

process/process_areas/documentation_management/documentation_workproducts.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Documentation Management Work Products
1818
.. workproduct:: Documentation Management Plan
1919
:id: wp__document_mgt_plan
2020
:status: valid
21+
:tags: doc_lifecycle_model_2
2122
:complies: std_wp__iso26262__support_1051, std_wp__iso26262__support_1052, std_req__aspice_40__iic-01-52
2223

2324
Document Management Plan (Part of the Platform Management Plan)

process/process_areas/documentation_management/guidance/_assets/review_workflow.drawio.svg

Lines changed: 4 additions & 0 deletions
Loading

process/process_areas/documentation_management/guidance/documentation_guideline.rst

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,77 @@ For manual review of the formal elements the
3030

3131
The review of each document is done as defined for this type of work product in the respective
3232
process description.
33+
34+
35+
Document lifecycle models
36+
-------------------------
37+
38+
Each released document shall have the status: “VALID”.
39+
40+
Depending on the document assigned lifecycle Model, as defined here
41+
:ref:`work_products_overview_list`, the document can either reach this state directly,
42+
or some prior states are required.
43+
44+
Thus different document lifecycle models exists (as defined in
45+
:need:`gd_req__doc_attr_status`):
46+
47+
* Model1: "VALID"
48+
* Model2: "DRAFT" -> "VALID"
49+
* Model3: "DRAFT" -> "VALID" -> "VALID(INSPECTED)"
50+
51+
52+
**Guidance for lifecycle model 1:**
53+
54+
Example: :need:`wp__issue_track_system`
55+
56+
The document has the state “VALID” after creation.
57+
58+
Recommendation: Author should do a self verification for the correctness and completeness
59+
of the content and th fulfillment of required formal aspects.
60+
61+
62+
**Guidance for lifecycle model 2:**
63+
64+
Example: :need:`wp__feat_request`
65+
66+
The document has the state “VALID” after creation and a reviewer as confirmed
67+
the correctness and completeness of the content and th fulfillment of required formal
68+
aspects.
69+
70+
The figure below shows an overview of the review workflow for lifecycle model 2 (Simple
71+
Workflow) based on Pull Requests.
72+
73+
Nevertheless, it is still recommended for author to do a self verification for the
74+
correctness and completeness of the content and the fulfillment of required formal
75+
aspects before asking for a review.
76+
77+
In case of any discussions are needed between author and reviewer, or still some ambiguities
78+
exists, the document can also be published first with the status "DRAFT".
79+
80+
This indicates, that the document is created, may have no mature structure yet, content
81+
is not complete and correct or formal aspects are not considered.
82+
83+
The figure below shows an overview of the review workflow for lifecycle model 2
84+
(Extended Workflow) based on Pull Requests.
85+
86+
After some iterations between author and reviewer, the document can be set to status
87+
"VALID", when all issues are resolved.
88+
89+
Due to updates, findings, other issues or change request, the document status may set
90+
back from "VALID" to "DRAFT". This triggers a new review cycle.
91+
92+
93+
.. figure:: _assets/review_workflow.drawio.svg
94+
:width: 100%
95+
:align: center
96+
:alt: Overview review lifecycle model 2
97+
98+
Overview review lifecycle model 2 for PRs
99+
100+
101+
**Guidance for lifecycle model 3:**
102+
103+
In principle same as lifecycle model 2, but an additional inspection step is required,
104+
as described here: :ref:`review_concept`.
105+
106+
Example: :need:`wp__requirements_stkh`

process/process_areas/documentation_management/guidance/documentation_process_reqs.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,21 @@ Document Management Process Requirements
6868

6969
Compare also :need:`gd_temp__documentation`
7070

71+
.. gd_req:: Document attribute: status
72+
:id: gd_req__doc_attr_status
73+
:status: valid
74+
:tags: manual_prio_1, attribute, mandatory
75+
:satisfies: wf__platform_cr_mt_platform_mgmt_plan
76+
:complies: std_req__iso26262__support_1044
77+
78+
Each document, shall have a status depending on the document lifecycle models below:
79+
80+
* Model 1: VALID (e.g. for simple reports)
81+
* Model 2: DRAFT -> VALID (e.g. for plans)
82+
* Model 3: DRAFT-> VALID -> VALID(inspected) (e.g. for stakeholder requirements)
83+
84+
Compare :need:`gd_guidl__documentation`
85+
7186
.. gd_req:: Document Author
7287
:id: gd_req__doc_reviewer
7388
:status: valid

process/process_areas/documentation_management/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ Documentation Management
2828
documentation_workproducts
2929

3030
.. needextend:: docname is not None and "process_areas/documentation_management" in docname
31-
:+tags: doc_mgt
31+
:+tags: documentation_management

0 commit comments

Comments
 (0)