Skip to content

feat: add the NPR7120 library for NASA NPR 7120.5F - #25

Merged
HuiJun merged 4 commits into
feat/hdbk1009from
feat/npr7120
Nov 24, 2026
Merged

HuiJun merged 4 commits into
feat/hdbk1009from
feat/npr7120

Conversation

@HuiJun

@HuiJun HuiJun commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #24: merge that one first; this PR then retargets to main.

Summary

Adds libraries/NPR7120.sysml, a non-normative vocabulary for NASA NPR 7120.5F, NASA Space Flight Program and Project Management Requirements, following the text of NID 7120.148, which NODIS lists as holding the NPR's most recent requirements. It is built the way NPR7123 was and builds on it: NPR7123 keeps LifeCyclePhase and KeyDecisionPoint thin because NPR 7123.1D defers the life cycles to NPR 7120.5, and this library fills them in without changing NPR7123.

NPR 7120.5F Library element
§2.1, program types and project categories ProgramKind, ProjectCategory, SpaceFlightProgram, SpaceFlightProject
§2.2, Figures 2-2 to 2-5, life cycles LifeCycleKind, LifeCycleStage, ProjectPhase (each literal with the figure's title and stage)
§2.2.7, Tables 2-3 to 2-5, KDPs SpaceFlightKeyDecisionPoint :> NPR7123::KeyDecisionPoint; KeyDecisionPoints has one definition per KDP with its expected maturity state
§2.2.4–2.2.5, Tables 2-3 to 2-6, reviews SpaceFlightLifeCycleReview :> NPR7123::LifeCycleReview; LifeCycleReviews has one definition per table row fixing the NPR7123::ReviewKind and stating the objectives; OtherReview for Table 2-6; AssessmentCriterion
§2.3, oversight DecisionAuthority, ManagementCouncil, StandingReviewBoard
§2.2.3, §2.4, authority documents AuthorityDocument :> Document, NPR7123::WorkProduct with the PFAL, FAD, PCA, Formulation Agreement, Program Plan, Project Plan and DecisionMemorandum
Appendix C, Table C-1 PMRequirements: the 55 requirement statements of chapters 2 and 3 (<'2.2.10'> Req2_2_10) and the 186 required products of the Appendix I tables (TableI1…TableI7), each a PMRequirement with the table's owner, delegation and applicability columns
Appendix C, compliance @PMCompliance { comply; justification; approval } reusing NPR7123::ComplyKind, PMComplianceEntries / PMComplianceRegister, PMComplianceMatrix, PMComplianceMatrixView
#spaceFlightKeyDecisionPoint occurrence kdpC : KDPC;      // designation "KDP C", closes phaseB
#spaceFlightLifeCycleReview action pdr : ProjectPDR {     // kind PDR, requires the SRB
    ref occurrence :>> keyDecisionPoint = kdpC;
}
requirement r : PMRequirements::Req2_2_10 {
    @PMCompliance { comply = ComplyKind::fullyCompliant; }
}

Things worth a reviewer's attention:

  • The program and project definitions are SpaceFlightProgram and SpaceFlightProject, not Program and Project: a Project definition in the package shadows the DocumentQueries::Project calc the register invokes.
  • PMRequirement names its owner attribute requirementOwner, because the member path owner reads the element's owner rather than the attribute.
  • Phases are a separate ProjectPhase enumeration rather than a redefinition of NPR7123::LifeCyclePhase: the NPR separates stages (every life cycle) from phases (projects and single-project programs only).
  • Not modelled: the per-review maturity cells of the Appendix I tables, the templates of Appendices D to H and J, and chapter 3's roles. Products the tables mark Best Practice are not in Table C-1, so product row numbers skip.
  • Table C-1 marks the PM column of paragraph 2.2.5.a A1 without printing a note 1; the library reads it as applicable.
  • Quoted text was checked mechanically against the directive's extracted text. Seven table cells that split across a page break (the KDP 0 state of a tightly coupled program, the KDP III and KDP E states, the project PDR objectives and the three Table 2-6 objectives) could not be matched that way and were transcribed by reading the pages.

No engine-contract entry is needed: the library binds no new name in the engine.

Also adds the README table row and regenerates .meta.json. ./scripts/validate-libraries.sh passes with no errors and no warnings.


🟢 Devin Review found nothing to fix · View findings

Devin Review

Vocabulary for NPR 7120.5F as amended by NID 7120.148: program types and
project categories, the four life cycles with their stages and phases, key
decision points and life-cycle reviews with the expected maturity states
and objectives of Tables 2-3 to 2-6, oversight roles and authority
documents, the Table C-1 requirements and the Appendix C compliance
matrix. Builds on NPR7123, whose life-cycle phases and key decision points
defer to this NPR.

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

@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>

# Conflicts:
#	.meta.json
Co-Authored-By: jason.han <hanhuijun@gmail.com>

# Conflicts:
#	.meta.json
#	README.md
Co-Authored-By: jason.han <hanhuijun@gmail.com>

# Conflicts:
#	.meta.json
#	README.md
@devin-ai-integration
devin-ai-integration Bot changed the base branch from main to feat/hdbk1009 November 23, 2026 04:02
@HuiJun
HuiJun merged commit 20a08f2 into feat/hdbk1009 Nov 24, 2026
2 of 4 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