Skip to content

feat(M4-P0E2A): compile exact Studio 3-MU SCD roster to atomic ARM3 V2 binary - #344

Merged
masarray merged 2 commits into
mainfrom
feat/m4-p0e2a-studio-arm3-compile
Oct 26, 2026
Merged

masarray merged 2 commits into
mainfrom
feat/m4-p0e2a-studio-arm3-compile

Conversation

@masarray

Copy link
Copy Markdown
Owner

Production code

  • Extend real SclProfileModel with cached canonical ARM3 V2 envelope and firmware-equivalent full-envelope FNV identity hash. Compile from the three existing validated UI profiles, preserving SCD MAC/svID/APPID, SCD VLAN0/PCP4 and any intentionally configured per-MU VLAN override.
  • A failed/ambiguous/unselected family, incomplete 4I4V or 4000Hz/4000-wrap roster, duplicated IED identity or duplicate full SV wire identity yields NO deployable binary. Source/profile changes invalidate stale cached images and hashes. No 4kHz GUI allocation; no XML firmware parsing.
  • Add real native M4SclCompileHarness.cpp test using reference 3-MU SCD: explicit 9-2LE selection, ARM3 roundtrip and CRC, correct all three identities/repeated APPID 0x4000, full-envelope hash matching firmware, MU2 VLAN override leaves MU1/MU3 untouched, deterministic re-encoding, invalid-family/clear fail-closed.
  • Run harness in Windows and Linux Studio Qt CI and the exact-head matched Windows native-preview job.

Scope/gates

This is P0E2A host compile only, NOT yet deployment, MULTISV wire handshake, readback adoption, or verified M4 START. Those follow in P0E2B/C. No new realtime clocks/tasks or changes to M3.H.3 Official Stable. See #333, ARD M4, and merged P0E1 #343.

Do not merge until exact-head CMake/Qt/native preview and firmware CI pass.

Cache exact three profiles and identity hash from SCD-selected family and per-MU VLAN overrides. Reject invalid identities and layouts; exercise round-trip and isolation on Linux/Windows native Qt and matched preview CI. No device writes; preserve M3.H.3.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T01:30:15.907799Z — PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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