agent-claw: automated task changes

This commit is contained in:
daniel
2026-05-06 18:55:16 -05:00
parent 38905bb1e9
commit 732b00fb66
8494 changed files with 2018127 additions and 4 deletions

19
scripts/sync-workspace-to-s3.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
# Sync key workspace files from local OpenClaw workspace to agent-claw S3 bucket.
# Run this whenever MEMORY.md, SOUL.md, USER.md, or TOOLS.md are updated locally.
# Called by: Nestle heartbeat, or manually after memory updates.
BUCKET="agent-claw-workspace-495395224548"
WORKSPACE="/Users/daniel/.openclaw/workspace"
PROFILE="ai1"
REGION="us-east-1"
FILES=(MEMORY.md SOUL.md USER.md AGENTS.md IDENTITY.md TOOLS.md HEARTBEAT.md)
for f in "${FILES[@]}"; do
if [ -f "$WORKSPACE/$f" ]; then
aws s3 cp "$WORKSPACE/$f" "s3://$BUCKET/$f" \
--region "$REGION" --profile "$PROFILE" --quiet && echo "[sync] $f"
fi
done
echo "[sync] Done"