cleanup: remove clawd/openclaw references, fix permissions, add architecture docs
- Replace all ~/clawd and ~/.clawdbot paths with ~/echo-core equivalents in tools (git_commit, ralph_prd_generator, backup_config, lead-gen) - Update personality files: TOOLS.md repo/paths, AGENTS.md security audit cmd - Migrate HANDOFF.md architectural decisions to docs/architecture.md - Tighten credentials/ dir to 700, add to .gitignore - Add .claude/ and *.pid to .gitignore - Various adapter, router, and session improvements from prior work Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,19 +2,19 @@
|
||||
# Backup config cu retenție: 1 zilnic, 1 săptămânal, 1 lunar
|
||||
|
||||
BACKUP_DIR="/home/moltbot/backups"
|
||||
CONFIG="$HOME/.clawdbot/clawdbot.json"
|
||||
CONFIG="$HOME/echo-core/config.json"
|
||||
|
||||
# Backup zilnic (suprascrie)
|
||||
cp "$CONFIG" "$BACKUP_DIR/clawdbot-daily.json"
|
||||
cp "$CONFIG" "$BACKUP_DIR/echo-core-daily.json"
|
||||
|
||||
# Backup săptămânal (duminică)
|
||||
if [ "$(date +%u)" -eq 7 ]; then
|
||||
cp "$CONFIG" "$BACKUP_DIR/clawdbot-weekly.json"
|
||||
cp "$CONFIG" "$BACKUP_DIR/echo-core-weekly.json"
|
||||
fi
|
||||
|
||||
# Backup lunar (ziua 1)
|
||||
if [ "$(date +%d)" -eq 01 ]; then
|
||||
cp "$CONFIG" "$BACKUP_DIR/clawdbot-monthly.json"
|
||||
cp "$CONFIG" "$BACKUP_DIR/echo-core-monthly.json"
|
||||
fi
|
||||
|
||||
echo "Backup done: $(date)"
|
||||
|
||||
Reference in New Issue
Block a user