Execution & DAWs
How the same run reaches cloud and linked-local tools without giving the planner unrestricted machine access.
Lease, materialize, execute
Resolve runtime
Owner policy + DAW compatibility + advertised capabilities
atomic lease
Step 1 of 4.Materialize workspace
Restore the selected revision and validate dependencies
scoped tool claim
Step 2 of 4.Execute through CLI
Adapter performs bounded work and returns a receipt
fenced checkpoint
Step 3 of 4.Save / release
Persist revision and artifacts; release authority and clean up
Step 4 of 4.
Runtimes are not interchangeable
| Target | Mechanism | Limit |
|---|---|---|
| Hosted REAPER / Linux | Headless REAPER with Lua and file IPC through the unified CLI | Default cloud choice in current routing; capability-specific proof still matters |
| Hosted Ableton / Windows | Live Remote Script plus typed Code Mode tools | Requires a compatible image and the user's eligible license |
| Linked local machine | Approved executor connection to the user's own DAW | Local connection does not grant unrestricted file or project access |
| Hosted Mac | Secondary pilot for platform-specific software | Pilot evidence is not equivalent to Windows/Linux release acceptance |
| Bitwig / FL Studio | Repository Code Mode adapters | Adapter presence is not proof of cloud Work Session parity |
Liveness and authority
runtimes records kind, capabilities, heartbeat, status, binding key and generation. runtimeLeases binds a runtime to a run and target with expiry and renewal. runtimeWorkspaces records the materialized revision; checkpoint records retain the lease fence.
A stale heartbeat, expired lease or changed generation is an authority problem, not just a reconnect hint. Read the lease checks at the write boundary. Do not use a reused display name or a previous successful connection as evidence that a new worker may act.
A client timeout does not necessarily cancel work already queued on a DAW main thread. Retrying a mutation needs replay or idempotency protection and subsequent readback, not an assumption that the first attempt did nothing.
Adapter contract and evidence
- Advertise supported capabilities; refuse unsupported arguments without changing state.
- Preserve native project identity and dependencies across collection and restore.
- Return meaningful receipts, then verify native state through a separate read.
- Keep fixture, real-host and audible save/export evidence separate in reports.
Source reference
Reviewed 2026-11-28 · repository snapshot bc569ea. Repository access may be required.