From 65555d50f7fdf3ae3a76447a3a1c56eb06a7983e Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Tue, 20 Jan 2026 12:56:21 +0100 Subject: [PATCH 01/16] add component to requirement for future fix of meta model --- .../module_name/component_name/docs/requirements/index.rst | 1 + .../guidance/architecture_modeling_example.rst | 1 + .../requirements_engineering/guidance/requirements_templates.rst | 1 + 3 files changed, 3 insertions(+) diff --git a/process/folder_templates/modules/module_name/component_name/docs/requirements/index.rst b/process/folder_templates/modules/module_name/component_name/docs/requirements/index.rst index 66b777004c..24e835803c 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/requirements/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/requirements/index.rst @@ -44,6 +44,7 @@ Component Requirements :safety: ASIL_B :satisfies: feat_req__feature_name__some_title :status: invalid + :belongs_to: comp__component_name_template The Component shall do xyz to another component to bring it to this condition at this time diff --git a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst index 67025ca77e..e6f54ead1e 100644 --- a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst +++ b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst @@ -285,5 +285,6 @@ Requierements for the Example :safety: ASIL_B :satisfies: feat_req__example_feature__archdes_example_req :status: valid + :belongs_to: comp__component_example_2 The component shall provide the Logical Operation 4 to get the .. diff --git a/process/process_areas/requirements_engineering/guidance/requirements_templates.rst b/process/process_areas/requirements_engineering/guidance/requirements_templates.rst index 630c773553..11f7deb055 100644 --- a/process/process_areas/requirements_engineering/guidance/requirements_templates.rst +++ b/process/process_areas/requirements_engineering/guidance/requirements_templates.rst @@ -65,6 +65,7 @@ Templates :safety: :satisfies: :status: + :belongs_to: .. gd_temp:: AoU Requirement Template :id: gd_temp__req_aou_req From 93918e60b6e7c6d716f303615b67b9c5245f296f Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Thu, 22 Jan 2026 08:31:40 +0100 Subject: [PATCH 02/16] move any changes to one PR --- .../module_name/component_name/docs/architecture/index.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst index 669d78e88f..feb1f7b330 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst @@ -82,7 +82,6 @@ The components are designed to cover the expectations from the feature architect :security: YES :safety: ASIL_B :status: invalid - :implements: logic_arc_int__feature_name__interface_name1 :fulfils: comp_req__component_name__some_title :includes: comp_arc_sta__component_name__2 @@ -101,6 +100,7 @@ Dynamic Architecture :safety: ASIL_B :status: invalid :fulfils: comp_req__component_name__some_title + :belongs_to: comp__component_name_template Put here a sequence diagram @@ -126,7 +126,6 @@ Internal Components :safety: ASIL_B :security: YES :fulfils: comp_req__component_name__some_title - :implements: logic_arc_int__feature_name__interface_name1 No architecture but detailed design From fc6fd81a22afb882e4a1bc54d26ce117cf0ca457 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Thu, 22 Jan 2026 12:06:49 +0100 Subject: [PATCH 03/16] add requirements to components --- MODULE.bazel | 6 ++++++ .../module_name/component_name/docs/architecture/index.rst | 3 +-- .../guidance/architecture_modeling_example.rst | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index f0bd0d67b5..f5005e75c7 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -51,3 +51,9 @@ bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2") bazel_dep(name = "aspect_rules_lint", version = "1.5.3") bazel_dep(name = "score_tooling", version = "1.0.2") bazel_dep(name = "score_docs_as_code", version = "2.3.2") + +git_override( + module_name = "score_docs_as_code", + remote = "https://github.com/eclipse-score/docs-as-code.git", + commit = "56ebbde1e4f0d73ec269099babd719a046736ec9", +) diff --git a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst index feb1f7b330..13d8d470f5 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst @@ -76,13 +76,13 @@ The components are designed to cover the expectations from the feature architect :safety: ASIL_B :status: invalid :implements: logic_arc_int__feature_name__interface_name1 + :fulfils: comp_req__component_name__some_title .. comp_arc_sta:: Component Name (Static View) :id: comp_arc_sta__component_name__static_view :security: YES :safety: ASIL_B :status: invalid - :fulfils: comp_req__component_name__some_title :includes: comp_arc_sta__component_name__2 .. needarch:: @@ -99,7 +99,6 @@ Dynamic Architecture :security: YES :safety: ASIL_B :status: invalid - :fulfils: comp_req__component_name__some_title :belongs_to: comp__component_name_template Put here a sequence diagram diff --git a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst index e6f54ead1e..a22623b85c 100644 --- a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst +++ b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst @@ -194,6 +194,7 @@ Component Architecure File(s) :status: invalid :implements: logic_arc_int__example_feature__archex_logical_interface_1 :consists_of: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 + :fulfils: comp_req__example_feature__archex_example_req Example Component 1 description. @@ -212,6 +213,7 @@ Component Architecure File(s) :safety: QM :status: invalid :implements: logic_arc_int__example_feature__archex_logical_interface_3 + :fulfils: comp_req__example_feature__archex_example_req Example Component 3 description. @@ -221,7 +223,6 @@ Component Architecure File(s) :safety: ASIL_B :security: NO :includes: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 - :fulfils: comp_req__example_feature__archex_example_req .. needarch:: :scale: 50 From b6356f3023277bf7039ea2f8fffa56df3bdda5ca Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Thu, 22 Jan 2026 16:58:54 +0100 Subject: [PATCH 04/16] change to latest version --- MODULE.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index f5005e75c7..7073b7d666 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -50,7 +50,7 @@ bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2") ############################################################################### bazel_dep(name = "aspect_rules_lint", version = "1.5.3") bazel_dep(name = "score_tooling", version = "1.0.2") -bazel_dep(name = "score_docs_as_code", version = "2.3.2") +bazel_dep(name = "score_docs_as_code", version = "2.3.3") git_override( module_name = "score_docs_as_code", From 0448ebbd0c6ce5011f7af4c1620dccd24d3f43f9 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Fri, 23 Jan 2026 14:29:43 +0100 Subject: [PATCH 05/16] fix picture and link --- .../docs/architecture/index.rst | 2 +- ...core_building_blocks_meta_model.drawio.svg | 200 +++++++++++------- 2 files changed, 121 insertions(+), 81 deletions(-) diff --git a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst index 13d8d470f5..2fd60933ff 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst @@ -83,7 +83,7 @@ The components are designed to cover the expectations from the feature architect :security: YES :safety: ASIL_B :status: invalid - :includes: comp_arc_sta__component_name__2 + :includes: comp__component_name_template .. needarch:: :scale: 50 diff --git a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg index 1c8fda4a87..dee7d5bc3c 100644 --- a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg +++ b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg @@ -1,4 +1,4 @@ - + @@ -27,7 +27,7 @@ -
+
1, * @@ -35,7 +35,7 @@
- + 1, * @@ -45,7 +45,7 @@ -
+
belongs_to @@ -67,7 +67,7 @@ -
+
includes @@ -105,14 +105,14 @@ - - + + -
+
implements / @@ -122,7 +122,7 @@
- + implements /... @@ -229,7 +229,7 @@ -
+
fulfills @@ -244,14 +244,14 @@ - + -
+
includes @@ -259,12 +259,52 @@
- + includes + + + + + + + + +
+
+
+ has +
+
+
+
+ + has + +
+
+
+ + + + +
+
+
+ belongs_to +
+
+
+
+ + belongs_to + +
+
+
@@ -298,7 +338,7 @@ -
+
satifies @@ -306,7 +346,7 @@
- + satifies @@ -344,7 +384,7 @@ -
+
1,* @@ -352,7 +392,7 @@
- + 1,* @@ -362,7 +402,7 @@ -
+
belongs_to @@ -370,7 +410,7 @@
- + belongs_to @@ -380,7 +420,7 @@ -
+
consists of @@ -388,7 +428,7 @@
- + consists of @@ -402,7 +442,7 @@ -
+
includes @@ -410,7 +450,7 @@
- + includes @@ -465,7 +505,7 @@ -
+
has @@ -483,7 +523,7 @@ -
+
belongs_to @@ -491,7 +531,7 @@
- + belongs_to @@ -634,7 +674,7 @@ -
+
1, * @@ -642,7 +682,7 @@
- + 1, * @@ -652,7 +692,7 @@ -
+
consists of @@ -660,7 +700,7 @@
- + consists of @@ -670,7 +710,7 @@ -
+
has @@ -688,7 +728,7 @@ -
+
1, * @@ -696,7 +736,7 @@
- + 1, * @@ -733,7 +773,7 @@ -
+
1 @@ -778,7 +818,7 @@ -
+
fulfills @@ -829,7 +869,7 @@ -
+
satifies @@ -837,7 +877,7 @@
- + satifies @@ -869,7 +909,7 @@ -
+
belongs_to @@ -881,7 +921,7 @@
- + belongs_to @@ -942,7 +982,7 @@ -
+
satifies @@ -964,7 +1004,7 @@ -
+
implements @@ -982,7 +1022,7 @@ -
+
consists of @@ -990,14 +1030,14 @@
- + consists of - + @@ -1019,9 +1059,9 @@ - + - + @@ -1155,7 +1195,7 @@ -
+
1, * @@ -1163,7 +1203,7 @@
- + 1, * @@ -1200,8 +1240,8 @@ - - + + @@ -1319,7 +1359,7 @@ -
+
verifies @@ -1327,7 +1367,7 @@
- + verifies @@ -1337,7 +1377,7 @@ -
+
violates @@ -1345,7 +1385,7 @@
- + violates @@ -1355,7 +1395,7 @@ -
+
mitigated_by @@ -1363,7 +1403,7 @@
- + mitigated_by @@ -1373,7 +1413,7 @@ -
+
verifies @@ -1381,7 +1421,7 @@
- + verifies @@ -1486,7 +1526,7 @@ -
+
violates @@ -1494,7 +1534,7 @@
- + violates @@ -1504,7 +1544,7 @@ -
+
mitigated_by @@ -1512,7 +1552,7 @@
- + mitigated_by @@ -1522,7 +1562,7 @@ -
+
mitigated_by @@ -1530,7 +1570,7 @@
- + mitigated_by @@ -1540,7 +1580,7 @@ -
+
mitigated_by @@ -1548,7 +1588,7 @@
- + mitigated_by @@ -1558,7 +1598,7 @@ -
+
verifies @@ -1566,7 +1606,7 @@
- + verifies @@ -1603,7 +1643,7 @@ -
+
verifies @@ -1611,7 +1651,7 @@
- + verifies @@ -1621,7 +1661,7 @@ -
+
verifies @@ -1629,7 +1669,7 @@
- + verifies @@ -1710,7 +1750,7 @@ -
+
mitigated_by @@ -1718,7 +1758,7 @@
- + mitigated_by @@ -1758,7 +1798,7 @@ -
+
mitigated_by @@ -1766,7 +1806,7 @@
- + mitigated_by @@ -1780,7 +1820,7 @@ -
+
violates @@ -1788,7 +1828,7 @@
- + violates @@ -1974,7 +2014,7 @@ -
+
belongs_to @@ -1982,7 +2022,7 @@
- + belongs_to From 7beebaabda18d4ded43fa46916ba1c6e1273ed59 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Fri, 23 Jan 2026 14:44:59 +0100 Subject: [PATCH 06/16] fix format --- MODULE.bazel | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 7073b7d666..0dfd74462a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -51,9 +51,8 @@ bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2") bazel_dep(name = "aspect_rules_lint", version = "1.5.3") bazel_dep(name = "score_tooling", version = "1.0.2") bazel_dep(name = "score_docs_as_code", version = "2.3.3") - git_override( module_name = "score_docs_as_code", - remote = "https://github.com/eclipse-score/docs-as-code.git", commit = "56ebbde1e4f0d73ec269099babd719a046736ec9", + remote = "https://github.com/eclipse-score/docs-as-code.git", ) From c2db6f21f42e62756ba2c094a29a54cc6385075d Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Fri, 23 Jan 2026 16:03:57 +0100 Subject: [PATCH 07/16] further fixes --- .../component_name/docs/architecture/index.rst | 4 ++-- .../architecture_design/architecture_concept.rst | 9 ++++++--- .../guidance/architecture_modeling_example.rst | 4 +--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst index 2fd60933ff..6fa660cbc8 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst @@ -76,14 +76,13 @@ The components are designed to cover the expectations from the feature architect :safety: ASIL_B :status: invalid :implements: logic_arc_int__feature_name__interface_name1 - :fulfils: comp_req__component_name__some_title .. comp_arc_sta:: Component Name (Static View) :id: comp_arc_sta__component_name__static_view :security: YES :safety: ASIL_B :status: invalid - :includes: comp__component_name_template + :belongs_to: comp__component_name_template .. needarch:: :scale: 50 @@ -125,6 +124,7 @@ Internal Components :safety: ASIL_B :security: YES :fulfils: comp_req__component_name__some_title + :belongs_to: comp__component_example_2 No architecture but detailed design diff --git a/process/process_areas/architecture_design/architecture_concept.rst b/process/process_areas/architecture_design/architecture_concept.rst index bd693653d7..e34ce9ec73 100644 --- a/process/process_areas/architecture_design/architecture_concept.rst +++ b/process/process_areas/architecture_design/architecture_concept.rst @@ -211,8 +211,8 @@ The *component architecture* describes the implementation of the functionalities :status: valid :safety: ASIL_B :security: NO - :includes: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 :fulfils: comp_req__example_feature__archex_example_req + :belongs_to: comp__component_example_1 .. needarch:: :scale: 50 @@ -538,8 +538,8 @@ The following section is an example, how an component looks like and how the det :status: valid :safety: ASIL_B :security: NO - :includes: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 :fulfils: comp_req__example_feature__archex_example_req + :belongs_to: comp__component_example_1 .. needarch:: :scale: 50 @@ -556,7 +556,7 @@ The following section is an example, how an component looks like and how the det :security: NO :includes: logic_arc_int__example_feature__archex_logical_interface_1, comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 :fulfils: comp_req__example_feature__archex_example_req - + :belongs_to: comp__component_component_getstrt .. needarch:: :scale: 50 :align: center @@ -603,6 +603,7 @@ Debug example for component architecture: :security: NO :includes: :fulfils: comp_req__example_feature__archex_example_req + :belongs_to: comp__component_example_1 .. needarch:: :scale: 50 @@ -629,6 +630,7 @@ To make *needuml* work we have to replace the *need()* call with a different fun :security: NO :uses: logic_arc_int__example_feature__archex_logical_interface_1 :fulfils: comp_req__example_feature__archex_example_req + :belongs_to: comp__component_component_manual_getstrt .. needuml:: @@ -644,6 +646,7 @@ To make *needuml* work we have to replace the *need()* call with a different fun :security: NO :uses: logic_arc_int__example_feature__archex_logical_interface_1 :fulfils: comp_req__example_feature__archex_example_req + :belongs_to: comp__component_example_1 .. needarch:: diff --git a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst index a22623b85c..0860c0b9a3 100644 --- a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst +++ b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst @@ -194,7 +194,6 @@ Component Architecure File(s) :status: invalid :implements: logic_arc_int__example_feature__archex_logical_interface_1 :consists_of: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 - :fulfils: comp_req__example_feature__archex_example_req Example Component 1 description. @@ -213,7 +212,6 @@ Component Architecure File(s) :safety: QM :status: invalid :implements: logic_arc_int__example_feature__archex_logical_interface_3 - :fulfils: comp_req__example_feature__archex_example_req Example Component 3 description. @@ -222,7 +220,7 @@ Component Architecure File(s) :status: valid :safety: ASIL_B :security: NO - :includes: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 + :belongs_to: comp__component_example_1 .. needarch:: :scale: 50 From 54aa568c483d2c4b43ec043a1f70aade2234fa4f Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Mon, 26 Jan 2026 07:22:14 +0100 Subject: [PATCH 08/16] nulledit for triggerng workflow again --- MODULE.bazel | 10 +- ...core_building_blocks_meta_model.drawio.svg | 164 +++++++++--------- 2 files changed, 89 insertions(+), 85 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 0dfd74462a..aea4240b7f 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -51,8 +51,12 @@ bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2") bazel_dep(name = "aspect_rules_lint", version = "1.5.3") bazel_dep(name = "score_tooling", version = "1.0.2") bazel_dep(name = "score_docs_as_code", version = "2.3.3") -git_override( +#git_override( +# module_name = "score_docs_as_code", +# commit = "56ebbde1e4f0d73ec269099babd719a046736ec9", +# remote = "https://github.com/eclipse-score/docs-as-code.git", +#) +local_path_override( module_name = "score_docs_as_code", - commit = "56ebbde1e4f0d73ec269099babd719a046736ec9", - remote = "https://github.com/eclipse-score/docs-as-code.git", + path = "../score_docs-as-code", ) diff --git a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg index dee7d5bc3c..bde742b97f 100644 --- a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg +++ b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg @@ -1,4 +1,4 @@ - + @@ -27,7 +27,7 @@ -
+
1, * @@ -35,7 +35,7 @@
- + 1, * @@ -45,7 +45,7 @@ -
+
belongs_to @@ -67,7 +67,7 @@ -
+
includes @@ -105,14 +105,14 @@ - - + + -
+
implements / @@ -122,7 +122,7 @@
- + implements /... @@ -229,7 +229,7 @@ -
+
fulfills @@ -291,7 +291,7 @@ -
+
belongs_to @@ -299,7 +299,7 @@
- + belongs_to @@ -338,7 +338,7 @@ -
+
satifies @@ -346,7 +346,7 @@
- + satifies @@ -384,7 +384,7 @@ -
+
1,* @@ -392,7 +392,7 @@
- + 1,* @@ -402,7 +402,7 @@ -
+
belongs_to @@ -410,7 +410,7 @@
- + belongs_to @@ -420,7 +420,7 @@ -
+
consists of @@ -428,7 +428,7 @@
- + consists of @@ -442,7 +442,7 @@ -
+
includes @@ -450,7 +450,7 @@
- + includes @@ -505,7 +505,7 @@ -
+
has @@ -523,7 +523,7 @@ -
+
belongs_to @@ -531,7 +531,7 @@
- + belongs_to @@ -674,7 +674,7 @@ -
+
1, * @@ -682,7 +682,7 @@
- + 1, * @@ -692,7 +692,7 @@ -
+
consists of @@ -700,7 +700,7 @@
- + consists of @@ -710,7 +710,7 @@ -
+
has @@ -728,7 +728,7 @@ -
+
1, * @@ -736,7 +736,7 @@
- + 1, * @@ -773,7 +773,7 @@ -
+
1 @@ -818,7 +818,7 @@ -
+
fulfills @@ -869,7 +869,7 @@ -
+
satifies @@ -877,7 +877,7 @@
- + satifies @@ -909,7 +909,7 @@ -
+
belongs_to @@ -921,7 +921,7 @@
- + belongs_to @@ -982,7 +982,7 @@ -
+
satifies @@ -1004,7 +1004,7 @@ -
+
implements @@ -1022,7 +1022,7 @@ -
+
consists of @@ -1030,14 +1030,14 @@
- + consists of - + @@ -1059,9 +1059,9 @@ - + - + @@ -1082,13 +1082,13 @@ - + -
+
* @@ -1096,7 +1096,7 @@
- + * @@ -1195,7 +1195,7 @@ -
+
1, * @@ -1203,7 +1203,7 @@
- + 1, * @@ -1240,8 +1240,8 @@ - - + + @@ -1359,7 +1359,7 @@ -
+
verifies @@ -1367,7 +1367,7 @@
- + verifies @@ -1377,7 +1377,7 @@ -
+
violates @@ -1385,7 +1385,7 @@
- + violates @@ -1395,7 +1395,7 @@ -
+
mitigated_by @@ -1403,7 +1403,7 @@
- + mitigated_by @@ -1413,7 +1413,7 @@ -
+
verifies @@ -1421,7 +1421,7 @@
- + verifies @@ -1526,7 +1526,7 @@ -
+
violates @@ -1534,7 +1534,7 @@
- + violates @@ -1544,7 +1544,7 @@ -
+
mitigated_by @@ -1552,7 +1552,7 @@
- + mitigated_by @@ -1562,7 +1562,7 @@ -
+
mitigated_by @@ -1570,7 +1570,7 @@
- + mitigated_by @@ -1580,7 +1580,7 @@ -
+
mitigated_by @@ -1588,7 +1588,7 @@
- + mitigated_by @@ -1598,7 +1598,7 @@ -
+
verifies @@ -1606,7 +1606,7 @@
- + verifies @@ -1643,7 +1643,7 @@ -
+
verifies @@ -1651,7 +1651,7 @@
- + verifies @@ -1661,7 +1661,7 @@ -
+
verifies @@ -1669,7 +1669,7 @@
- + verifies @@ -1750,7 +1750,7 @@ -
+
mitigated_by @@ -1758,7 +1758,7 @@
- + mitigated_by @@ -1798,7 +1798,7 @@ -
+
mitigated_by @@ -1806,7 +1806,7 @@
- + mitigated_by @@ -1820,7 +1820,7 @@ -
+
violates @@ -1828,7 +1828,7 @@
- + violates @@ -2014,7 +2014,7 @@ -
+
belongs_to @@ -2022,7 +2022,7 @@
- + belongs_to From 102dc32d2e4456103d6a8dd5e706e898b4597933 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Mon, 26 Jan 2026 07:27:08 +0100 Subject: [PATCH 09/16] fix git override --- MODULE.bazel | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index aea4240b7f..0dfd74462a 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -51,12 +51,8 @@ bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2") bazel_dep(name = "aspect_rules_lint", version = "1.5.3") bazel_dep(name = "score_tooling", version = "1.0.2") bazel_dep(name = "score_docs_as_code", version = "2.3.3") -#git_override( -# module_name = "score_docs_as_code", -# commit = "56ebbde1e4f0d73ec269099babd719a046736ec9", -# remote = "https://github.com/eclipse-score/docs-as-code.git", -#) -local_path_override( +git_override( module_name = "score_docs_as_code", - path = "../score_docs-as-code", + commit = "56ebbde1e4f0d73ec269099babd719a046736ec9", + remote = "https://github.com/eclipse-score/docs-as-code.git", ) From da4a09cd6b196faf8f85bd370da302af99184dd0 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Mon, 26 Jan 2026 12:54:27 +0100 Subject: [PATCH 10/16] fix feature req and fix picture --- .../features/feature_name/requirements/index.rst | 1 + .../score_building_blocks_meta_model.drawio.svg | 14 +++++--------- .../architecture_design/architecture_concept.rst | 3 +-- .../guidance/architecture_modeling_example.rst | 1 + .../guidance/requirements_templates.rst | 1 + 5 files changed, 9 insertions(+), 11 deletions(-) diff --git a/process/folder_templates/features/feature_name/requirements/index.rst b/process/folder_templates/features/feature_name/requirements/index.rst index a8a1c8393b..700718d552 100644 --- a/process/folder_templates/features/feature_name/requirements/index.rst +++ b/process/folder_templates/features/feature_name/requirements/index.rst @@ -54,6 +54,7 @@ Requirements :safety: ASIL_B :satisfies: stkh_req__requirements__template :status: invalid + :belongs_to: feat__feature_name The Feature shall do xyz to the user to bring him to this condition at this time. diff --git a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg index bde742b97f..571584dd93 100644 --- a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg +++ b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg @@ -1,4 +1,4 @@ - + @@ -105,14 +105,14 @@ - - + + -
+
implements / @@ -122,7 +122,7 @@
- + implements /... @@ -832,10 +832,6 @@ - - - - diff --git a/process/process_areas/architecture_design/architecture_concept.rst b/process/process_areas/architecture_design/architecture_concept.rst index e34ce9ec73..20e2a70715 100644 --- a/process/process_areas/architecture_design/architecture_concept.rst +++ b/process/process_areas/architecture_design/architecture_concept.rst @@ -554,9 +554,9 @@ The following section is an example, how an component looks like and how the det :status: valid :safety: ASIL_B :security: NO - :includes: logic_arc_int__example_feature__archex_logical_interface_1, comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 :fulfils: comp_req__example_feature__archex_example_req :belongs_to: comp__component_component_getstrt + .. needarch:: :scale: 50 :align: center @@ -601,7 +601,6 @@ Debug example for component architecture: :status: valid :safety: ASIL_B :security: NO - :includes: :fulfils: comp_req__example_feature__archex_example_req :belongs_to: comp__component_example_1 diff --git a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst index 0860c0b9a3..9f1d23293f 100644 --- a/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst +++ b/process/process_areas/architecture_design/guidance/architecture_modeling_example.rst @@ -274,6 +274,7 @@ Requierements for the Example :safety: ASIL_B :satisfies: stkh_req__example_feature__archdes_example_req :status: valid + :belongs_to: feat__example_feature The feature shall provide the functionality to .... diff --git a/process/process_areas/requirements_engineering/guidance/requirements_templates.rst b/process/process_areas/requirements_engineering/guidance/requirements_templates.rst index 11f7deb055..dcaf70bb35 100644 --- a/process/process_areas/requirements_engineering/guidance/requirements_templates.rst +++ b/process/process_areas/requirements_engineering/guidance/requirements_templates.rst @@ -50,6 +50,7 @@ Templates :valid_from: :valid_until: :status: + :belongs_to: .. gd_temp:: Component Requirements Template :id: gd_temp__req_comp_req From c7c8db13003cb8872a5b7cafcaff6bafbf18d5b8 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Mon, 26 Jan 2026 13:46:59 +0100 Subject: [PATCH 11/16] use latest commit on docs-as-code --- MODULE.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index 0dfd74462a..c0a796f3ed 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -53,6 +53,6 @@ bazel_dep(name = "score_tooling", version = "1.0.2") bazel_dep(name = "score_docs_as_code", version = "2.3.3") git_override( module_name = "score_docs_as_code", - commit = "56ebbde1e4f0d73ec269099babd719a046736ec9", + commit = "f784d4370240cc0eafce779e5c317f6bf8988fb2", remote = "https://github.com/eclipse-score/docs-as-code.git", ) From 057a59d5075b072089bd8ee8930dc2f329719027 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Mon, 26 Jan 2026 15:00:04 +0100 Subject: [PATCH 12/16] add belongs_to to feature views --- .../features/feature_name/architecture/index.rst | 2 ++ .../module_name/component_name/docs/architecture/index.rst | 4 ++++ .../architecture_design/architecture_concept.rst | 3 +++ .../guidance/architecture_modeling_example.rst | 1 + 4 files changed, 10 insertions(+) diff --git a/process/folder_templates/features/feature_name/architecture/index.rst b/process/folder_templates/features/feature_name/architecture/index.rst index 008ac3bcb8..153945052f 100644 --- a/process/folder_templates/features/feature_name/architecture/index.rst +++ b/process/folder_templates/features/feature_name/architecture/index.rst @@ -92,6 +92,7 @@ Static Architecture :status: invalid :fulfils: feat_req__feature_name__some_title :includes: logic_arc_int__feature_name__interface_name1 + :belongs_to: feat__feature_name .. needarch:: :scale: 50 @@ -108,6 +109,7 @@ Dynamic Architecture :safety: ASIL_B :status: invalid :fulfils: feat_req__feature_name__some_title + :belongs_to: feat__feature_name Put here a sequence diagram diff --git a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst index 6fa660cbc8..b2d0027f63 100644 --- a/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst +++ b/process/folder_templates/modules/module_name/component_name/docs/architecture/index.rst @@ -70,12 +70,15 @@ Static Architecture The components are designed to cover the expectations from the feature architecture (i.e. if already exists a definition it should be taken over and enriched). +A component can optional also consist of subcomponents to further structure the architecture. The component and its static views can also optionally use interfaces provided by other components. + .. comp:: Component Name :id: comp__component_name_template :security: YES :safety: ASIL_B :status: invalid :implements: logic_arc_int__feature_name__interface_name1 + :consists_of: comp__archex_sub_component_1, comp__archex_sub_component_2, comp__archex_sub_component_3 .. comp_arc_sta:: Component Name (Static View) :id: comp_arc_sta__component_name__static_view @@ -83,6 +86,7 @@ The components are designed to cover the expectations from the feature architect :safety: ASIL_B :status: invalid :belongs_to: comp__component_name_template + :uses: logic_arc_int__feature_name__interface_name1 .. needarch:: :scale: 50 diff --git a/process/process_areas/architecture_design/architecture_concept.rst b/process/process_areas/architecture_design/architecture_concept.rst index 20e2a70715..c0bac46111 100644 --- a/process/process_areas/architecture_design/architecture_concept.rst +++ b/process/process_areas/architecture_design/architecture_concept.rst @@ -132,6 +132,7 @@ The first viewpoint is named as *feature architecture*. It displays the SW Compo :status: valid :includes: logic_arc_int__example_feature__archex_logical_interface_1, logic_arc_int__example_feature__archex_logical_interface_2 :fulfils: feat_req__example_feature__archdes_example_req + :belongs_to: feat__example_feature .. needarch:: :scale: 50 @@ -497,6 +498,7 @@ The following section is an example, how an `Feature Date: Tue, 27 Jan 2026 10:24:39 +0100 Subject: [PATCH 13/16] add legend --- .../metamodel_architectural_design.drawio.svg | 247 ++++++++++++++---- 1 file changed, 193 insertions(+), 54 deletions(-) diff --git a/process/process_areas/architecture_design/_assets/metamodel_architectural_design.drawio.svg b/process/process_areas/architecture_design/_assets/metamodel_architectural_design.drawio.svg index 878e0974e1..f434f83e92 100644 --- a/process/process_areas/architecture_design/_assets/metamodel_architectural_design.drawio.svg +++ b/process/process_areas/architecture_design/_assets/metamodel_architectural_design.drawio.svg @@ -1,15 +1,15 @@ - + - - + + -
+
includes @@ -17,20 +17,42 @@
- + includes - + + -
+
+
+
+ consist_of +
+
+
+ + + consist_of + + + + + + + + + + + +
Feature @@ -40,42 +62,42 @@
- + Feature... - - + + -
+
- included by + includes
- - included by + + includes - + -
+
Logical Interface @@ -86,44 +108,68 @@
- + Logical Interface... - + + -
+
+
+
+ included_by +
+
+
+ + + included_by + + + + + + + + + + + +
Logical Interface
Operation +
+ (logic_arc_int_op)
- + Logical Interface...
- - + + -
+
implements @@ -131,44 +177,47 @@
- + implements - + -
+
Real Interface
Operation +
+ (real_arc_int_op) +
- + Real Interface... - - + + -
+
included by @@ -176,42 +225,45 @@
- + included by - + -
+
Real Interface +
+ (real_arc_int) +
- - Real Interface + + Real Interface... - - + + -
+
implements / uses @@ -219,21 +271,21 @@
- + implements / uses - - + + -
+
consist_of @@ -241,20 +293,20 @@
- + consist_of - + -
+
Component @@ -265,21 +317,21 @@
- + Component... - - + + -
+
includes @@ -287,29 +339,116 @@
- + includes - + -
+
Module +
+ (mod) +
+
+
+
+ + + Module... + + + + + + + + + + + +
+
+
+ Legend +
+
+
+
+ + Legend + +
+
+
+ + + + + + + +
+
+
+ mandatory +
+
+
+
+ + mandatory + +
+
+
+ + + + + + + +
+
+
+ optional +
+
+
+
+ + optional + +
+
+
+ + + + + + + +
+
+
+ Line Color
- - Module + + Line Color
From 543eb558e6f0abd8c69cb019c98f47f733faee02 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Tue, 27 Jan 2026 11:18:23 +0100 Subject: [PATCH 14/16] add optional uses --- ...core_building_blocks_meta_model.drawio.svg | 40 ++++++++++++++----- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg index 571584dd93..4482740f6d 100644 --- a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg +++ b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg @@ -1,4 +1,4 @@ - + @@ -105,14 +105,14 @@ - - + + -
+
implements / @@ -122,7 +122,7 @@
- + implements /... @@ -832,6 +832,28 @@ + + + + + + + + +
+
+
+ uses +
+
+
+
+ + uses + +
+
+
@@ -905,19 +927,15 @@ -
+
belongs_to -
-
-
-
- + belongs_to From 459ebbeb2b952d20899f770e61c687715aae81d6 Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Wed, 28 Jan 2026 11:14:05 +0100 Subject: [PATCH 15/16] remove FMEA --- .../_assets/score_building_blocks_meta_model.drawio.svg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg index 4482740f6d..88c14cf1da 100644 --- a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg +++ b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg @@ -1,4 +1,4 @@ - + @@ -1269,7 +1269,7 @@
- Feature Safety/FMEA/ + Feature Safety/
Security Analysis
@@ -1277,7 +1277,7 @@
- Feature Safety/FMEA/... + Feature Safety/... From 63fd2b2463fff22017bc91cc40b06a968c78e39d Mon Sep 17 00:00:00 2001 From: "jhr2hi@bosch.com" Date: Fri, 30 Jan 2026 13:00:45 +0100 Subject: [PATCH 16/16] modify picture --- ...core_building_blocks_meta_model.drawio.svg | 125 ++++++------------ 1 file changed, 37 insertions(+), 88 deletions(-) diff --git a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg index 88c14cf1da..4bbb42900c 100644 --- a/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg +++ b/process/general_concepts/_assets/score_building_blocks_meta_model.drawio.svg @@ -1,28 +1,10 @@ - + - - - - -
-
-
- has -
-
-
-
- - has - -
-
-
@@ -105,25 +87,23 @@ - - + + -
+
- implements / -
uses
- - implements /... + + uses @@ -269,24 +249,6 @@ - - - - -
-
-
- has -
-
-
-
- - has - -
-
-
@@ -331,8 +293,8 @@ - - + + @@ -420,7 +382,7 @@ -
+
consists of @@ -428,7 +390,7 @@
- + consists of @@ -501,24 +463,6 @@ - - - - -
-
-
- has -
-
-
-
- - h... - -
-
-
@@ -912,13 +856,14 @@
- has +
+
+
- has
@@ -970,24 +915,6 @@
- - - - -
-
-
- has -
-
-
-
- - has - -
-
-
@@ -1576,7 +1503,7 @@ -
+
mitigated_by @@ -1584,7 +1511,7 @@
- + mitigated_by @@ -2130,6 +2057,28 @@ + + + + + + + + +
+
+
+ implements +
+
+
+
+ + implements + +
+
+