Skip to content

Add covers flag to meta model to link aou#489

Open
FScholPer wants to merge 8 commits intomainfrom
add_covers_meta_model
Open

Add covers flag to meta model to link aou#489
FScholPer wants to merge 8 commits intomainfrom
add_covers_meta_model

Conversation

@FScholPer
Copy link
Copy Markdown
Contributor

📌 Description

Adds Covers flag for linking aou to requirements(https://eclipse-score.github.io/process_description/main/process_areas/requirements_engineering/guidance/requirements_process_reqs.html#gd_req__req_linkage_aou)

🚨 Impact Analysis

  • This change does not violate any tool requirements and is covered by existing tool requirements
  • This change does not violate any design decisions
  • Otherwise I have created a ticket for new tool qualification

✅ Checklist

  • Added/updated documentation for new or changed features
  • Added/updated tests to cover the changes
  • Followed project coding standards and guidelines

Frank Scholter Peres frank.scholter_peres@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH
Provider Information

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 14, 2026

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //src:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.4.2) and connecting to it...
INFO: Invocation ID: 585067ff-9e4c-47c9-8d1f-f4f49b620a95
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//src:license-check': no such target '//src:license-check': target 'license-check' not declared in package 'src' defined by /home/runner/work/docs-as-code/docs-as-code/src/BUILD
Analyzing: 0 targets (1 packages loaded)
ERROR: no such target '//src:license-check': target 'license-check' not declared in package 'src' defined by /home/runner/work/docs-as-code/docs-as-code/src/BUILD
INFO: Elapsed time: 5.148s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@github-actions
Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

Copy link
Copy Markdown
Contributor

@aschemmel-tech aschemmel-tech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

matches metamodel and process requirement gd_req__req_linkage_aou

]
```

## SEooC Traceability and AoU Linking
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far the metamodel is not described at all in docs-as-code, thats the first element which has a description. If thats something we should have, this seems like a good start. But if not, then we dont need this either.

@MaximilianSoerenPollak @a-zw

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes no sense to me. Such documentation belongs into the process docs. Repeating it here just invites trouble via inconsistencies.

Undo all the changes in this file.

Comment on lines +572 to +573
Feature Requirements covers Assumptions of Use (AoU)
Component Requirements covers Assumptions of Use (AoU)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this will work.

Feature requirements are in score repo?!
Component requirements are in "dependable module" repos?!
Where are the assumptions of use? In score or in "dependable module" repos, or both?

Is this actually described somewhere by now? Sorry, I'm not up to date here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest decision is dec_rec__platform__feature_delivery:

Feature architecture and component artifacts are moved to SW-Module repositories. Feature requirements and logical feature interfaces remain in the S-CORE [platform] repository.

The answer here is "both" I suppose. My understanding is that we do not distinguish between "platform" and "module" for AoUs but we do for requirements. Thus, feature requirements in platform repo cover AoUs in the platform repo and component requirements in module repos cover AoUs in module repos (potentially other module repos though).

Comment on lines +578 to +579
**Process reference**: :need:`gd_req__req_linkage_aou` — Requirements SHALL be linked to AoU
via covers if they already cover these.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not repeat that here, it's already covered by satisfies link.



.. Positive Test: feat_req pointing to an aou_req via covers is valid.
#EXPECT-NOT: feat_req__covers__good_1.covers (['aou_req__covers__target']): does not follow pattern `^aou_req__.*$`.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope that error message is not accurate?! 😆
So it will not appear anyway. Therefore this test doesn't actually test anything.

Recommendation:

No errors regarding covers link:
#EXPECT-NOT: covers

]
```

## SEooC Traceability and AoU Linking
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes no sense to me. Such documentation belongs into the process docs. Repeating it here just invites trouble via inconsistencies.

Undo all the changes in this file.

Comment on lines +572 to +573
Feature Requirements covers Assumptions of Use (AoU)
Component Requirements covers Assumptions of Use (AoU)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest decision is dec_rec__platform__feature_delivery:

Feature architecture and component artifacts are moved to SW-Module repositories. Feature requirements and logical feature interfaces remain in the S-CORE [platform] repository.

The answer here is "both" I suppose. My understanding is that we do not distinguish between "platform" and "module" for AoUs but we do for requirements. Thus, feature requirements in platform repo cover AoUs in the platform repo and component requirements in module repos cover AoUs in module repos (potentially other module repos though).

Comment on lines +951 to +955
covers:
incoming: covered by
outgoing: covers
# req-Id: gd_req__req_linkage_aou
# Requirement-to-AoU linking per SCORE process specification
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
covers:
incoming: covered by
outgoing: covers
# req-Id: gd_req__req_linkage_aou
# Requirement-to-AoU linking per SCORE process specification
# req-Id: gd_req__req_linkage_aou
covers:
incoming: covered by
outgoing: covers

Comment on lines +560 to +563
**Purpose**: In SEooC (Safety Element Out of Context) development, AoU capture the
operational context and constraints that validate safety cases. Requirements "cover"
(are bound to) specific assumptions.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Purpose**: In SEooC (Safety Element Out of Context) development, AoU capture the
operational context and constraints that validate safety cases. Requirements "cover"
(are bound to) specific assumptions.

No need to be chatty here. The reference to gd_req__req_linkage_aou is sufficient "purpose".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

4 participants