Skip to content

Commit db0edb3

Browse files
authored
Merge pull request #44 from eclipse-score/fix_review_findings
fix review findings during tool requirements review
2 parents 204d48b + 5891039 commit db0edb3

File tree

8 files changed

+97
-19
lines changed

8 files changed

+97
-19
lines changed

process/general_concepts/score_review_concept.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Review and Inspection Concept
1818
=============================
1919

20-
.. doc_concept:: Workproduct Inspections Concept
20+
.. doc_concept:: Work product Inspections Concept
2121
:id: doc_concept__wp_inspections
2222
:status: valid
2323

@@ -79,8 +79,8 @@ The detailed design and coding inspection is not of this kind. Here we define th
7979
already has the (formal) character of an inspection, i.e. the review checklist is used.
8080
The scope of such a detailed design / code inspection is always the change introduced, as documented in github.
8181
The inspection is initiated by the author of the change and reviewers are invited automatically
82-
based on the CODEOWNER(s) definition of the modified files. In case the fixing of review findings is not agreed
83-
between reviewer(s) and author, the safety manager or quality manager can be added to the review to moderate a solution.
82+
based on an implemented technical reviewer mechanism defined for the modified files. In case the fixing of review findings is not agreed
83+
between reviewer(s) and author, the safety manager, security manager or quality manager can be added to the review to moderate a solution.
8484

8585
The initial step for requirements and architecture is the (informal) GitHub review on every Pull-Request
8686
(resp. Change Request, see `REPLACE_doc__contr_guideline`)
@@ -90,18 +90,18 @@ In this review the checklist entries shall be considered which are tagged as "in
9090

9191
The last step is initiated by the safety manager, security manager or quality manager:
9292
He asks the main work product author to set the work product's status to "valid(inspected)" and start a Pull-Request (PR).
93-
GitHub will automatically ask for a review by the defined one or more "CODEOWNER" of the work product.
93+
GitHub will automatically ask for a review by the defined one or more reviewer implemented by the technical reviewer mechanism of the work product.
9494
In the PR description the inspection result will be documented for each checklist item
9595
(pass/fail - with link to a ticket for the corrections, or by citing the checklist item in the github comment).
96-
The CODEOWNER(s)=reviewers will fill out the checklist and add their findings on the work product in the PR.
96+
The reviewers will fill out the checklist and add their findings on the work product in the PR.
9797
They close their review activity by documenting their verdict as "Approve" or "Request Changes".
9898
Any one "Request Changes" will block the PR from being merged. Note that the PR author cannot "Approve" or "Request Changes".
9999
After all requested reviews were done, the author answers the findings in GitHub comments and/or performs corrections of the work products.
100100
Then the reviewer(s) re-review and adapt their verdict accordingly.
101101
In case the author or the reviewer(s) cannot agree on a solution, the safety/security/quality manger
102102
who initiated the inspection will be asked to moderate this by requesting also his review.
103103

104-
The following picture shall illustrate how a status lifecycle of a requirement workproduct will look like.
104+
The following picture shall illustrate how a status lifecycle of a requirement work product will look like.
105105
The lifecycle for an architecture work product should be similar.
106106

107107
.. figure:: _assets/inspection_workflow.drawio.svg
@@ -115,7 +115,7 @@ The lifecycle for an architecture work product should be similar.
115115
#. (Informal) Pull-Request Review
116116
#. Merge valid requirement to main
117117
#. During development and verification steps the requirement is reworked and again put to PR Review
118-
#. Implementation and verification workproducts are linked
118+
#. Implementation and verification work products are linked
119119
#. Safety manager initiates a (formal) Pull-Request Inspection
120120
#. After finding resolution, the requirement is merged in valid(inspected) state
121121
#. In case of changes the requirement returns in the valid state
@@ -133,7 +133,7 @@ for those which are QM but are security related the security manger may request
133133
but also the quality manager may ask for inspection for critical QM work products.
134134

135135
Judging if the maturity of a work product is already enough to request an inspection
136-
can be based for example for the requiremnts on their "Implemented by", "Verified by" and "Requirement Covered" attribute.
136+
can be based for example for the requirements on their "Implemented by", "Verified by" and "Requirement Covered" attribute.
137137
For example when requesting a new feature by filling out the :need:`gd_temp__change__feature_request`
138138
you are asked to also specify the feature's requirements
139139
- it is not expected that the maturity of the requirements is already enough at this time to make a good inspection.
@@ -147,8 +147,8 @@ Reviewers shall comment also the checklist items which they mark as passed, as a
147147
to be able to later explain what they considered during review
148148
(for example in case a requirement is found to be wrong after the release, to be able to do a lessons learned).
149149

150-
Any workproduct which is subject to inspection and is modified after an inspection
151-
shall transition from "valid(inspected)" back to "valid" state. This shall be automaticly checked.
150+
Any work product which is subject to inspection and is modified after an inspection
151+
shall transition from "valid(inspected)" back to "valid" state. This shall be automatically checked.
152152

153153
Process Requirements
154154
^^^^^^^^^^^^^^^^^^^^

process/process_areas/architecture_design/guidance/architecture_process_reqs.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Attributes of Architectural Elements
112112
:status: valid
113113
:tags: attribute, mandatory
114114

115-
Each requirement shall have a security relevance identifier:
115+
Each architectural element shall have a security relevance identifier:
116116

117117
* Yes
118118
* No
@@ -123,7 +123,7 @@ Attributes of Architectural Elements
123123
:tags: attribute, mandatory
124124
:complies: std_req__iso26262__support_6421, std_req__iso26262__support_6425
125125

