Skip to content

Mac release integration: audio SHOW/SETUP, shot layouts, YouTube/Twitch social review - #1260

Merged
iamfatness merged 42 commits into
mainfrom
mac-release-integration
Nov 26, 2026
Merged

iamfatness merged 42 commits into
mainfrom
mac-release-integration

Conversation

@iamfatness

@iamfatness iamfatness commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

One integration branch for the Mac PRs that are ready, to end the repeated rebase conflicts before a Mac release. Each branch is brought in with a merge commit. There is no squash or history rewrite, and the original branches are not pushed to.

Included, in merge order

  1. mac audio Phase 4 (A7): ordered insert chains, processing targets, bus/master chains on the wire #1243: mac audio Phase 4 (A7), ordered insert chains and processing targets (b95903df)
  2. mac audio Phase 4 (A7): SHOW and SETUP match the Windows layout #1247: A7 SHOW and SETUP match the Windows layout (8f26508f)
  3. feat(mac): Shot Layouts — model, cue, guarded Take, band and editor (graphics G4-G7 slice D) #1259: Shot Layouts, graphics G4-G7 slice D (2821afd0)
  4. macOS social review: YouTube transport and Twitch sign-in (Phase 4, Tasks 15-16) #1239: social review, YouTube transport and Twitch sign-in (e7ca2610)
  5. macOS social review: Twitch EventSub chat (Phase 4, Task 17) #1244: social review, Twitch EventSub chat (42f5082a)

origin/main was merged in again as other PRs landed: #1248 and #1257, then #1250 (both clean, with no mac-shell or contracts change), then #1249 and #1256. In the last one only the ShellTests.swift case list conflicted. telemetryCases was kept alongside every other entry, and #1249's changes to AppModel.swift, ShellApp.swift and TabPageLayout.swift merged automatically.

Conflicts

Verification (local, release build)

Current head, with #1249: full suite 12327 checks, only the 2 known .m4a failures; 1001 cases. That is the 12112 below plus 215 from #1249, in 26 added cases (23 telemetry, 3 quit/idle-*), with none lost. Self-check and design lint pass, and the C# GraphicsShell* and TelemetryFixtureExport tests pass 17/17.

Before #1249 was merged in:

  • Full shell suite: 12112 checks, 2 failed. Both are the known .m4a duration checks (ShellTestsMedia.swift:278, :286).
  • Baseline, main at 241e923b: 10877 checks with the same 2 failures. The +1235 is exactly A7 +522, graphics +315 and social +398.
  • Cases: 975 run, against 852 on main (+55 A7, +32 Shot Layouts, +36 social). No main case or branch case is missing, and none is duplicated. There are 55 registered groups: main's 49 plus 6 new ones.
  • Filtered runs, all passing: a7 522, social 685, graphics 2256, comms 268, audio 345, quickwins 157, tiles 575, tier0 261.
  • Self-check and design lint pass. The C# GraphicsShell* exporter tests pass 15/15.
  • This PR changes no native code compared with main.
  • Offscreen renders of Audio SHOW and SETUP, Graphics Operate and Design, the Shot Layouts band and editor, and the social review sheet were inspected. The social sheet used a temporary, uncommitted render hook, with local test messages and no network.
  • Quiet-machine performance drills and live checks were not run.

CI flake seen once

On d6ea945b, mac-shell-tests failed ShellTestsQuickWins.swift:388-389 (offset 20 instead of 40), and the re-run passed. The test and CaptureAudioSync.swift were identical to main, and the same two failures reproduced locally in 3 of 285 runs of quickwins/z2. Each nudge sends from its own Task, so the order of two quick sends is not guaranteed.

Worth knowing before release

On a Mac show, three of the four default Shot Layouts that Add default rows installs (Open, Two-up, Panel) name the Windows scenes intro, interview and panel. The Mac starter scenes are fullscreen, two-up and pip, so these show "(missing)" and are refused at Cue until edited. This follows the plan's owner decision 2 (#1259), and is not a merge defect.

🤖 Generated with Claude Code

John Wallace and others added 30 commits November 26, 2026 12:57
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ned to vectors from the Windows file

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…luginInserts order)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e every send (Windows SVM:9221-9229)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ule, blank add, citations)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… channel-detail fixture

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….4 workspace, scrolling strip bank, pinned rail)

