Skip to content

Enforce Behavior Annex dispatch protocol and trigger compatibility rules 🤖 #3187

Description

@lwrage

Summary

BA validation does not implement the complete AS5506/3 Rev. A D.4 compatibility matrix between Dispatch_Protocol and dispatch-trigger conditions, or all naming/category and core dispatch/freeze consistency rules.

The checker has selected timeout and stop branches, while dispatch and frozen-port syntax resolve through generic references.

Reproduction

This issue comes from the source audit in ba/doc/conformance.md; no additional runtime reproduction was performed.

Expected behavior

Validate every D.4 protocol/trigger matrix row, legal feature directions and categories, dispatch trigger property restrictions, and frozen-port consistency. Diagnostics should identify the incompatible trigger or property.

Relevant code

  • ba/org.osate.ba/src/org/osate/ba/analyzers/AadlBaLegalityRulesChecker.java — D.4 timeout checks.
  • ba/org.osate.ba/src/org/osate/ba/analyzers/AadlBaSemanticRulesChecker.java — stop check.
  • ba/org.osate.xtext.aadl2.ba/src/org/osate/xtext/aadl2/ba/BehaviorAnnex.xtext — dispatch and frozen references.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions