eclipse-score / eclipse-score/docs-as-code

requirements.rst: arch_linkage_safety table missing real_arc_int_op rows for comp implements/uses

Offen
#629 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @RolandJentschETAS Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
10
Forks
32
Ø Merge
23 Std. 52 Min.
Gemergte PRs (30 T.)
52

Beschreibung

## Context

Follow-up from review discussion on #624 (`tool_req__arch_linkage_safety`).

## Issue

In `docs/internals/requirements/requirements.rst`, the linkage table under `tool_req__arch_linkage_safety` documents:

```
comp, implements, logic_arc_int, no, yes
comp, uses, logic_arc_int, no, yes
```

However, `src/extensions/score_metamodel/metamodel.yaml` allows both `implements` and `uses` from `comp` to target **either** `logic_arc_int` or `real_arc_int_op`:

```yaml
optional_links:
implements: logic_arc_int, real_arc_int_op
uses: logic_arc_int, real_arc_int_op
```

The table only lists `logic_arc_int` as a target, so it doesn't fully mirror the metamodel for these two relations.

## Suggested fix

Either:
1. Add rows for `comp, implements, real_arc_int_op` and `comp, uses, real_arc_int_op`, or
2. If the omission is intentional (table only documents the safety-relevant subset per `gd_req__arch_linkage_safety`), note that explicitly in the table/requirement text.

## Reference

- PR: #624
- Review comment: https://github.com/eclipse-score/docs-as-code/pull/624#issuecomment-4600579672

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.