Skip to content

Focus robot views on contextual structure and engineering questions - #17

Closed
jevontech wants to merge 1 commit into
mainfrom
fix/focused-model-views
Closed

jevontech wants to merge 1 commit into
mainfrom
fix/focused-model-views

Conversation

@jevontech

Copy link
Copy Markdown
Contributor

Composition views currently expand both contextual parts and their reusable definitions. For example, powerDecomposition repeats the battery, BMS, charger and regulators under both powerModule and PowerModule, obscuring the actual assembly.

The five composition views now select contextual part usages only. Their labels retain type names, while the product and module views each expose one assembly root. Redundant member exposes are removed. Every one of the nine views states its engineering question, scope and exclusions in a doc comment; docs/VIEWS.md explains their complementary purposes and recommended presentation depths.

The hardware connection export starts at the six module boundaries with internals closed. Firmware deployment shows the seven task-to-MCU allocations; the requirements view is explicitly an inventory of 21 system requirements; the safe-stop view covers the behavioral path. Detailed wiring, trace evidence and timing budgets remain in their existing document views.

scripts/render-views.ps1 replaces the obsolete smoke-check command. It exports all nine SVGs and complete diagram products, optionally converts PNGs with resvg, and builds a local gallery. It fails on export errors or incomplete projections. Generated renders stay under ignored target/model-views/.

Validation:

  • Full model: 21 documents, 0 errors, 0 warnings; the existing 16 informational document-container diagnostics remain.
  • Model guards passed.
  • Generated document data: all three committed files checked and unchanged.
  • All nine SVG/PNG view pairs rendered and visually inspected; all diagram products report complete.

The rendering review uses the local Spec42 0.55.0 development build with the ownership-layout, allocation, inherited-port and enclosing-assembly connection corrections. Those Spec42 changes remain local and are not included in this model PR. The repository's pinned CI checker is unchanged.

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