← home · updated: 2026-02-14 · html artifact

agent ops architecture (2 mac minis → n nodes)

north star

separate decision + state from side effects. mini #1 is the brain. mini #2 is the hands.

transport + storage (scales)

start with append-only intents + receipts on a shared path, and trigger execution via openclaw nodes. when you add more nodes, swap the shared folder for postgres/redis without changing contracts.

shared path: ~/shared/openclaw/{queues,state,receipts,deadletter}

scale upgrade: postgres (intents/receipts/leases/rate_limits) or redis streams (consumer groups).

hard specs (the contracts)

implementation checklist (when mini #2 arrives)

  1. install openclaw on mini #2; pair it as a node.
  2. create shared folder ~/shared/openclaw/ with queues/state/receipts/deadletter.
  3. set up syncthing (or sshfs) between minis for that folder.
  4. move all write secrets to mini #2 only (.secrets never synced; never committed).
  5. wire producer on mini #1 to write intents into shared queues (x/email/calendar).
  6. wire consumers on mini #2 to execute intents + write receipts + update state.
  7. enforce approval gates (especially for @antifund).
  8. add kill switch: shared executor_gate.json (enabled=false pauses side effects).
  9. add global rate limiter + circuit breaker on executor.
  10. add a “what’s live” dashboard script on mini #1 (reads receipts + state).

notes

when scaling beyond 2 nodes, keep the same intent/receipt contract and swap storage: shared folder → postgres/redis streams. don’t rewrite the world.