G2.6/G2.7 Smart Dynamic RCB: field-stable per-IED bootstrap + full eligible residual coverage - #230
G2.6/G2.7 Smart Dynamic RCB: field-stable per-IED bootstrap + full eligible residual coverage#230masarray wants to merge 151 commits into
Conversation
G2.7 P1.7 exact-head software qualification — PASSExact ARSAS head qualified for the next physical gate:
Exact pinned ARIEC engine:
Exact-head CIAll four required workflows are green on
The two commits after previously-green Fixed-point reviewRe-reviewed P1.7 bootstrap/persistence/runtime boundary:
Next physical gate — AA1E1F03R3Baseline to beat:
Run only this sequence on the exact qualified build:
Then capture diagnostics proving:
PR #230 remains OPEN + DRAFT + UNMERGED. Do not mark ProductionEligible or merge until the physical bootstrap + all-signal normal-runtime + reconnect evidence is reviewed. |
Goal
Restore Smart Dynamic RCB as the normal ARSAS monitoring path so every eligible exact-resolved residual leaves MMS polling and is acquired through static or Dynamic BRCB/URCB. MMS polling remains only for genuine unsupported/unmapped/degraded points, real RCB-capacity overflow, or a real activation failure that opens the dynamic-write circuit breaker.
ProductionEligibleremains a separate certification boundary and is never promoted by this PR.Runtime acquisition contract
Planning order is:
AR_HYB_<hash>identities;For native P1.7, the generic
MaxDynamicReportPlans=8budget no longer strands otherwise eligible signals on polling. The native-only plan budget expands to the freshly checked association RCB inventory with an application hard ceiling of 64 plans. ARIEC still admits only exact verified-free RCB slots.P1.7 field-stable per-IED bootstrap
A previously unseen IED is commissioned explicitly with
Ctrl+Shift+B:The bootstrap issues zero automatic process/control commands. At G2.5 ARMED the operator causes exactly one already-approved safe physical/status change affecting one listed proven member.
G2.3 field recovery rule
If a smaller milestone is fully cleanup-safe but a later larger
DefineNamedVariableListdestabilizes the association:LLN0.ARQ<8hex>residue is inspected on a fresh association;IsQualificationSuccessmulti-member envelope;Retaining that envelope grants only
EnvelopeQualified; G2.4/G2.5 remain mandatory.P1.7 envelope-bounded normal runtime
Merged ARIEC PR #110 adds an envelope-bounded native runtime wrapper.
The physical dchg witness proves the Dynamic RCB mechanism for fresh exact-resolved members; it is not a permanent commissioning-member whitelist. However each individual runtime Dynamic DataSet is capped to:
Therefore a relay that physically survives 4 members but destabilizes at 8 will be covered by multiple <=4-member Dynamic RCB groups instead of being asked to create an unsafe larger list.
Example when safe envelope=4 and enough free RCBs exist:
If only 31 verified-free RCBs exist, at most 124 of those 132 can be Dynamic at that 4-member envelope; the remaining 8 are genuine current-association capacity residual, not an artificial planner fallback.
Two-part durable native authorization
A native DataChange profile alone is insufficient. Normal P1.7 runtime also requires a separate sidecar bound to the exact:
Any mismatch fails closed.
Safety retained
AR_HYB_<hash>identity;MarkProductionEligiblecall.ARIEC engine
Current lock pins merged ARIEC:
Relevant lineage:
AR_HYB_<SHA256-prefix>identity;ProvenSafeMemberCountwhile retaining multi-group general coverage.Current physical gate — AA1E1F06R4
Observed field baseline before this recovery slice:
Ctrl+Shift+Breached G2.3 and correctly failed closed when association continuity/cleanup was not proven. No profile was advanced.Next physical sequence
Acceptance evidence
After reconnect/start monitor:
Dynamic groups=Nreflects however many bounded groups are necessary, not an artificial 8-plan ceiling;members <= ProvenSafeMemberCount;AR_HYB_<hash>DataSet;RptEna/ report monitoring activates successfully;Keep PR #230 DRAFT + UNMERGED until this physical bootstrap + full eligible residual runtime + reconnect evidence is reviewed cleanly.