Skip to content

[rules score] derive AoUs from safety analysis measures - #510

Merged
castler merged 1 commit into
mainfrom
joho_refine_aous
Oct 7, 2026
Merged

castler merged 1 commit into
mainfrom
joho_refine_aous

Conversation

@hoe-jo

@hoe-jo hoe-jo commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Split the safety analysis into fault_trees and safety_analysis. A dependable_element now derives its own AoUs from safety-analysis measures, so the assumptions_of_use attribute is removed.

  • ScoreReq.AoU extends SafetyMeasure; root_causes is mandatory
  • Forwarding YAML entries require aou_id@version
  • Merge duplicate lobster items (merge_lobster_items) per dependability_analysis and dependable_element, so the same AoU listed by several safety analyses is reported once
  • Render measure requirements, keep measure deps parse-only; CompReq measures are not fed to lobster-trlc
  • rst_to_trlc: reject :root_causes: on non-AoU directives, skip self-imports of the output package
  • Default fta_package is package and name joined by __ + _fta
  • Update docs, examples, skills and tests

BREAKING: every ScoreReq.AoU needs root_causes; the dependable_element.assumptions_of_use attribute is gone. Downstream repos must regenerate their sync_skills goldens.

Split the safety analysis into fault_trees and safety_analysis. A
dependable_element now derives its own AoUs from safety-analysis
`measures`, so the `assumptions_of_use` attribute is removed.

- ScoreReq.AoU extends SafetyMeasure; `root_causes` is mandatory
- Forwarding YAML entries require `aou_id@version`
- Merge duplicate lobster items (merge_lobster_items) per
  dependability_analysis and dependable_element, so the same AoU
  listed by several safety analyses is reported once
- Render measure requirements, keep measure deps parse-only; CompReq
  measures are not fed to lobster-trlc
- rst_to_trlc: reject `:root_causes:` on non-AoU directives, skip
  self-imports of the output package
- Default `fta_package` is package and name joined by `__` + `_fta`
- Update docs, examples, skills and tests

BREAKING: every ScoreReq.AoU needs `root_causes`; the
`dependable_element.assumptions_of_use` attribute is gone. Downstream
repos must regenerate their sync_skills goldens.
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

Coverage Report

Coverage report was generated.

Full report can be downloaded from the CI artifacts (expand Artifacts at the bottom of the run).

Overall coverage rate:

lines......: 88.5%
functions......: 58.6%

@castler
castler merged commit e23c699 into main Oct 7, 2026
17 checks passed
@castler
castler deleted the joho_refine_aous branch October 7, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants