Skip to content

Integrate portable Smart Control C1-C5 with live interoperability evidence - #43

Merged
masarray merged 51 commits into
mainfrom
agent/phase-4d-smart-control-integration
Aug 10, 2026
Merged

masarray merged 51 commits into
mainfrom
agent/phase-4d-smart-control-integration

Conversation

@masarray

@masarray masarray commented Aug 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • integrate the portable Phase 4D Smart Control C1-C5 path on top of current main without importing unrelated stacked-branch history
  • add guarded Direct/SBO normal and enhanced sequencing, exact live MMS Oper/SBOw/Cancel binding, CommandTermination and LastApplError correlation, and a read-only-by-default live harness
  • preserve concurrent Smart RCB failover, static RCB sessions, and MMS file-transfer work already merged to main
  • reconcile the parallel GitHub-agent simulator acceptance record with locally retained hashed JSON/PCAP evidence

Why

This ports the Smart Control behavior from masarray/ARIEC61850 into the portable C++ core while keeping embedded constraints explicit: no automatic command retry, conservative live TypeSpecification binding, association-aware ownership, bounded state, and dedicated no-exceptions/no-RTTI profiles.

Live interoperability

Target: external vendor external IEC 61850 client 4 at 192.168.1.10:102, object BCU7SLCTRL/CSWI1.Pos.

Locally retained cases:

  • read-only inventory/discovery: zero control Writes
  • negative SBO enhanced selection: exactly one SBOw, no Oper or retry; MMS DataAccessError 3 object-access-denied, ControlError 3 operator-test, AddCause 8 blocked-by-mode
  • SBO enhanced Select/Cancel: exactly SBOw then Cancel
  • Direct enhanced OFF/ON restore: exactly one Oper each, positive correlated CommandTermination, state restored

The parallel C5 acceptance record additionally covers Direct normal, SBO normal, and full SBO enhanced Oper on the same tested simulator profile. Physical IED and IEC 61850 conformance are not claimed.

Validation

Local on final merge head:

  • MSVC Release build: passed
  • full CTest: 28/28 passed, including current MMS file-service and static-reporting baseline
  • C5 interop harness rebuilt from final head: 6/6 passed
  • git diff --check: passed
  • live JSON/PCAP hashes: docs/CONTROL_INTEROP_LIVE_RESULT_2026-08-11.md

GitHub Actions on 9fedd88: all 9 workflows passed:

  • C++ CI (GCC, Clang, MSVC)
  • Embedded Profile CI
  • Control Hard Profile CI
  • Control MMS Profile CI
  • Control Termination Profile CI
  • Control Session Profile CI
  • Control Interop Harness CI
  • Security and Evidence
  • Dynamic RCB Trial Harness CI

Remaining gates

  • physical IED control
  • association-loss and multi-client contention against a live endpoint
  • broader multi-vendor interoperability

@masarray
masarray force-pushed the agent/phase-4d-smart-control-integration branch from 85e2f49 to 6191e20 Compare August 10, 2026 23:21
# Conflicts:
#	CMakeLists.txt
#	docs/FEATURE_MATRIX.md
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