Skip to content

[rules score] add user documentation#226

Merged
castler merged 3 commits into
mainfrom
joho_add_user_documentation
May 20, 2026
Merged

[rules score] add user documentation#226
castler merged 3 commits into
mainfrom
joho_add_user_documentation

Conversation

@hoe-jo
Copy link
Copy Markdown
Contributor

@hoe-jo hoe-jo commented May 19, 2026

No description provided.

- add User Guide
- Refactor Index
- extend rule reference
@hoe-jo hoe-jo force-pushed the joho_add_user_documentation branch from 7454e60 to c520271 Compare May 19, 2026 10:44
@hoe-jo hoe-jo force-pushed the joho_add_user_documentation branch 2 times, most recently from e463cd3 to e4602af Compare May 19, 2026 14:58
castler
castler previously approved these changes May 20, 2026
Copy link
Copy Markdown
Contributor

@castler castler left a comment

Choose a reason for hiding this comment

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

We are missing in this documentation still

  • the manual analysis
  • how to reference requirements in tests
  • Documentation about how to enforce checklist in the GitHub Actions

Overview
========

``rules_score`` organises safety-critical software artefacts into four groups:
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.

We should write here a short section about the goals and how they are achieved.


For the complete `dependable_element` attribute reference, see {ref}`dependable_element <rule-dependable-element>` in the rule index.

## Automatic Validations
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.

  • Correct linkage of requirements
  • Impact check for requirements changes via versioning
  • Requirements Checklist fulfillment via AI scoring
  • Ensured traceability in CI overall required work products
  • SW-Unit Design consistency with Code
  • Need for Manual Analysis reexecution


All requirements are written in [TRLC](https://github.com/bmw-software-engineering/trlc) (Traceability Requirements Language Checker). Each record maps to a specific `ScoreReq` type defined in the [S-CORE requirements model](https://github.com/eclipse-score/tooling/blob/main/bazel/rules/rules_score/trlc/config/score_requirements_model.rsl).

For `TRLC` both a VSCode Extension and a LSP Server (e.g. for Clion) are [available](https://github.com/bmw-software-engineering/trlc-vscode-extension)
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.

We should add a tutorial (at least for Clion) how to set this up.


| Level | Design rule | Content |
|---|---|---|
| SEooC / component | `architectural_design` | Static structure, dynamic behaviour, public API |
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.

Please reference here in "content" the respective sections from the ISO26262


## `unit_design` — Code-Level Design Diagrams

The `unit_design` rule attaches PlantUML diagrams to a unit. It uses the same `static` / `dynamic` category split as `architectural_design`, but scoped to a single unit's implementation.
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.

We should details this here more. What do we expect to see, what diagram types are supported. An example. How does this relate to the code.

@hoe-jo hoe-jo force-pushed the joho_add_user_documentation branch from e4602af to 691e5f2 Compare May 20, 2026 07:39
Copy link
Copy Markdown
Contributor

@castler castler left a comment

Choose a reason for hiding this comment

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

See previous review.

@castler castler merged commit 31beb5c into main May 20, 2026
5 checks passed
@castler castler deleted the joho_add_user_documentation branch May 20, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants