Skip to content

feat(M4-P0E3B3): exact live three-MU firmware roster versus SCD reconciliation - #350

Open
masarray wants to merge 2 commits into
mainfrom
feat/m4-p0e3b3-scd-board-roster-reconcile
Open

masarray wants to merge 2 commits into
mainfrom
feat/m4-p0e3b3-scd-board-roster-reconcile

Conversation

@masarray

Copy link
Copy Markdown
Owner

Meaningful M4 milestone — read-only board/SCD authoritative identity proof

  • After P0E3B2 selected roster on this boot, retain firmware MULTISV SHOW's three exact STREAM records. Compare with canonical already-compiled ARM3 currently loaded into Studio.
  • Reuse the same production ARM3 decode and per-stream validator used by M4 deploy; verify whole-envelope hash plus per-slot exact svID/MAC/APPID/VLAN present/VID/PCP/4000fps/wrap/noASDU/confRev. Reject missing/duplicate/foreign slot or tampered compiled SCD record.
  • Event-driven cached MATCHED, MISMATCH, NO SCD, NOT VERIFIED status: recompute only when board boot/roster or engineering source changes. Surface in GUI and engineer diagnostics without overwriting three GUI drafts or modifying board.
  • Regression in the existing arstack_m4_upload_harness: negative svID/MAC/APPID/VLAN/rate/wrap/confRev, incomplete/duplicate rows, wrong hash, CRC. Reuse Qt/Windows/firmware CI matrix, no new runners or workflows.

Safety boundaries: Identity match is not a proof of 3 bank waveform adoption, TX RUNNING, common PTP/smpCnt, physical 12,000 fps or group START. M4 group START deliberately remains gated. Official Stable M3.H.3 untouched. Does not overlap independent PR #330 LAN autonomy scope. Tracks #333.

Engineer guide: docs/M4_P0E3B3_SCD_ROSTER_RECONCILIATION.md.

…ation

Reuse production ARM3 decoder and uploader per-stream verifier for read-only board/SCD comparison. Boot-scoped live SHOW stream records, full-envelope hash and all 3 MAC/svID/APPID/VLAN/rate/confRev identities must agree. Cache comparison on input changes, add source-aware status and diagnostics, test negative identities in existing M4 harness. Preserve no-START, no GUI draft writes, single serial worker and CI matrix.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 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-28T20:09:05.676376Z 0fd0598 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0fd0598ddf

ℹ️ 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".

Comment thread apps/arstack_studio/src/SmartSessionController.cpp
…verified SHOW records

Review P2: previous reconnect roster A was incorrectly kept after operator deployed roster B. Now revoke stale proof immediately after preflight, then adopt only exact three firmware SHOW stream records after SELECT ACK; rejected/incomplete transfers stay UNKNOWN. Assert pre-SELECT absence and post-SELECT source-of-truth reuse in existing M4 harness.
masarray added a commit that referenced this pull request Oct 28, 2026
Point historical handoff to current ARD-aligned milestone matrix, exact merged baselines and #350 in-progress, safe group START gates, P0F physical acceptance and CI-efficient single-owner production coding rules. Documentation only.

This branch has not been deployed

No deployments
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