126-
Each requirement shall have a automotive safety integrity level (ASIL) identifier:
126+
Each architectural element shall have a automotive safety integrity level (ASIL) identifier:
127127

128128
* QM
129129
* ASIL_B
@@ -135,7 +135,7 @@ Attributes of Architectural Elements
135135
:tags: attribute, mandatory
136136
:complies: std_req__iso26262__support_6425
137137

138-
Each requirement shall have a status:
138+
Each architectural element shall have a status:
139139

140140
* valid
141141
* invalid

process/process_areas/documentation_management/documentation_concept.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ and "Part 8: Supporting processes".
2525

2626
Key concept
2727
^^^^^^^^^^^
28-
The Documentation Management Plan should define the strategy to manage the identifed documentations
28+
The Documentation Management Plan should define the strategy to manage the identified documentations
2929
in an effective and repeatable way for the project life cycle.
3030

3131

process/process_areas/documentation_management/guidance/documentation_process_reqs.rst

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,54 @@
1717
Document Management Process Requirements
1818
========================================
1919

20+
.. gd_req:: Document Types
21+
:id: gd_req__doc_types
22+
:status: valid
23+
:complies: std_req__iso26262__support_1043
24+
25+
There is only one generic document type:
26+
* document
27+
28+
.. note::
29+
This type is the ONLY type, which can be used for realizing concrete work products,
30+
e.g. Safety Plan
31+
32+
.. note::
33+
Process documents are not generic documents and types for that shall only used for
34+
process definition, as defined
35+
36+
* gd_chklst
37+
* gd_guidl
38+
* gd_req
39+
* gd_temp
40+
* doc_concept
41+
* doc_getstrt
42+
* workproduct
43+
* workflow
44+
* role
45+
46+
47+
.. gd_req:: Document attributes
48+
:id: gd_req__doc_attributes
49+
:status: valid
50+
:complies: std_req__iso26262__support_1043
51+
52+
Documents shall have the following manual attributes:
53+
54+
* id
55+
* status
56+
* security
57+
* safety
58+
* realizes
59+
60+
Compare also :need:`gd_temp__documentation`
61+
62+
Documents shall have automatic added attributes:
63+
64+
* author
65+
* approver
66+
* reviewer
67+
2068
.. gd_req:: Document Author
2169
:id: gd_req__doc_author
2270
:status: valid
@@ -34,7 +82,7 @@ Document Management Process Requirements
3482
:complies: std_req__iso26262__support_1045
3583

3684
Documents headers shall contain an "approver" attribute, which is added during documentation build
37-
and contains the last PR CODEOWNER reviewer of the file containing the document.
85+
and contains the name of the last approval reviewer of the file containing the document.
3886

3987
.. gd_req:: Document Reviewer
4088
:id: gd_req__doc_reviewer
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
..
2+
# *******************************************************************************
3+
# Copyright (c) 2025 Contributors to the Eclipse Foundation
4+
#
5+
# See the NOTICE file(s) distributed with this work for additional
6+
# information regarding copyright ownership.
7+
#
8+
# This program and the accompanying materials are made available under the
9+
# terms of the Apache License Version 2.0 which is available at
10+
# https://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# SPDX-License-Identifier: Apache-2.0
13+
# *******************************************************************************
14+
15+
.. _documentation_templates:
16+
17+
Documentation Templates
18+
=======================
19+
20+
.. gd_temp:: Documentation Template
21+
:id: gd_temp__documentation
22+
:status: valid
23+
:complies: std_req__iso26262__support_1045
24+
25+
| .. document:: <Document Name>
26+
| :id: doc__<Document Name>
27+
| :status: <valid|invalid>
28+
| :security: <YES|NO>
29+
| :safety: <QM|ASIL_B|ASIL_D>
30+
| :realizes: wp__<name of wp in process description>

process/process_areas/documentation_management/guidance/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ Guidance
2020

2121
documentation_guideline
2222
documentation_checklist
23+
documentation_templates
2324
documentation_process_reqs

process/process_areas/platform_management/platform_management_workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Workflow Platform Management
2626
:supported_by: rl__safety_manager, rl__security_manager, rl__quality_manager
2727
:input: wp__policies, wp__issue_track_system
2828
:output: wp__platform_mgmt, wp__project_mgt, wp__document_mgt_plan
29-
:contains: gd_temp__platform__mgmt_plan, gd_guidl__platform__mgmt_plan, gd_guidl__documentation, gd_chklst__documentation__review
29+
:contains: gd_temp__platform__mgmt_plan, gd_guidl__platform__mgmt_plan, gd_guidl__documentation, gd_chklst__documentation__review, gd_temp__documentation
3030
:has: doc_concept__platform__process, doc_getstrt__platform__process
3131

3232
The Platform Management Plan shall include the plans as defined by the

process/process_areas/requirements_engineering/guidance/requirements_process_reqs.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,11 @@ Process Requirement Attributes
8989
:tags: attribute, mandatory
9090
:satisfies: wf__req__stkh_req, wf__req__feat_req, wf__req__comp_req
9191

92-
Each requirement shall have a type of one of following options:
92+
Each requirement, apart from process requirements, shall have a type of one of following options:
9393

9494
* Functional
9595
* Interface
9696
* Process
97-
* Legal
9897
* Non-Functional
9998

10099
.. gd_req:: Requirements attribute: security
@@ -128,7 +127,7 @@ Process Requirement Attributes
128127
:complies: std_req__iso26262__support_6425
129128
:satisfies: wf__req__stkh_req, wf__req__feat_req, wf__req__comp_req
130129

131-
Each requirement shall have a status:
130+
Each requirement, apart from process requirements, shall have a status:
132131

133132
* valid
134133
* invalid

0 commit comments

Comments
 (0)