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

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

Đang mở
#629 0 bình luận 0 reaction 1 người được giao Được @RolandJentschETAS nhận Xem trên GitHub
Ngôn ngữ chính
Python
Star
10
Fork
32
Merge trung bình
23 giờ 52 phút
Pull request đã merge (30 ngày)
52

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.