Skip to content

feat: add the NASA-HDBK-1009A library - #24

Merged
HuiJun merged 5 commits into
mainfrom
feat/hdbk1009
Nov 24, 2026
Merged

HuiJun merged 5 commits into
mainfrom
feat/hdbk1009

Conversation

@HuiJun

@HuiJun HuiJun commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds libraries/HDBK1009.sysml, a non-normative vocabulary for NASA-HDBK-1009A (NASA Systems Modeling Handbook for Systems Engineering, 2025), built the way NPR7123 was. The Handbook is written for SysML v1.7; the library gives its metamodel (Figures 7-1 and 7-2) SysML v2 definitions and semantic-metadata keywords, and its tables as document queries.

  • Requirements pillar: Stakeholder, StakeholderExpectationStatement, Need, Goal, Objective, SystemRequirement / SubsystemRequirement / ComponentRequirement, MeasureOfEffectiveness, MeasureOfPerformance, VerificationRequirement, ValidationRequirement.
  • Behavior, structure, parametric: SystemUseCase, MissionActivity, SystemFunction, ComponentFunction, ComponentStateMachine; SystemContext, ExternalElement, SystemUser, MissionElement, SystemElement, ComponentElement; technicalPerformanceMeasures (#tpm), ParametricAnalysis.
  • V&V: VVCase, VVEvent, VVCaseActivity, VVStep, VVConfiguration, VVPersonnel, VVEquipment, VVFacility, VVArtifact.
  • Products: registers and matrices (RequirementsVerificationMatrix, VerificationRequirementsMatrix, ValidationRequirementsMatrix, …) as Query and Document definitions, plus views.

The Handbook's relationships are the native SysML v2 ones, so the library adds no relationship types:

Handbook (SysML v1.7) SysML v2
«deriveReqt» #derivation connection { end #original ::> a; end #derive ::> b; }
«refine» #refinement dependency from x to y;
«trace» dependency from x to y;
«satisfy» satisfy r by x;
«verify» verify r; in the objective of a verification case
«allocate» allocate x to y;

Things a reader would not guess from the diff:

  • The keywords for Stakeholder and Objective are #stakeholderActor and #missionObjective, because stakeholder and objective are SysML v2 keywords.
  • Matrix columns use maxDepth = 1, so a row lists direct relationships, not the transitive chain.
  • The technical-requirement queries exclude the descendants of verification cases, so a verify in a case's objective is not listed as another requirement.
  • DocumentQueries.sysml: the RelatedColumn documentation names "dependency" as a relationship kind, which the trace columns use. The engine side lands with the OpenSysML pull request.
  • engine-contract.json gains the HDBK1009:: names the OpenSysML checks bind to. Entries are only added; contract stays 1.

Semver impact: MINOR (a new library and new contract entries; nothing changed or removed).

Verification: ./scripts/validate-libraries.sh reports Validation clean: 0 errors, 0 warning(s) against the pinned pilot; .meta.json regenerated with ./scripts/write-project-meta.py.

A coordinated Open-MBEE/OpenSysML pull request re-pins the vendored copy and adds the checks, a worked demo and the design page once this merges.


Captain opened this PR for Jason
Implemented in session Implement NASA-HDBK-1009A mapping like NPR 7123.1
Review with Devin · Open in Devin Desktop


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

Copy link
Copy Markdown
Contributor

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

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

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

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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

devin-ai-integration Bot and others added 3 commits November 21, 2026 05:15
Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
Co-Authored-By: jason.han <hanhuijun@gmail.com>
@HuiJun
HuiJun merged commit 40f72e2 into main Nov 24, 2026
1 of 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