docs: recommend git repo for workspace backups

This commit is contained in:
Peter Steinberger
2025-12-14 03:18:56 +00:00
parent 4dd9072a2b
commit a5b3b8743a
3 changed files with 16 additions and 1 deletions

View File

@@ -503,7 +503,9 @@ struct OnboardingView: View {
.foregroundStyle(.secondary)
.lineLimit(2)
} else {
Text("Tip: edit AGENTS.md in this folder to shape the assistants behavior.")
Text(
"Tip: edit AGENTS.md in this folder to shape the assistants behavior. " +
"For backup, make the workspace a (private) git repo so Clawds “memory” is versioned.")
.font(.caption)
.foregroundStyle(.secondary)
.lineLimit(2)

View File

@@ -37,6 +37,17 @@ cp docs/AGENTS.default.md ~/.clawdis/workspace/AGENTS.md
- Dont run destructive commands unless explicitly asked.
- Dont send partial/streaming replies to external messaging surfaces (only final replies).
## Backup tip (recommended)
If you treat this workspace as Clawds “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.

View File

@@ -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 Clawds “memory” and make it a git repo (ideally private) so your `AGENTS.md` + memory files are backed up.
From the CLAWDIS repo:
```bash