Skip to content

Readable SDS diagrams and two model fixes - #20

Merged
jevontech merged 2 commits into
mainfrom
documents-diagram-depth
Nov 7, 2026
Merged

jevontech merged 2 commits into
mainfrom
documents-diagram-depth

Conversation

@jevontech

Copy link
Copy Markdown
Contributor

Prepares the model for generating its documents with Doc42 in CI.

What changed

  • Diagram depth. The SDS module interconnection (Figure 5) and the four module diagrams (Figures 6–9) drew every nested part and were unreadable on a page.
    • @Diagram { depth = 0; } shows the six line-replaceable units and their connections.
    • depth = 1 shows each module with its direct parts, as the section texts describe.
  • Domain library pin. @Diagram is new in sysml-domain-libraries 146fe5c (Add a Diagram metadata with a depth to the document vocabulary sysml-domain-libraries#9). dependencies.lock.json and the workflow now pin that commit. It also brings in the domain-library commits since 24f13ae.
  • Two model warnings that Spec42 0.59 reports and 0.56 accepted:
    • 30 [one] without importing MeasurementReferences::one
    • four ref … = MissionEnergyAnalysis bindings to analysis definitions, now typed references (ref analysis energyAnalysis : MissionEnergyAnalysis;)

Checked

  • validate_model.py with the pinned Spec42 0.56.0, the new domain-library commit and the pinned methodology: 0 errors, the 4 documented custom-view warnings, and the methodology checks pass. The unit tests pass and generate-document-data.py writes its three files. check-model-guards.ps1 wasn't run locally because PowerShell isn't installed; CI runs it.
  • Doc42 0.5.0 with Spec42 0.59.1 and Resolve qualified references through visible memberships spec42#450 (elan8/doc42#3): doc42 check reports 0 errors and only the 4 documented warnings, and all four PDFs build.

Document generation isn't in CI yet. That follows once the Doc42 release is out.

🤖 Generated with Claude Code

jevontech and others added 2 commits November 7, 2026 00:10
`30 [one]` used the dimensionless unit without importing
MeasurementReferences::one. The four verification cases bound
`ref energyAnalysis = MissionEnergyAnalysis;` and the like to an analysis
definition, but a feature reference must name a feature; they are now typed
references, `ref analysis energyAnalysis : MissionEnergyAnalysis;`. Spec42 0.56
accepted both; 0.59 warns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The module interconnection and the four module diagrams drew every nested
part and were unreadable on a page. `@Diagram { depth = 0; }` shows the six
line-replaceable units and their connections, and `depth = 1` each module
with its direct parts, as their section texts describe. This needs the
Diagram metadata from sysml-domain-libraries 146fe5c, which the lock and the
workflow now pin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jevontech
jevontech merged commit 96bdd09 into main Nov 7, 2026
1 check 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