- AudioWorkspace.swift: ProcessingWorkspace (rack 190 + GATE/COMP/EQ split
  1:1:1.4 by AudioLayout.cellWidths, 255 tall, real DspResponseCurve in every
  cell, 0.45 dim with no channel), InsertSlotList with the 240-wide slot
  popover, "+ Add processing" menu, InsertParamSpec + paramSpecs (Windows
  AudioPage.xaml.cs:137-166 less the dead EQ presence rows), ConsoleStripLabels.
- Channel chips show primaryBusLabel; ConsoleStrip is 120 wide with stretching
  fader/meter, PAN readout, signed gain, meter tooltip; the strip bank scrolls
  under MasterLufsRail pinned at 150.
- The Audio tab fills the window (TabPageLayout.fillsHeight), is not in the page
  ScrollView and is uncapped; ROUTING / PLUG-INS / SETUP scroll inside AudioPane.
- Snapshot harness: COREVIDEO_SHELL_TAB_SNAPSHOT_WIDTHS and
  COREVIDEO_SHELL_TAB_SNAPSHOT_HEIGHT; seedAudio gains eight strips, a chain on
  101 and a bus-only route.
- The 900-wide render does not clip any cell's controls, so the pop-out
  minWidth stays 900.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ST browser folded into SETUP

- AudioSetup.swift: AudioSetupSurface (XAML:37-797), 340 | * (max 820),
  spacing 12. Left: "Devices & monitoring" with the Monitor output and Local
  audio source cards. Right: "Master processor" (guide meters + the unchanged
  MasteringRack), a divider, then "Inserts & plug-ins": target picker, label,
  detail, the collapsed "Advanced · VST3 plug-in browser" (VstInsertsSurface),
  readouts, SIGNAL FLOW (InsertSlotList, target style), the 2x2 add grid
  (AudioSetupPolicy.addButtons: Add EQ dimmed on buses with the OD-1 sentence,
  Add VST3 dimmed with the host status line, Clear chain dimmed when empty),
  and the selected channel's Mute.
- Honest reporting: a bus target with no source send shows "Nothing is routed
  to this bus yet, so its inserts do not run." (the core reads a bus chain only
  from sends to that bus, MediaCore.cpp:7195-7212).
- OD-2: the PLUG-INS pill is gone; COREVIDEO_SHELL_AUDIO_SURFACE=PLUG-INS opens
  SETUP with the disclosure open.
- LocalAudioSourceCard restyled to the Windows card (placement/style only).
- Below an 820 right column (the 900 pop-out) the master rack scrolls
  sideways inside its column instead of crushing its stages.
- Snapshot seed: master Compressor + Limiter, bus:master selected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ck keeps the target, menu font, XAML colours)

- Pop-out mixer opens at 1080 x 700 (AudioMixerWindow.xaml.cs:17-18, :68) and
  its minimum height rises 520 -> 640 so SHOW's strip faders, tick scale and
  master meters stay usable (AudioLayout.popoutDefault / popoutMin).
- SHOW's add menu no longer says "No VST3 plugins found" before a scan has
  completed (VstAddMenuPolicy); the workspace kicks the scan on appear, as
  Windows does on menu open (AudioPage.xaml.cs:335-337).
- The rack adds/removes on its channel directly (AppModel.addChannelInsert /
  removeChannelInsert, the channel branch of addProcessingInsert) and no
  longer moves SETUP's processing target.
- "+ Add processing" renders at Grotesk 10 (XAML:1081 FontSize 10).
- LOW CUT loses its extra Hz readout (XAML:1252-1256).
- Audio-pane colours from the XAML: console #070B10 (:915), strip #0B1016
  (:1326), master rail #0D1520 (:1443).
- ZOOM MUTED at 10 pt (XAML:1388-1392).
- Harness: the seeded extra strips are slotted capture sources with names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tion styles, readouts follow the selected strip)

- The master rack reflows instead of scrolling sideways at 796 pt: the
  compare and presets rows wrap (WrapRowLayout) and the seven stage cards fall
  into as many equal columns as fit (StageGridLayout,
  MasteringRackLayout.stageColumns: 7 in the capped column, 4 at 900).
