Skip to content

P5A: add persistent canonical IED engineering context - #112

Merged
masarray merged 2 commits into
mainfrom
ux/p5a-canonical-ied-context
Sep 20, 2026
Merged

masarray merged 2 commits into
mainfrom
ux/p5a-canonical-ied-context

Conversation

@masarray

Copy link
Copy Markdown
Owner

Implements P5A from #111 from exact validated P4 baseline 24903d2d24aaf0e1f9ede07d4a134b25b94a4d71.

Architecture

  • adds one application-level IedEngineeringContextController
  • Open SCL and Live MMS Discovery publish into the same semantic context surface
  • context owns the structural model independently of the producing parser/session
  • runtime online/offline state is separate from model authority, so disconnect does not erase engineering context
  • trusted-SCL online synchronization preserves SCL authority and only attaches runtime state
  • multi-IED SCL is fail-explicit: no silent first-IED selection; the context exposes candidates and requires selection

Canonical context surface

  • authority/provenance (scl / live-discovery)
  • source path/name
  • active IED + AP + endpoint
  • deterministic structural fingerprint
  • LD/LN/DO/DA, DataSet, Report, GOOSE, SMV and SettingGroup inventories
  • persistent engineering tree projection
  • independent context/runtime generations

Regression boundary

  • no MMS wire/runtime behavior rewrite
  • no Report/Control/File/SettingGroup protocol change
  • no major File/Browser GUI redesign yet

QA

  • new ied_engineering_context_qa covers SCL ingress, live-discovery ingress, explicit multi-IED selection, structural fingerprint authority, and persistence across disconnect.

Draft until exact-head CI is fully green.

@masarray
masarray marked this pull request as ready for review September 20, 2026 06:09
@masarray
masarray merged commit 5b3ea19 into main Sep 20, 2026
22 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