chore: align with upstream openclaw/openclaw and overlay local additions

- Reset master to upstream/main (16,697 commits)
- Overlay 2,271 local-only files (skills, tools, workspace, configs, apps)
- Restore IDENTITY.md and USER.md templates
- Build verified, gateway running, Discord working

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Clawd Bot
2026-03-03 07:40:46 +01:00
parent fe92113472
commit ca9b510922
1678 changed files with 579854 additions and 52 deletions

View File

@@ -0,0 +1,35 @@
#!/bin/bash
# Daily Summary - COMPLETELY SILENT unless real critical issues
CRITICAL_LOG="/home/alex/clawd/logs/jarvis-critical.log"
SILENT_LOG="/home/alex/clawd/logs/jarvis-silent-fixes.log"
PENDING_LOG="/home/alex/clawd/logs/jarvis-pending-tomorrow.log"
STATE_DIR="/home/alex/clawd/.jarvis-state"
TODAY=$(date +%Y-%m-%d)
# Count today's REAL issues (exclude test entries)
CRITICAL_TODAY=$(grep "$TODAY" "$CRITICAL_LOG" 2>/dev/null | grep -v "Test\|test\|TESTING" | wc -l)
DEFERRED_TODAY=$(grep "$TODAY" "$PENDING_LOG" 2>/dev/null | grep -v "Test\|test\|TESTING" | wc -l)
# Only notify if REAL critical issues exist
if [[ $CRITICAL_TODAY -gt 0 ]]; then
echo "🚨 JARVIS CRITICAL ALERT - $TODAY 🚨"
echo ""
echo "Critical issues (requires manual intervention):"
grep "$TODAY" "$CRITICAL_LOG" 2>/dev/null | grep -v "Test\|test\|TESTING" | tail -5
echo ""
# Clean up logs
> "$PENDING_LOG"
find "$STATE_DIR" -type f -mtime +7 -delete 2>/dev/null
exit 1
fi
# Silent success - clean up anyway
> "$PENDING_LOG"
find "$STATE_DIR" -type f -mtime +7 -delete 2>/dev/null
# NO OUTPUT = no spam
exit 0