Add SYNC.md — coordination file between HF Claude and Claude Code
Browse files
SYNC.md
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PluginBridge — Sync File (HF Claude ↔ Claude Code)
|
| 2 |
+
> This file keeps both AI instances in sync. Updated by HF Claude after each work session.
|
| 3 |
+
> Claude Code: READ THIS FIRST before doing anything on the project.
|
| 4 |
+
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
## Who Does What
|
| 8 |
+
|
| 9 |
+
| Agent | Role | Scope |
|
| 10 |
+
|---|---|---|
|
| 11 |
+
| **HF Claude** (Hugging Face) | Builds the entire project | All source code, architecture, research, implementation |
|
| 12 |
+
| **Claude Code** (local Mac) | Assists Adi locally | Clone repo, build with Xcode/CMake, test in Ableton, report results back |
|
| 13 |
+
|
| 14 |
+
**Rule:** HF Claude writes all code and pushes to `RAM2118/pluginbridge`. Claude Code pulls, builds, tests, reports. No duplicate work.
|
| 15 |
+
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
## Current Status
|
| 19 |
+
|
| 20 |
+
**Phase:** Pre-build (research complete, architecture locked)
|
| 21 |
+
**Last updated:** 2026-05-16
|
| 22 |
+
**Next action:** HF Claude scaffolds Sprint 1 source files and pushes to repo
|
| 23 |
+
|
| 24 |
+
### Completed
|
| 25 |
+
- [x] Deep research on all reference repos (juce-plugin-wrapper, AudioPluginHost, cpp-httplib, LUFSMeter, Sound-Analyser, mcp-servers-jos)
|
| 26 |
+
- [x] Architecture decisions finalized
|
| 27 |
+
- [x] Roadmap refined with concrete code patterns
|
| 28 |
+
- [x] CLAUDE.md context file created
|
| 29 |
+
- [x] Project decisions confirmed (macOS, GPL, Pro-Q 4 + LA-2A, default paths)
|
| 30 |
+
|
| 31 |
+
### In Progress
|
| 32 |
+
- [ ] Sprint 1: Scaffold CMakeLists.txt + all source files
|
| 33 |
+
- [ ] Sprint 1: Download and add libs (httplib.h, json.hpp)
|
| 34 |
+
- [ ] Sprint 1: Implement empty audio passthrough plugin
|
| 35 |
+
- [ ] Sprint 1: Implement httplib background server
|
| 36 |
+
|
| 37 |
+
### Not Started
|
| 38 |
+
- [ ] Sprint 2: Plugin hosting (load VST3 by file path)
|
| 39 |
+
- [ ] Sprint 3: MCP JSON-RPC tools
|
| 40 |
+
- [ ] Sprint 4: Audio analysis
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## What Claude Code Should Do (And NOT Do)
|
| 45 |
+
|
| 46 |
+
### DO:
|
| 47 |
+
- Pull latest from `https://huggingface.co/RAM2118/pluginbridge`
|
| 48 |
+
- Set up local build environment (JUCE submodule, CMake, Xcode)
|
| 49 |
+
- Build the project and report errors back to Adi
|
| 50 |
+
- Test the built plugin in Ableton
|
| 51 |
+
- Run `curl` tests against the MCP server
|
| 52 |
+
- Report test results so HF Claude can fix issues
|
| 53 |
+
|
| 54 |
+
### DO NOT:
|
| 55 |
+
- Write new source files (HF Claude does this)
|
| 56 |
+
- Change architecture decisions
|
| 57 |
+
- Add dependencies not listed in ROADMAP.md
|
| 58 |
+
- Refactor code structure
|
| 59 |
+
- Start a sprint that HF Claude hasn't pushed yet
|
| 60 |
+
|
| 61 |
+
---
|
| 62 |
+
|
| 63 |
+
## How To Report Issues Back
|
| 64 |
+
|
| 65 |
+
When Claude Code finds a build error or test failure, Adi should paste this to HF Claude:
|
| 66 |
+
|
| 67 |
+
```
|
| 68 |
+
BUILD ERROR:
|
| 69 |
+
[paste error here]
|
| 70 |
+
|
| 71 |
+
FILE: [which file]
|
| 72 |
+
LINE: [if applicable]
|
| 73 |
+
CONTEXT: [what you were trying to do]
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
HF Claude will fix and push. Claude Code pulls and retests.
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
## Repo Access
|
| 81 |
+
|
| 82 |
+
```bash
|
| 83 |
+
# Clone (first time)
|
| 84 |
+
git clone https://huggingface.co/RAM2118/pluginbridge
|
| 85 |
+
cd pluginbridge
|
| 86 |
+
|
| 87 |
+
# Pull latest (after HF Claude pushes updates)
|
| 88 |
+
git pull
|
| 89 |
+
|
| 90 |
+
# Add JUCE submodule (one time, after first clone)
|
| 91 |
+
git submodule add https://github.com/juce-framework/JUCE.git JUCE
|
| 92 |
+
git submodule update --init
|
| 93 |
+
|
| 94 |
+
# Build
|
| 95 |
+
mkdir build && cd build
|
| 96 |
+
cmake .. -G Xcode
|
| 97 |
+
cmake --build . --config Release
|
| 98 |
+
|
| 99 |
+
# Or open in Xcode directly:
|
| 100 |
+
open build/PluginBridge.xcodeproj
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
---
|
| 104 |
+
|
| 105 |
+
## Environment Requirements (Claude Code should verify these)
|
| 106 |
+
|
| 107 |
+
```bash
|
| 108 |
+
xcode-select --version # need 14+
|
| 109 |
+
cmake --version # need 3.22+
|
| 110 |
+
brew --version # for installing cmake if missing
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
If cmake missing: `brew install cmake`
|