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

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

Aperta
#629 0 commenti 0 reazioni 1 assegnatario Rivendicata da @RolandJentschETAS Vedi su GitHub
Lingua principale
Python
Stelle
10
Fork
32
Merge medio
23h 52m
PR unite (30g)
52

Descrizione

## 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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.