Skip to content

feat(M4-P0E2C1): Studio three-MU deploy with single-owner ACK+readback gating - #346

Merged
masarray merged 2 commits into
mainfrom
feat/m4-p0e2c1-single-owner-studio-deploy
Oct 26, 2026
Merged

masarray merged 2 commits into
mainfrom
feat/m4-p0e2c1-single-owner-studio-deploy

Conversation

@masarray

Copy link
Copy Markdown
Owner

Real Studio control-plane integration

  • Wire merged P0E2B M4MultiSvUploadTransaction into production DeviceController and the existing sole DeviceIoWorker. No added COM owner/thread/timer on firmware hot path.
  • Operator-only Deploy 3 MU from the SCD-qualified M4 GUI. Require verified STOPPED board and BOTH MULTISV-CONFIG-STAGING-V2 and MULTISV-TX-LAB-PREVIEW capabilities.
  • One UART command at a time, ACK accepted only after worker commandTransmitted, exact staged offset/transaction IDs/CRC, commit hash+size+generation and all 3 firmware SHOW identity rows before SELECT acceptance.
  • Deadline: 5s per worker-send/ACK/readback step; 120s total monotonic budget. Fail closed on transport reject, boot/session change, USB loss, firmware reboot, operator STOP. Keep board autonomy: GUI closure never sends STOP.
  • Supervisor permanently suppresses legacy V1 automatic PROFILE sync/START during M4 operator mode. M4 m4Ready means only roster verified, NOT live signal scenario / TX verified; leave three-MU START blocked until P0E3/P0F.
  • Compact GUI deployment status shows only hash-matched current-SCD readback; no extra rendering timers. Extend existing native deterministic session harness for legacy isolation / STOP cancellation, no new CI workflow.

CI economy

One consolidated atomic commit (61310e2bc55eb4a480441d61eec58c0d2c3b4660), no debug pushes, no extra workflow files/jobs, no redundant matrix expansion. Run the repo's existing exact-head Qt/session/Windows packaging and firmware gates once; use job logs only if a check fails. No physical 12,000fps or external PTP traceability claim.

Next after this gate

P0E2C2/P0E3: 3 separate SVSTREAM CFG scenarios with board readback/adoption and verified group START; P0F physical capture. Keep M3.H.3 stable and V1 wire untouched. Tracks #333.

…io serial owner

Bind existing M4MultiSvUploadTransaction to DeviceController/DeviceIoWorker with transmit-confirmed ACK gating, 5s step + 120s absolute deadline, session/boot/STOP/transport-failure cancellation, firmware capability preflight and full three-MU SELECT/readback proof. Supervisor suppresses legacy V1 auto-sync/START after explicit M4 intent; QML offers bounded Deploy 3 MU without enabling unverified START. Add deterministic session isolation regressions and engineer-facing protocol guide. No firmware hot path changes, no new CI jobs.
@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-26T07:52:58.997854Z 61310e2 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: 61310e2bc5

ℹ️ 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
…load

Allow Ribbon Stop, F6 and WorkflowBar Stop to synchronously cancel a staging transaction before it reaches COMMIT/SELECT, even when SV RUNNING is false. Keep priority STOP in single serial worker. Addresses Codex PR #346 P2 review; no CI workflow changes.
@masarray
masarray merged commit f171b7c into main Oct 26, 2026
10 checks passed
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