Repository navigation
Consolidate static MMS server and BRCB server stack onto current main - #51
Conversation
|
@codex review Please focus on server-side safety and consolidation correctness: bounded static server state machine, BRCB association ownership/lifecycle, retained replay and recovery v2, persistence failure behavior, public |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0912927087
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex address that feedback Please implement all six review findings on the current PR branch, with these required semantics:
Keep |
|
To use Codex here, create an environment for this repo. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eeebca8840
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Includes current-client MMS discovery/read/control interoperability, truthful service negotiation, URCB model structure, and exact-head CI evidence.
Addresses the remaining actionable PR #51 review findings with embedded and live-client regression coverage.
|
@codex address that feedback Please address the remaining open review feedback on the exact current PR head. In particular, the strict |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
|
@codex review Please perform a fresh full review of the exact current head |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Goal
Repository Consolidation & Truth Pass: move the portable Static MMS Server and retained BRCB R1–R3 server stack off historical branches and onto one current-main lineage, without importing their historical ESP32/SV/URCB ancestry.
Tranche A — Static MMS Server
Ported cleanly from the #41 implementation onto current
mainlineage.Tranche B — cumulative BRCB R1–R3
Ported from final R3 semantics as a clean cumulative delta, not by merging historical stacked branches.
Public build integration
BRCB sources are wired into
ARIEC61850::mms_server_core, not left in a private hard-profile target. The portableariec61850_static_ied_serverlinks onlyARIEC61850::mms_server_core(+ws2_32on Windows), so the isolated server executable does not inherit the legacy client/process-bus core.Review-driven safety hardening
The first full PR review identified six material issues. All were addressed before merge consideration:
pollonly stages a complete frame; the cursor advances only through explicitcommit_sentafter transport acceptance. Commit re-authorizes the current association + Owner + RptEna and rejects foreign/stale tokens.MmsStaticConnectionRuntime; an established EOF regression proves the association-close callback fires exactly once.ARIEC61850::core.Additional hard-profile regression proves a foreign association cannot commit an EntryID staged by the legitimate owner.
Safety gate
Merge is permitted only when the exact final head passes:
-fno-exceptions -fno-rttion GCC/Clang;mainand merge uses an expected-head SHA guard.No hardware/live IED server interoperability or IEC 61850 conformance claim is made by this consolidation PR.