Commit History
-
answer: prepareToPlay question for Sprint 5 β Option B verified safeβ
Sitar118 +1: Claude Sonnet 4.6iZotope/Neutron crash concern is moot β those plugins are UNSAFE and never reach loadInProcessPlugin(). Exact code for prepareToPlay() placement and processBlock() restructure provided. ML intern unblocked. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>199d2e1 -
Sprint 5: ML Intern question β need prepareToPlay verification before implementing
Verified signature496a0a0 -
task: Sprint 5 β route audio through in-process plugin for SAFE pluginsβ
Sitar118 +1: Claude Sonnet 4.6Pro-Q 4 spectrum shows no signal because audio goes through Helper instance while GUI belongs to in-process instance. Fix: call inProcessPlugin->processBlock() directly in processBlock() when safe plugin is loaded. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>2c0ae05 -
docs: make SYNC.md lean β move sprint history to SPRINT-LOG.mdβ
Sitar118 +1: Claude Sonnet 4.6SYNC.md now ~50 lines (just live state + message queues + next push template). Sprint history moved to SPRINT-LOG.md (reference only, not read every session). Saves Claude Code tokens on every session start. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a8f4396 -
docs: add two-way message queue to SYNC.md β ML Intern β Claude Code bridgeβ
Sitar118 +1: Claude Sonnet 4.6Adds: - Partnership diagram explaining what each side relies on the other for - ML INTERN β CLAUDE CODE section: question queue before writing code - CLAUDE CODE β ML INTERN section: answers + diagnostics after builds - First message: Sprint 4 regression explanation so ML intern understands what broke Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>cc0ab22 -
docs: rewrite SYNC.md as live handoff protocol between ML Intern and Claude Codeβ
Sitar118 +1: Claude Sonnet 4.6Old SYNC.md was a static history log β ML intern pushed AudioAnalyser without updating it, Claude Code had no idea what was coming. New structure: - NEXT PUSH section: ML Intern fills before every push (task, files changed, APIs used) - LAST BUILD RESULT: Claude Code fills after every pull+build - LOCKED FILES table: explicit list of files ML intern must not modify - Sprint log with regression note from Sprint 4 - What Claude Code can do (so ML Intern knows what to request) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>ac96bfc -
fix: restore v0.5.2 architecture + wire AudioAnalyser correctlyβ
Sitar118 +1: Claude Sonnet 4.6- Restored PluginBridgeEditor.mm to v0.5.2 (in-process createEditor, TreeView picker) - Restored PluginBridgeProcessor.cpp to v0.5.2 (loadInProcessPlugin, safety scan, deduplication, manufacturer names, PBLOG) - Added PluginPickerComponent.mm to CMakeLists.txt (was never registered) - Wired AudioAnalyser into v0.5.2 processor (prepareToPlay, processBlock, getAnalysisCallback) - Fixed AudioAnalyser: FFT is now a stored member, not created per audio block - Updated MACHINE-CONTEXT.md: full scope rules, workflow, architecture lock, dead-end list Root cause of regression: ML Intern rewrote Editor+Processor to add AudioAnalyser, accidentally reverting to pre-v0.5.2 CALayerHost architecture (FAILED-APPROACHES #10). MACHINE-CONTEXT.md now has explicit scope rules to prevent this. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>fdc4e41 -
wire AudioAnalyser: prepareToPlay + processBlock + MCP callback (3 additions)
Verified signaturedf843ce -
Upload Source/Plugin/McpServer.cpp
Verified signature9836bb8 -
Upload Source/Plugin/McpServer.h
Verified signature9209b46 -
integrate AudioAnalyser into Processor + wire get_analysis in McpServerβ
Verified signatureProcessor: adds AudioAnalyser, calls processBlock after shared memory read McpServer: get_analysis now calls processor's getAnalysis() instead of returning 'silent'"abf507a -
Sprint 4: Add AudioAnalyser β LUFS, FFT bands, stereo width, centroid, true peakβ
Verified signatureRuns in processBlock (audio thread), stores results in atomics. MCP get_analysis reads atomics from HTTP thread β zero contention. Output format: "-14.2 LUFS | TP:-1.1 | sub:ok bass:+3 low:ok mid:ok hi:-2 brill:ok | W:0.72 | bright" Max ~60 tokens per call."f6aee3c -
update SYNC.md β Sprint 3 COMPLETE, MCP verified working end-to-end
Verified signature64c9482 -
docs: update all context files for v0.5.2 session (2026-05-17)β
Sitar118 +1: Claude Sonnet 4.6SYNC.md β full account of what was fixed: - Ableton-style TreeView picker (PluginPickerComponent) - addChildComponent vs addAndMakeVisible freeze bug - Background scan / live Helper shared memory conflict - Plugin deduplication (VST3 + AU + system + user dirs) - Manufacturer name extraction (copyright string cleanup) MACHINE-CONTEXT.md β new file: - All key paths (T7 Shield home, plugin dirs, safety DB) - VST3 bundle structure on this machine (no moduleinfo.json) - Verified Info.plist fields for manufacturer extraction - Known plugin behaviors (safe/unsafe list) - Verified working and broken JUCE 8 APIs - Build environment FAILED-APPROACHES.md β added entry #10: - CAContext + CALayerHost cross-process GUI attempt - Why it fails in Ableton's process environment - All sub-attempts and results CLAUDE.md β full rewrite to match actual v0.5.2 architecture: - Hybrid safety-scan model (not out-of-process floating window) - Load flow diagram (Unknown/Safe/Unsafe paths) - Updated file structβ¦dcfc9c9 -
update MACHINE-CONTEXT.md β add ERROR REPORT section so Claude Code gives full diagnostic to ML Intern
Verified signature553fb05 -
add MACHINE-CONTEXT.md β template for Claude Code to fill before I write code
Verified signature6985577
-
fix: replace CARemoteLayerServer with CAContext+CALayerHost for cross-process GUIβ
Sitar118Three bugs killed the GUI: 1. CARemoteLayerServer does not capture a hidden NSWindow's content cross-process. Replaced with CAContext (server) + CALayerHost (client) β the correct private-but-stable macOS API for cross-process layer embedding, stable from 10.10 through Sequoia. 2. NSWindow was never orderFront: β WindowServer never composited its content. Fixed: window positioned at (-32000,-32000) and orderFront: called. 3. NSMachBootstrapServer (deprecated on 13+) no longer needed. contextId (uint32_t) is sent directly over the existing IPC socket. New file: Source/Shared/PrivateCA.h β declares CAContext, CALayerHost, CGSMainConnectionID.0548359 -
update SYNC.md β grant full debug/fix permission for GUI issue
Verified signature0cf3d62 -
fix: wire onGuiCreated callback in HelperIPC constructor to send gui_ready notification
Verified signaturedf8bc97 -
fix: call onGuiCreated callback after CARemoteLayerServer setup completes in showGui()
Verified signature9788b5f -
fix: send gui_ready notification after showGui β use callback from HelperPluginHost to IPCβ
Verified signatureHelperPluginHost now has onGuiCreated callback. HelperIPC sets it. When showGui() finishes creating the editor + registering the layer, it calls onGuiCreated which triggers sendGuiReady with port name + size.242769f -
fix: use setLayerPortName() instead of direct member access
Verified signaturec151d02 -
fix: add setLayerPortName() public method (layerPortName is private)
Verified signature7e3323d -
Upload SYNC.md
Verified signature715eca0 -
Upload Source/Plugin/Blocklist.h
Verified signature2224b8a -
remove old files replaced by .mm versions + Blocklist (now in PluginBridgeProcessor.h)
Verified signature4ca2875 -
Upload Source/Plugin/McpServer.cpp
Verified signaturea4fe44e -
Upload Source/Plugin/McpServer.h
Verified signaturee5f329d -
Upload CMakeLists.txt
Verified signaturea781751 -
Upload Source/Helper/HelperIPC.cpp
Verified signature8aeb4e8 -
Upload Source/Helper/HelperIPC.h
Verified signature6c4aa19 -
Upload Source/Plugin/HelperConnection.cpp
Verified signature8335f9f -
Upload Source/Plugin/HelperConnection.h
Verified signature24a3c7f -
Upload Source/Plugin/PluginBridgeEditor.mm
Verified signature6063997 -
Upload Source/Plugin/PluginBridgeEditor.h
Verified signatured966811 -
Upload Source/Plugin/PluginBridgeProcessor.cpp
Verified signature3e55272 -
Upload Source/Plugin/PluginBridgeProcessor.h
Verified signature590be7d -
Upload Source/Helper/main.cpp
Verified signature22d14fd -
Upload Source/Helper/HelperPluginHost.mm
Verified signature0e80263 -
Upload Source/Helper/HelperPluginHost.h
Verified signatureef91ceb -
Upload Source/Shared/Constants.h
Verified signature475c9dd -
v0.4: CARemoteLayerServer architecture β crash-safe + GUI inside Ableton windowβ
Verified signatureCOMPLETE REWRITE to proper solution: - Plugin runs in Helper process (crash-safe, like v0.2) - GUI renders in Helper via CARemoteLayerServer - PluginBridge.vst3 displays it via CARemoteLayerClient (CALayer inside its own editor) - Mach port transferred via NSMachBootstrapServer (named port per PID) - Mouse/keyboard events forwarded from host β helper via Unix socket IPC - Audio routes via shared memory (same as v0.2) This gives BOTH crash safety AND GUI inside Ableton's window (including fullscreen). Based on: Apple's CARemoteLayerServer/Client public API (macOS 10.7+) Reference: krevis/RemoteLayerDemo on GitHub"4ad264f -
fix: Blocklist path corrected to ~/Library/PluginBridge/ (where JUCE actually writes)"
Verified signatureb1feaca -
fix: findHelperBinary looks for .app bundle, not bare executable
Verified signature9e02f23 -
fix: bundle full Helper .app inside .vst3 and spawn it correctlyβ
Verified signatureThe bare executable doesn't work β JUCE needs the .app bundle structure (Info.plist etc.) to initialize the message loop and plugin formats. Fix: copy entire PluginBridgeHelper.app into .vst3/Contents/Resources/ and spawn via the MacOS/PluginBridgeHelper path inside it.2f1b494 -
update SYNC β clear blocklist after build
Verified signature3ff138f -
fix: Helper test-load β handle paths with spaces + allow message loop to runβ
Verified signatureBug 1: paths with spaces got split by tokenizer. Fix: join all args after --test. Bug 2: some plugins need the JUCE message loop to finish loading (VST3 validation). Fix: use a Timer to delay quit, giving the plugin time to initialize.379e9dd -
add FAILED-APPROACHES.md β log of everything that didn't work and why
Verified signature33d2e82 -
implement Helper test-load: spawns Helper before in-process load, blocks crashy pluginsβ
Verified signatureNow loadPlugin() does: 1. Check blocklist β skip if blocked 2. Spawn PluginBridgeHelper --test '/path' β wait for exit 3. Exit code 0 β safe β load in-process 4. Exit code != 0 or crash β add to blocklist β show error β Ableton stays alive This prevents Kickstart 2 / Ozone 12 / any crashy plugin from ever crashing Ableton. The Helper takes the hit instead.767fa15 -
fix: add showingError bool to editor header
Verified signature224d9fb