diff --git a/apps/macos/Sources/Clawdis/Onboarding.swift b/apps/macos/Sources/Clawdis/Onboarding.swift index 3be173077..ab1716268 100644 --- a/apps/macos/Sources/Clawdis/Onboarding.swift +++ b/apps/macos/Sources/Clawdis/Onboarding.swift @@ -503,7 +503,9 @@ struct OnboardingView: View { .foregroundStyle(.secondary) .lineLimit(2) } else { - Text("Tip: edit AGENTS.md in this folder to shape the assistant’s behavior.") + Text( + "Tip: edit AGENTS.md in this folder to shape the assistant’s behavior. " + + "For backup, make the workspace a (private) git repo so Clawd’s “memory” is versioned.") .font(.caption) .foregroundStyle(.secondary) .lineLimit(2) diff --git a/docs/AGENTS.default.md b/docs/AGENTS.default.md index 3609d2cd3..ab9102635 100644 --- a/docs/AGENTS.default.md +++ b/docs/AGENTS.default.md @@ -37,6 +37,17 @@ cp docs/AGENTS.default.md ~/.clawdis/workspace/AGENTS.md - Don’t run destructive commands unless explicitly asked. - Don’t send partial/streaming replies to external messaging surfaces (only final replies). +## Backup tip (recommended) +If you treat this workspace as Clawd’s “memory”, make it a git repo (ideally private) so `AGENTS.md` and your memory files are backed up. + +```bash +cd ~/.clawdis/workspace +git init +git add AGENTS.md +git commit -m "Add Clawd workspace" +# Optional: add a private remote + push +``` + ## What Clawdis Does - Runs WhatsApp gateway + Pi coding agent so the assistant can read/write chats, fetch context, and run tools via the host Mac. - macOS app manages permissions (screen recording, notifications, microphone) and exposes a CLI helper `clawdis-mac` for scripts. diff --git a/docs/clawd.md b/docs/clawd.md index f8567ad4b..a028fd1d0 100644 --- a/docs/clawd.md +++ b/docs/clawd.md @@ -94,6 +94,8 @@ Pi (the bundled coding agent) will read operating instructions and “memory” By default, Clawdis uses `~/.clawdis/workspace` as the agent workspace, and will create it (plus a starter `AGENTS.md`) automatically on first agent run. +Tip: treat this folder like Clawd’s “memory” and make it a git repo (ideally private) so your `AGENTS.md` + memory files are backed up. + From the CLAWDIS repo: ```bash