T06 · System Persistence
- Location
SKILL.md:120- Finding
Persistent Scheduled Processing of Long-Term Agent Memory
- Content
View full analysis
marker 3. Execute OpenClaw native memory storage: - Append to yesterday's file - Archive any in-memory context from yesterday 4. Execute Skill index update: - Scan yesterday's file for index-worthy topics - Update INDEX.md with yesterday's date - Check if any topic needs consolidation (>3 days) 5. Initialize today's memory file (if not exists) 6. Log flush completion ``` **Daily Flush Script**: `~/.openclaw/scripts/daily-flush.sh` **Launchd Config**: `~/Library/LaunchAgents/com.openclaw.daily-flush.plist` ``` ### Technical Analysis The Skill specifies a recurring system-level scheduled workflow implemented through a daily flush script and a macOS LaunchAgent. A LaunchAgent survives individual Skill invocations and conversation sessions, allowing the workflow to execute every day without a contemporaneous user request. The scheduled workflow is instructed to read conversation-memory files, archive in-memory context, create or modify daily memory files, and update persistent indexes and consolidations. This creates an autonomous cross-session processing mechanism over potentially sensitive conversation history. The referenced `daily-flush.sh` script and LaunchAgent property list are not included in the audited package. Consequently, the actual commands, filesystem restrictions, error handling, and integrity of the scheduled implementation cannot be verified. The audit found no evidence of network exfiltration or privilege elevation, but the persistence mechanism itself falls within the system-persiste ...[truncated 1510 chars]- Remediation
View remediation