- Windows section styles (W/Views/OperatorTabResources.xaml): sections are
  OperatorSectionBorder (:8-14, StudioPanelBrush #101315 = Studio.panel,
  corner 8, padding 16); titles StudioSectionTitle 14 semibold
  (StudioTheme.xaml:38-42); readouts and SIGNAL FLOW are OperatorReadoutBorder
  (:31-38, #0C1118, corner 6, padding 10,8).
- Departs from the plan's Task 5 text in favour of Windows: the Audio gain /
  Manual gain / Output level readouts and the Mute button follow the
  SHOW-selected strip whatever the processing target (SelectedAudioMix,
  SVM:2195-2233; XAML:692-709 and :794-796 carry no visibility binding).
  No selected strip reads a dash and dims Mute. The Mac has one gain
  (manualGainDb), so both gain readouts read it, as documented.
- The Mac-only "Add EQ: ..." / "Add VST3 plug-in: ..." reason lines stay.
- Tests: a bus fed only by a bus-to-bus send (and master with no sources)
  keeps the unrouted note; the readout assertion reads the model's selected
  target; the exact Clear-chain reason; muteLabel and readout formatting;
  stage column counts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ffective selected strip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g example

The Audio tab now fills the window (OD-3, the SHOW fixed viewport), so
fillsHeight(.audio) is true by design; the Comms test's claim is only that
other tabs keep the outer ScrollView.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…; unscanned is not "host missing"; failed scans retry; test operands

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l shape); stale polls cannot fake a finished scan

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ins listed dimmed in the add menu

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…spawn

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ned to vectors from the Windows file

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…luginInserts order)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e every send (Windows SVM:9221-9229)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ule, blank add, citations)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… channel-detail fixture

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SocialHTTP is the shared seam; URLSessionSocialHTTP is ephemeral (no
cookies, no cache), ignores the system proxy (owner decision N5, as
Windows' UseProxy=false), refuses every redirect so a 3xx is the response,
streams the body under a 1 MiB cap, and bounds the whole exchange by the
deadline (URLRequest.timeoutInterval alone is an idle timeout). Failures
are fixed text.

YouTubeChatTransport / YouTubeSocialFeed port the C#: fixed origin, the
exact queries and fields, the key only in x-goog-api-key (never a URL),
3xx = authorization, >=500/429 = retry, the listed error reasons, polls no
faster than 15 s, kinds text/remove(deleted, retracted, tombstone)/ban,
fail-closed validation, retry backoff 30/60/120 s with each reconnect
clearing review decisions, and the feed disconnecting its own session when
it ends. The sheet's YouTube Connect now runs it (SocialFeedRunners.live).

Tests: the four YouTubeChatTransportTests cases with their literals (15/30/15
waits through the injected sleep), the redirect against a local NWListener
(302 returned, /elsewhere never requested), a close-delimited 1 MiB+1 body
failing closed, and the API key through a full scripted feed session never
reaching a support bundle or a request URL. 48 social/youtube checks pass.
Mutations red: key in the URL, follow redirects, no 15 s floor, keep
approvals across a retry, no body cap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…orage for social review

TwitchHttpTransport / TwitchAuthorization port the C#: device-code grant
only (no client secret, no redirect URI), scope user:read:chat only,
verification_uri exactly https://www.twitch.tv/activate on 443 with no user
info or fragment, user_code <= 32, expires_in <= 3600, interval <= 60,
authorization_pending keeps polling, slow_down adds 5 s (cap 60), the grant
ends at its deadline and is never restarted; refresh with the client id only,
the rotated pair saved before use; validation at startup and then hourly,
a changed user id = authorization failure that clears the store; token type
bearer and the read scope required; 65536-byte JSON cap and a 1 MiB body
cap; fixed-text failures (TwitchChatException messages verbatim).
Serialised on the main actor with the social FIFO lock, so concurrent
maintain calls share one single-use refresh.

Storage: the whole TwitchCredentials is ONE JSON blob in the login Keychain
(SocialCredentials.twitch), so access and refresh rotate together; blank
client id reuses the stored sign-in; TwitchCredentials' description and
debugDescription never print a token; the support bundle receives stored
tokens as literals to scrub.

Tests: the five TwitchAuthorizationTests cases with their literals and
clock, the atomic Keychain blob, verification-uri refusals, and the token
redaction sentinel. 392 social checks pass. Mutations red: identity may
change, unserialised maintain (8 refreshes), a client secret on refresh,
any verification host. Not yet wired to the sheet: the Twitch feed itself
(EventSub, Task 17) is the next slice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rows, one shared session, backoff ladder and deadline pinned, no tokens in dump()

Review of Tasks 15-16:
- a null/non-object YouTube chat row now fails closed (C#: its empty
  liveChatId differs), instead of being skipped;
- URLSessionSocialHTTP is one process-wide instance with an eager session:
  a URLSession retains its delegate until invalidated, so a per-connect
  instance leaked its session and sockets;
- tests now pin the 30/60/120 s ladder, the give-up with the fixed retry
  text, the reset after a good page, and that a Twitch device grant stops
  polling at its deadline (one poll for a 9 s grant at a 5 s interval);
- TwitchCredentials reflects identity only, so dump()/Mirror never print a
  token.
Mutations red: constant 30 s backoff, no ladder reset, skip non-object
rows, poll after the deadline. 398 social checks pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…moderation fences

Ports TwitchChatSocket, TwitchEventSubSession and TwitchSocialFeed:
- URLSessionTwitchSocket: wss://eventsub.wss.twitch.tv/ws, 12 s connect, no
  client ping, no proxy, no redirect; whole text messages of at most 65536
  bytes (binary or oversize = invalid, a close or error = a gap). The
  receive uses the callback form behind a one-shot gate with the deadline
  closing the socket: the async receive() wrapper was observed never to
  resume after a cancel, which would have turned a missed keepalive into a
  hang.
- TwitchEventSubSession: welcome (status connected, keepalive 10-600 s);
  review opens only after all four subscriptions are confirmed for this
  channel, user and socket, in the order clear, clear_user_messages,
  message_delete, message; deliveries de-duplicated over 4096 ids;
  "<broadcaster>:<message_id>" ids; non-text and other-origin shared chat
  dropped; revocation and a planned migration explicit (migration only to
  wss://eventsub.wss.twitch.tv:443); timestamps parsed to the nanosecond
  as integers (TwitchTimestamp), never through Date.
- TwitchSocialFeed: authorize (device flow when needed), resolve the
  channel, connect, subscribe, then open review; a reader and a 30 s
  maintain loop race; every gap (planned migration included) disconnects
  review first, which clears approvals and retires an on-air card;
  revocation ends with no retry; reconnect budget 3 (1, 2, 4 s), each
  forcing a token refresh. The sheet's Twitch Connect now runs it.

Tests: the TwitchEventSubSessionTests and TwitchSocialFeedTests cases with
their literals, the TwitchChatSocketTests rules against a REAL
URLSessionWebSocketTask and a local NWListener WebSocket server (UTF-8
text, binary, 65537 bytes, close, missed deadline), shared-chat/non-text
filtering, and a gap that retires an on-air card through a scripted core.
577 social checks pass. Mutations red: subscribe to messages first,
millisecond (Date) timestamps, no delivery dedupe, shared chat not filtered,
and keeping approvals across a gap (both disconnect points removed; with
only one removed the other still clears them).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…mpt owner cancel, timer race

Task 17 review findings:
- The receive timer could win the one-shot gate after being cancelled and
  drop a real message: it now checks cancellation, and the callback
  finishes first and stops the timer second.
- playout.disconnect ran only after the task group drained, so a maintain
  child inside a 12 s token call kept an approved card showable through a
  gap. The disconnect now runs before the drain (C# finally order).
- Owner disconnect during connect or a receive waited out the 12 s / 10 s
  deadlines and then reported a reconnect. connect and receive now honour
  cancellation (receive resumes through the gate, since URLSession never
  calls back after a cancel), and a cancelled gap is not retried.
- Invalid UTF-8 (EPROTO) fails closed as invalid, like C#; keepalive 10.0
  is refused like C# TryGetInt32.
Tests: reconnect budget 1/2/4 s with a forced token check each time and
the final fixed text; a reconnection into a fresh review; disconnect while
a token call is out; cancel during connect, receive and the welcome; every
reconnect_url check; map-before-dedupe; exact 65536 bytes. Each fix was
mutated back and a test failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ema)

G4-G7 Task 13. GraphicsShotLayout / GraphicsLayoutRowSettings port ShotLayout and
ShotLayoutRowSettings (IsValid, every clause pinned), the layout JSON kept as read so a Windows
layout round-trips. GraphicsModel.setLayout / removeLayout port GraphicsPlayoutActions LayoutSet
/ LayoutRemove and SaveShotLayoutsAsync with Windows' messages (invalid, scene not in this show,
the hotkey moving from another layout, rows that do not exist, shared hotkeys). Add default rows
installs the four preset layouts when the show has none (D9), with Windows' scene ids (owner
decision 2). The document store now validates shotLayouts as Windows does.
Fixture documents/windows-layouts.json from the real serializer; layouts.vectors.json (validity
clauses, slug, set-layout outcomes against Mac scene ids).
Mutations (each red): rowSettings keys outside rowIds, an object override, presets added on top of
existing layouts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
G4-G7 Task 14. GraphicsLayouts.resolve ports GraphicsLayoutResolver.Resolve / ApplyDataPin (data
pin, then overrides; Windows' messages); GraphicsRowFields gains canOverrideLayoutField /
validLayoutOverride / validField. GraphicsPlayout+Layouts ports CueLayoutAsync / CueLayout and
GraphicsPlayoutService.Layouts.cs: the legacy path (scene to Preview, rideTake cues, PlayOutOthers
hides) and the guarded path (resolve every row first, capacity check, cues with rideTake:false and
cueOwner = the attempt id under one 5 s deadline, stamp re-check, owned release on any failure),
cancelLayout, confirmLayoutTake, isPreparedLayoutCurrent. cueCore / ensureCore take the resolved
row, owner, deadline and attempted list as Windows' Cue / Ensure do. A new core drops the prepared
layout and its progress. GraphicsModel.cueLayout selects the scene through AppModel and waits until
the core's snapshot shows that Preview scene before any cue (5 s, injected sleep); AppModel wires
the Program subject, GuestEntriesRoutedIn over the Mac routes and the Preview stamp.
layout-transcripts.vectors.json: resolver rows and cue / cancel transcripts recorded from the real
GraphicsPlayoutService (TranscriptCore gains owned cues, a fail-second-cue script and the scene
select pseudo-step).
Mutations (each red): release without cueOwner, no capacity check, overrides before the data pin,
no stamp re-check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
John Wallace and others added 12 commits November 26, 2026 13:40
G4-G7 Task 15. A prepared Shot Layout turns AppModel.take() into a guarded Take (port of
TransportCoordinator.TakeAsync + TransportCoordinator.Layouts.cs): GraphicsModel.createGuardedTake
ports CreateGuardedTake (nil unless the prepared layout is current and, for a layout with a scene,
the core's previewScene is that scene at a real revision); the begin-take-transition carries
operationId = the attempt id and the graphicsLayout guard (MediaCoreCommandBuilder wire); a layout
with no scene keeps Program and loads it again. Resolution reads graphics.layoutTakeReceipts for up
to 16 rounds 125 ms apart on the injected timer: committed confirms the layout, refused rolls the
scenes back with Windows' text, ready replays the SAME operation with a fresh batch, a new core
epoch fails it, no receipt fails it (rolling back only while the core still shows the previous
Program), no observation at all keeps it pending as "Check Take". Refusal or failure cancels the
prepared layout (owned uncues). canTake follows Windows' CanTake (pending guard, preparing, a
prepared layout may Take with Preview = Program).
D10: GuardedLayoutTake.swift records how Windows keeps ordinary syncs out during warming
(SyncActiveSceneAsync refuses at capture while GuardedTakePending); pushScenes holds the scene sync
while a guarded Take is pending and the one owed sync runs when it resolves.
Mutations (each red): a new operation id on replay, no rollback on refusal, scene sync not held,
a guard built without the core's Preview revision.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
G4-G7 Task 16. The SHOT LAYOUTS band (GraphicsPlayoutControl.RefreshLayouts / LayoutButton /
AddLayoutProgress) sits between the PLAYLIST header and the rows: header buttons from the pure
GraphicsLayouts.headerButtons ("Check Take" while a guarded Take is pending, "Take" for the prepared
guarded layout, "Cue and Take" for a selected legacy layout, never Take for an unprepared guarded
one; "Cancel layout" while progress shows; "Edit layouts"), the progress block, and a scroll of
layout buttons (name, "on preview", hotkey badge, the LayoutSummary line) that select and cue.
"Cue and Take" ports CueAndTakeLayoutAsync over AppModel.take(). The Edit Shot Layout sheet ports
OpenLayoutEditorAsync (layout picker, missing-scene line, name and scene, rows with their "Values and
data" editor, hotkey, other graphics, footnote, Add/Save/Remove). GraphicsLayoutRowEditor is a pure
model of AddLayoutRowEditor (revision options, one override per overridable field, invalid saved
overrides kept verbatim unless replaced, unavailable overrides removable). Shift+F1-F11 now cue the
layout carrying that hotkey from the app's key path.
layouts.vectors.json gains the LayoutSummary rows (restated from the WinUI control) over the Mac and
Windows scene lists. The snapshot harness stages three layouts with one preparing
(COREVIDEO_SHELL_GRAPHICS_LAYOUTS=1) and renders the editor sheet.
Mutations (each red): Take offered for an unprepared guarded layout, Shift+F1-F11 routing nowhere,
the editor dropping an invalid override.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
layout-transcripts.vectors.json carried the full template catalog in every resolver node and every
transcript step (3.3 MB). The catalog is now one row (catalog-layout-state); resolver rows name the
templates they leave out, transcript nodes omit it and the replay keeps the initial node's catalog
(319 KB). No vector's meaning changes; the graphics suite is unchanged (2214 checks).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…review scene in the stamp

Independent review of Slice D (0 Critical):
- I1: a guarded Take left pending (no observation: the core died mid-Take) held every scene sync until
  the operator pressed Check Take. A new core generation (onConnected) now resolves it as "Core
  restarted. Cue the Shot Layout again.", rolls back and sends the one held sync.
- I2: Windows' CaptureLayoutPreviewStamp serialises the local PreviewScene model, not the snapshot
  node. The Mac stamp now carries the Preview scene's layout, layers, background asset and background
  payload, so a background edit after Prepare refuses the Take ("The Shot Layout cue changed...").
- I3: every IsPreparedLayoutCurrent clause is now pinned (route edit, background edit, layout re-saved,
  cue owned by another attempt); a new core epoch drops the prepared layout and the next Take is an
  ordinary one.
- Surviving-mutation gaps closed: 16 warming rounds keep the guard pending (no rollback); the owed sync
  runs on a refusal too; confirm cancels the played-out graphics' auto-outs; a cancel during
  preparation stops it with Windows' Run text and releases the owned cue; a refused guarded cue leaves
  its progress Blocked with the reason.
- Minors: the cancel flag resets at each new cue; the three guard refusals return without a status
  line (as Windows TakeAsync); a Shift+F hotkey cues without selecting the layout.
- The guarded-Take tests no longer use wall-clock sleeps (main now runs the scene debounce on the
  injected timer); they assert the order of the Take's rounds and the one ordinary sync.
Mutations (each red): restart not resolving the pending Take, the stamp without the scene model,
currency reduced to identity, exhaustion ignoring a pending receipt, the owed sync only on commit,
confirm keeping auto-outs, no cancel check in the cue wait, no Blocked progress, the sync not held.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ets into mac-release-integration

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

# Conflicts:
#	mac-shell/Sources/CoreVideoProShell/ShellTests.swift
…elease-integration

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

# Conflicts:
#	mac-shell/Sources/CoreVideoProShell/AppModel.swift
#	mac-shell/Sources/CoreVideoProShell/AudioConsole.swift
#	mac-shell/Sources/CoreVideoProShell/DspCurveMath.swift
#	mac-shell/Sources/CoreVideoProShell/ShellApp.swift
#	mac-shell/Sources/CoreVideoProShell/ShellTests.swift
#	mac-shell/Sources/CoreVideoProShell/ShellTestsAudioPhase4.swift
#	mac-shell/Sources/CoreVideoProShell/VstInserts.swift
…se-integration

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

# Conflicts:
#	mac-shell/Sources/CoreVideoProShell/ShellTests.swift
… into mac-release-integration

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

# Conflicts:
#	mac-shell/Sources/CoreVideoProShell/ShellTests.swift
…e-integration

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

# Conflicts:
#	mac-shell/Sources/CoreVideoProShell/ShellTests.swift
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

# Conflicts:
#	mac-shell/Sources/CoreVideoProShell/ShellTests.swift
@iamfatness
iamfatness merged commit acd6d8e into main Nov 26, 2026
42 of 44 checks passed
@iamfatness
iamfatness deleted the mac-release-integration branch November 26, 2026 23:17
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