Skip to content

feat: sync the libraries with OpenSysML develop (OpenSysMLRenderings, StateActivity, SysMLValidation, DocumentQueries) - #2

Merged
HuiJun merged 6 commits into
mainfrom
feature/sync-opensysml-develop-libraries
Oct 10, 2026
Merged

HuiJun merged 6 commits into
mainfrom
feature/sync-opensysml-develop-libraries

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Brings libraries/ back in line with OpenSysML develop, which changed the vendored extension libraries after #1 was merged. Each file is copied byte-identically from OpenSysML develop, in one commit per source PR:

File Change Source
SysMLValidation.sysml reflective metaclass constraints, then reflective relationship objects Open-MBEE/OpenSysML#816, Open-MBEE/OpenSysML#920
OpenSysMLRenderings.sysml new: CaseView/asCaseDiagram, MixedView/asMixedDiagram Open-MBEE/OpenSysML#871
DocumentQueries.sysml overlay : String[0..1] attribute for requirement-diagram verdict overlays Open-MBEE/OpenSysML#886
StateActivity.kerml new: derived feature isActive : Boolean[1] featured by StateAction Open-MBEE/OpenSysML#966

diff -r libraries/ against OpenSysML develop's OpenSysML Libraries/ shows no differences (16 files).

Other changes:

  • engine-contract.json goes from 125 to 132 entries, all additions, so contract stays 1:
    • OpenSysMLRenderings (package) plus ::CaseView, ::MixedView, ::asCaseDiagram and ::asMixedDiagram, which internal/ir/view/view.go binds by prefix.
    • StateActivity (package) plus ::isActive.
    • The overlay read targets DocumentQueries::Diagram, which is a document entry with no attribute list, so it needs no manifest change.
  • README: two new table rows. CaseView/asCaseDiagram is described as a shorter way to write a standard GeneralView filtered on case-family metaclasses, with the standard route added by feat(view): render GeneralView requirement, definition, package and use case graphs OpenSysML#886. MixedView/asMixedDiagram is described as extension-only. StateActivity is listed as executing-engine.
  • CONTRIBUTING: a new "Rendering and view vocabulary" rule: use a standard filtered view wherever one exists, and use library names only as optional shorter forms. A proposal for new rendering or view vocabulary must show that no standard view (a GeneralView, GridView or InterconnectionView with a filter) expresses the same diagram.

Not included: the four standard library package → library package fixes (Open-MBEE/OpenSysML#882) are still unmerged, so the 4-warning allow-list is unchanged.

Verified locally:

  • The pilot pin check passes.
  • validate-libraries.sh gives 0 errors and exactly the 4 allow-listed warnings.
  • check-engine-contract.sh passes.
  • build-kpar.py builds an archive with 16 units.

Open-MBEE/OpenSysML#881 pins this branch's head for now. Please merge this with a merge commit. After it merges I'll move that pin to the merge commit.

Link to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/bf0cf4d7769a49a8adfee6bfd87860f3
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/bf0cf4d7769a49a8adfee6bfd87860f3?variant=devin
Requested by: @HuiJun

devin-ai-integration Bot and others added 6 commits October 6, 2026 02:33
…pen-MBEE/OpenSysML#816

The file is byte-identical to OpenSysML develop 155915e5a.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…en-MBEE/OpenSysML#871

The file is byte-identical to OpenSysML develop 42b54859f.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…SysML#886

The file is byte-identical to OpenSysML develop 42b54859f.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…pen-MBEE/OpenSysML#920

The file is byte-identical to OpenSysML develop 42b54859f.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
…/OpenSysML#966

The file is byte-identical to OpenSysML develop 42b54859f.

Co-Authored-By: jason.han <hanhuijun@gmail.com>
… both libraries

Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

@HuiJun
HuiJun merged commit 98d3503 into main Oct 10, 2026
2 checks passed
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.

1 participant