@memoarchitect/ontology 0.12.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +1 -1
  2. package/examples/gpca-pump/memo.identity.yaml +27 -0
  3. package/examples/sysml-diagram-samples/README.md +10 -0
  4. package/examples/sysml-diagram-samples/dashboards/README.md +17 -0
  5. package/examples/sysml-diagram-samples/dashboards/viewpoint-vp-demo-ibd.md +61 -0
  6. package/examples/sysml-diagram-samples/memo.identity.yaml +616 -0
  7. package/examples/sysml-diagram-samples/model/catalog/project.sysml +2 -11
  8. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/viewpoint.sysml +81 -6
  9. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/action_flow_view.sysml +15 -5
  10. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/browser_view.sysml +88 -0
  11. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/context_view.sysml +6 -6
  12. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/functional_flow_view.sysml +3 -3
  13. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/grid_view.sysml +64 -0
  14. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/interconnection_view.sysml +64 -4
  15. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/operational_behaviour_view.sysml +3 -3
  16. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/package_view.sysml +69 -0
  17. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/requirements_view.sysml +11 -11
  18. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/sequence_view.sysml +97 -0
  19. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/standard_activity_view.sysml +18 -18
  20. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/state_transition_view.sysml +18 -6
  21. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/tree_view.sysml +5 -5
  22. package/examples/sysml-diagram-samples/model/catalog/viewpoints/unassigned/views/use_case_view.sysml +34 -11
  23. package/extensions/aadl/memo.package.yaml +1 -1
  24. package/extensions/cloud/memo.package.yaml +1 -1
  25. package/extensions/container/memo.package.yaml +1 -1
  26. package/extensions/messaging/memo.package.yaml +1 -1
  27. package/extensions/ros/memo.package.yaml +1 -1
  28. package/methodologies/default/memo.package.yaml +1 -1
  29. package/methodologies/gpca/memo.package.yaml +1 -1
  30. package/ontology/memo.package.yaml +1 -1
  31. package/package.json +1 -1
  32. package/profile/memo.package.yaml +1 -1
package/README.md CHANGED
@@ -23,7 +23,7 @@ pin an exact release; the package has no repository or runtime dependency on Mem
23
23
  Tools or Memo Architect.
24
24
 
25
25
  ```bash
26
- pnpm add @memoarchitect/ontology@0.12.0
26
+ pnpm add @memoarchitect/ontology@0.12.1
27
27
  ```
28
28
 
29
29
  > **Pre-1.0 notice:** ontology names, relationships, and package layout may
@@ -461,6 +461,33 @@ elements:
461
461
  "memo_examples_gpca_pump_gpca_behavior_modes::basalConfiguration":
462
462
  shortId: "MDX-2"
463
463
  uuid: "c501579e-f7cc-568a-9e83-e54046d0fb14"
464
+ "memo_examples_gpca_pump_gpca_behavior_modes::modeACTIVE":
465
+ shortId: "MMX-38"
466
+ uuid: "bbbdaf77-0e92-5dbf-8a8c-02f18f0d2857"
467
+ "memo_examples_gpca_pump_gpca_behavior_modes::modeBASAL":
468
+ shortId: "MMX-39"
469
+ uuid: "7b953a4f-32f9-54cc-b909-c8188115a532"
470
+ "memo_examples_gpca_pump_gpca_behavior_modes::modeIDLE":
471
+ shortId: "MMX-40"
472
+ uuid: "035e94ba-3ef4-530a-8b08-d61644cab121"
473
+ "memo_examples_gpca_pump_gpca_behavior_modes::modeOFF":
474
+ shortId: "MMX-41"
475
+ uuid: "34db9680-371a-5858-9065-658612f43847"
476
+ "memo_examples_gpca_pump_gpca_behavior_modes::modeON":
477
+ shortId: "MMX-42"
478
+ uuid: "48516c5a-a57a-536f-8a6f-2a4be84a82dc"
479
+ "memo_examples_gpca_pump_gpca_behavior_modes::modePAUSED":
480
+ shortId: "MMX-43"
481
+ uuid: "80fdccb6-6db3-51ea-935b-5d7e739a210e"
482
+ "memo_examples_gpca_pump_gpca_behavior_modes::modePBOLUS":
483
+ shortId: "MMX-44"
484
+ uuid: "9fe2a51c-3088-51a9-9581-27d8a5e49561"
485
+ "memo_examples_gpca_pump_gpca_behavior_modes::modeSQUARE":
486
+ shortId: "MMX-45"
487
+ uuid: "3d52c9ef-3fb3-56be-9894-114d41350103"
488
+ "memo_examples_gpca_pump_gpca_behavior_modes::modeTHERAPY":
489
+ shortId: "MMX-46"
490
+ uuid: "662b3289-5569-5866-9485-d16704975f12"
464
491
  "memo_examples_gpca_pump_gpca_behavior_modes::patientBolusConfiguration":
465
492
  shortId: "MDX-3"
466
493
  uuid: "8bf0ae11-2409-5e5f-9bac-02cfd2832fc0"
@@ -33,7 +33,17 @@ accepts its decision, merge, accept/send, termination and guard syntax, and
33
33
  | `requirements_view.sysml` | `req` | general | Requirements — stakeholder needs deriving into system requirements. |
