From f1d7e6d8e5b78070470cc12b6feabf86ab91ee25 Mon Sep 17 00:00:00 2001 From: Leonard Date: Thu, 9 Jul 2026 23:13:47 +0000 Subject: [PATCH] AgentOS: add DESKTOP_SYNC.md for laptop Obsidian --- memory-systems/agent-os/DESKTOP_SYNC.md | 46 +++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 memory-systems/agent-os/DESKTOP_SYNC.md diff --git a/memory-systems/agent-os/DESKTOP_SYNC.md b/memory-systems/agent-os/DESKTOP_SYNC.md new file mode 100644 index 0000000..2801397 --- /dev/null +++ b/memory-systems/agent-os/DESKTOP_SYNC.md @@ -0,0 +1,46 @@ +# Desktop Obsidian ↔ VPS AgentOS + +## Canonical path on VPS + +``` +/home/vpsadmin/AgentOS +``` + +Point Obsidian at a **local clone or sync of this tree**, not a third vault. + +## Option A — Git (recommended if you use Gitea) + +1. Keep AgentOS as the live working tree on the VPS. +2. This tree is mirrored under `Tony_tech/personal-agent-os` → `memory-systems/agent-os/`. +3. On the laptop (via SSH tunnel to Gitea if needed): + ```bash + git clone http://localhost:3000/Tony_tech/personal-agent-os.git + # Open memory-systems/agent-os as vault OR whole repo + ``` +4. Obsidian → Open folder as vault. +5. Before big sessions: `git pull`. After edits: commit + push. + +Or **rsync** once: + +```bash +rsync -avz vpsadmin@YOUR_VPS:/home/vpsadmin/AgentOS/ ./AgentOS-Vault/ +``` + +## Option B — Syncthing + +1. Install Syncthing on laptop + VPS (user-level, no root). +2. Share `/home/vpsadmin/AgentOS` ↔ local `AgentOS-Vault`. +3. Open the local folder in Obsidian. +4. Avoid editing the same note on both sides at once. + +## What not to do + +- Don’t keep a separate vault on the laptop that Leonard never sees. +- Don’t put secrets in synced markdown. +- Don’t use iCloud-only without a VPS-visible path. + +## Env on VPS (Hermes) + +```bash +OBSIDIAN_VAULT_PATH=/home/vpsadmin/AgentOS +```