Skip to content

feat: add NPR7150, the NASA NPR 7150.2D software-engineering library - #22

Merged
HuiJun merged 4 commits into
mainfrom
feat/npr7150
Nov 23, 2026
Merged

HuiJun merged 4 commits into
mainfrom
feat/npr7150

Conversation

@HuiJun

@HuiJun HuiJun commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds libraries/NPR7150.sysml, the vocabulary of NASA NPR 7150.2D (NASA Software Engineering Requirements) with the software assurance and software safety tasks of NASA-STD-8739.8B, built the way NPR7123 was.

  • SoftwareClass A to F (Appendix D) and SoftwareSystem with softwareClass and safetyCritical; keyword #softwareSystem.
  • 130 [SWE-nnn] requirement definitions (requirement def <'SWE-013'> SWE013 :> SWERequirement): the 100 rows of the Requirements Mapping Matrix (Appendix C, Table 2) in SWERequirements, each with one @ClassApplicability per class marked 'X', its authority and classFAuthority; the other 30 in InstitutionalRequirements.
  • @SafetyCriticalSoftwareCondition on the section 3.7 requirements, and TraceabilityRelation / @TraceabilityExpectation for the bi-directional traceability of SWE-052.
  • @RequirementMapping { comply; justification; approvedBy } for a project's own mapping, RequirementsMappingMatrix :> Document and the RequirementsMappingRegister / SoftwareClassificationRegister queries that generate its tables.
  • 203 NASA-STD-8739.8B Table 1 tasks in SoftwareAssurance (requirement def <'SWE-134-SA-1'> SA134_1 :> SATask), keyed to the SWE number of their row; the standard gives the tasks no identifiers, so the short names are the library's.

engine-contract.json gains the nine NPR7150::* names the OpenSysML NPR7150Pass binds; README row and .meta.json are regenerated.

Transcription notes:

  • Requirement text is the chapter text; Appendix C words SWE-039, SWE-052, SWE-094, SWE-131, SWE-141 and SWE-157 slightly differently.
  • Table 2 marks SWE-015 for Class F with no Class F authority; the row is kept as printed.

Verification

  • ./scripts/validate-libraries.sh: 0 errors, 0 warnings
  • ./scripts/check-readme-table.sh, ./scripts/write-project-meta.py --check, ./scripts/check-engine-contract.sh --base origin/main: clean

The OpenSysML pin moves to this commit in a follow-up PR there, once this merges.


Captain opened this PR for Jason
Implemented in session Implement NPR 7150.2D library like NPR 7123.1
Review with Devin · Open in Devin Desktop


devin-ai-integration Bot and others added 2 commits November 20, 2026 04:55
…nnn-SA-n

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

… both authority columns

RequirementsMappingRegister now takes only the SWE requirement entries and
shows the Class A-E and Class F authority of Table 2; the mapped
NASA-STD-8739.8B tasks get their own AssuranceTaskRegister.

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

Co-Authored-By: jason.han <hanhuijun@gmail.com>
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