34
34
  | `use_case_view.sysml` | `ucd` | general | Use case — relationship-driven actors, include/extend links, and model-owned `usecase:level` / `edge` presentation hints. |
35
35
  | `state_transition_view.sysml` | `stm` | statetransition | State machine — pump operating modes and their triggered transitions. |
36
+ | `sequence_view.sysml` | `seq` | sequence | Sequence — a functional flow's ordered steps, each allocated to its performing lifeline. |
37
+ | `grid_view.sysml` | `fmea` | grid | FMEA worksheet — three FailureMode rows, one table section with columns auto-derived from their attributes. |
36
38
 
37
39
  SysML v2 standardizes the model semantics; a diagram is a presentation of those
38
40
  semantics. The Architect renderer selects the template from each view's
39
41
  `viewKind`, so the same model can be re-presented in any compatible kind.
42
+
43
+ Six of the eight standard view kinds are covered above (general, interconnection,
44
+ actionflow, statetransition, sequence, grid). `browser` and `geometry` still have
45
+ no sample here — both are reached by an explicit `viewKind` declaration with no
46
+ legacy `diagramType` to demonstrate one against (a document-backed view resolves to
47
+ `browser` by default; `geometry` has no legacy mapping at all — see
48
+ memo-tools view-kinds.ts), so each needs its own small worked example rather than
49
+ following this table's `diagramType` pattern directly.
@@ -0,0 +1,17 @@
1
+ # Dashboards
2
+
3
+ Markdown pages with live diagrams, opened in MEMO Architect under **Dashboards**.
4
+
5
+ | Folder | Who sees it | In git? |
6
+ | --- | --- | --- |
7
+ | `dashboards/` | everyone on the project | committed |
8
+ | `dashboards/user/` | only you, on this machine | ignored — listed in `.gitignore` |
9
+
10
+ Each `.md` file is one dashboard; its file name is its id. Every viewpoint also
11
+ has a generated dashboard until a file named `viewpoint-<viewpoint id>.md`
12
+ replaces it — `viewpoint-vp-demo-ibd.md` here is a filled-in example.
13
+
14
+ Embed a live, read-only diagram with a directive on its own line:
15
+
16
+ {{diagram:<view id or name>}}
17
+ {{diagram:<view id or name> height=640}}
@@ -0,0 +1,61 @@
1
+ ---
2
+ title: Internal Block Diagram
3
+ viewpoint: VP-DEMO-IBD
4
+ ---
5
+ # Internal Block Diagram
6
+
7
+ A worked example of a **viewpoint dashboard**: the same page MEMO Architect
8
+ generates for every viewpoint, with the placeholders filled in. Compare it with
9
+ any other viewpoint's Dashboard entry, which still shows the generated prompts.
10
+
11
+ > **Purpose** — Lets a design reviewer confirm, from the logical structure
12
+ > alone, that water can only reach the cup through the heater, and that every
13
+ > heater fault is observable from outside the machine.
14
+
15
+ ## Stakeholders and concerns
16
+
17
+ | Stakeholder | Concern | How the views below address it |
18
+ | --- | --- | --- |
19
+ | Design reviewer | **Safety** — no path delivers unheated or overheated water | The machine view shows the single water path: tank → heater → brew group |
20
+ | Service engineer | **Reliability** — faults can be diagnosed without disassembly | The heater views show heater status bound out to the service interface |
21
+ | Firmware lead | **Performance** — the control loop is closed inside one assembly | The heater assembly view keeps the thermostat and element loop internal |
22
+
23
+ These rows are commentary. To make them part of the model, set `stakeholders`
24
+ and `framedConcerns` on `ibdViewpoint` in the viewpoint package.
25
+
26
+ ## Views
27
+
28
+ The model currently has {{model.views}} views; three conform to this viewpoint.
29
+
30
+ ### Beverage machine
31
+
32
+ {{diagram:beverageMachineIBD height=560}}
33
+
34
+ **Commentary** — Mains water enters on `mainsWaterIn` and is *bound*, not
35
+ flowed, to the reservoir: a delegation through the boundary is not a transfer.
36
+ The only route to `beverageOut` passes the Thermal Control Assembly. The service
37
+ interface nests a `diagnostics` port, which is where a fault becomes visible.
38
+
39
+ ### Heater assembly
40
+
41
+ {{diagram:heaterAssemblyIBD}}
42
+
43
+ **Commentary** — The thermostat and the heating element form a closed loop:
44
+ power command out, heater status back in. Nothing outside the assembly drives
45
+ the element directly, which is the property the firmware lead relies on.
46
+
47
+ ### Heating element
48
+
49
+ {{diagram:heatingElementIBD}}
50
+
51
+ **Commentary** — The coil and the temperature sensor are the element's only
52
+ parts. The sensor reads heat, not water temperature — an assumption worth
53
+ confirming before this structure is reused for a safety argument.
54
+
55
+ ## Open questions
56
+
57
+ - Should the reservoir have a level sensor port, so an empty tank can inhibit heating? *Owner: design reviewer.*
58
+
59
+ ## Decisions and rationale
60
+
61
+ - Heater status is exposed through the service interface rather than a dedicated port, so the machine boundary stays at three external ports.