raw

Remote execution for Reelcut

2026-11-14. Step 1 (your own machines) is built and tested on branch feat/remote-workers; step 2 (a marketplace) is a design for review. Status and the plan: the last section.

Today every heavy step runs on the computer Basecamp runs on, in the reelcut container. This proposal moves them to another machine, first one you own (step 1), then one rented from a stranger (step 2), while Basecamp stays where you work.

What a job is made of

Step Command Load Inputs Outputs Remote?
download reelcut fetch URL DIR network, minutes the URL audio.*, video.* (100 MB – 2 GB) yes: the video never has to travel
transcribe reelcut transcribe DIR CPU, minutes audio words.json, transcripts (≈ 0.1–1 MB) yes
speakers reelcut diarize DIR CPU audio, words words.json with speakers yes
size + frame reelcut probe DIR small video .size, frame.jpg yes (needs the video)
pick clips an agent or the person — transcript clips.txt local: it's interactive (or a mesh agent)
scenes reelcut scenes DIR CLIPS OUT CPU video, clips a frame per scene + faces (≈ 50 KB each) yes
frame by hand the Framing screen — the frames framing.json local
cut reelcut cut DIR CLIPS OUT … CPU, minutes video, words, clips, framing, cards reels/*.mp4 (≈ 5–30 MB each) yes
thumbnails reelcut thumbs OUT small reels *.jpg, *.dur yes
page reelcut page OUT none reels index.html either
YouTube texts, posting agents, Logos Forum — — — local (already over the network)

So the work splits cleanly: the heavy steps are each one reelcut command on a job folder, and the interactive steps (picking, framing, naming speakers) stay in Basecamp. The video lives where it was downloaded; only small files (transcript, frames, clip lists, framing) go back and forth, plus the finished reels.

Done today as groundwork: reelcut probe and reelcut thumbs (vpavlin/reelcut bfd0f32) replace the two inline shell scripts Reelcut Basecamp ran, so every remote step is a reelcut command from a fixed list, never a shell script.

Step 1 — your own worker

Shape

In Basecamp

What step 1 does not do

Step 2 — a marketplace

The same task, offered to people you don't know. What changes is finding a worker, paying it, and trusting it.

Two ways to buy

  1. A job (stateless): "run this step on these inputs, give me the outputs". Inputs travel by Storage CID or URL, outputs come back as CIDs. Any step that is one reelcut command fits; a whole download → transcribe → speakers chain is one job too (it shares the download). Cut can be split across several workers by clip.
  2. A lease (rented compute): "this machine for me for an hour". It's step 1 with a stranger: the folder stays on the worker between steps, so the video is downloaded once and every later step is fast. Paid per block of time.

The market

Paying with LEZ

What exists today (checked 2026-11-13, read-only):

Proposal:

  1. An escrow program (ours, deployed with lez_core): the client locks the price under a job id; the worker is paid when the client releases it, or automatically when the client says nothing for N hours after the result was delivered; the client gets it back if no result came by the deadline. Roughly 3–5 days for the program and its tests, 1–2 weeks with wiring into Basecamp and surviving a testnet reset.
  2. Jobs: one escrow per job (or per batch of jobs with one worker), released on accepting the results.
  3. Leases: prepaid blocks, e.g. 30 minutes locked at a time, released as each block is used. Finer billing later with off-chain signed vouchers (the client signs "I owe you up to X", the worker claims the last one once: a one-way payment channel), a custom program in the same 1–2 weeks.
  4. Until the escrow exists, the market can run on plain transfer_public: prepay small jobs and accept the risk, and build reputation. That's enough for a demo.

Two existing LEZ programs to build on instead of starting from zero (from Backpack and from the anoncomms team, 2026-11-13):

Finding workers and talking to strangers (anoncomms):

Risks: testnet resets (program ids change; keep them in config, not code), no faucet (onboarding needs a person), minutes-long confirmations (a worker starts on "locked, pending" for small amounts, waits for confirmation for big ones).

Reputation (open: options to choose from)

What a client should be able to trust: the worker's record comes from real paying clients, the worker can't forge it, and can't hide the bad parts. Options, from the lightest:

  1. Repeat business (no reviews): the lease program counts per worker how many clients came back and rented again. No extra transaction or effort for anyone, the worker can't hide it. Gameable only by renting yourself (real money, minus what goes back to your own treasury).
  2. Signed reviews: stars (+ text) signed by the account that paid the lease, served by the worker and mirrored on a public Logos Messaging topic. Completeness on chain: per worker the lease program keeps reviews (a count) and head (a hash chain over every review). A worker serving a list whose hash chain doesn't match head is provably hiding or changing reviews; it can't pad the list either. Cost: one transaction per review, so…
  3. …a review deposit: a little more than a fee, paid with the rent, refunded by reviewing in the same transaction. Reviewing costs nothing and is worth something. Unclaimed after N days it goes somewhere neutral (not to the worker, or it would discourage reviews).
  4. Anonymous reviews: the same, with a ZK proof instead of the payer's signature: "I hold one of the paid-lease commitments for this worker" + a nullifier (one review per lease). The rent then appends a commitment (hash of a client secret, worker, amount) instead of naming the client. Needs the proof verified on chain to update head, so a third party can submit it; RISC Zero can verify a proof inside a guest. About a week of work.

Common weakness: self-dealing. Only cost helps (weight by amount paid; a share of each rental to an account the worker doesn't control). Paying itself stays visible on chain unless the rent uses LEZ private transactions.

Status: the lease program ships without reviews (rentals and periods sold only); decide later.

Trust

What to build as separate pieces

Status and plan

Done (step 1, branch feat/remote-workers, Reelcut 0.6.0, not released yet)

Plan

# What Size Needs from you
1a Release 0.6.0 to lan03 (Linux x86 + ARM + Mac, merged), then you try it: Basecamp on your laptop, a worker on a stronger machine building now which machine is the worker
1b The Logos link for your own workers: same steps over Logos Messaging (sealed with the pairing key, acked and resent), files through Logos Storage; for a worker you can't reach directly 1–2 days —
2a Market without money: workers post signed offers on a public Delivery topic; first contact with X25519 keys; jobs carry their inputs by URL or Storage CID ~2 days OK to start before payments
2b Leases paid on LEZ with Backpack's backpack_access program as it is (one config per worker: price per hour; the worker serves a client while it's paid) 1–2 days LEZ testnet funds for two test wallets
2c Jobs paid on LEZ: an escrow program (lock, release on accept, refund after a deadline), or payment streams (LIP-155) if they fit 1–2 weeks —

Open questions:

  1. Should the market be a generic module (any app with heavy steps could post jobs), or Reelcut-only first and extracted later? I'd start Reelcut-only, with the messages kept app-neutral.
  2. Pricing: per job kind (transcribe a minute of audio, cut a reel) or per minute of machine time? Leases price by time anyway; for jobs I'd start per job kind.