Skip to content

Commit 9591c03

Browse files
Gregg CochranCopilot
andcommitted
🐿️ Add daily sync to 6AM checkup
The checkup was health-check only β€” it reported status but never synced. If fswatch missed a change, skills wouldn't back up until next file edit. Now the 6AM checkup runs do_sync_locked before reporting, ensuring at least one daily backup regardless of fswatch activity. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 569a448 commit 9591c03

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

β€Žgroundhogβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,11 @@ cmd_checkup() {
385385
fi
386386
fi
387387

388+
# 10. Daily sync β€” ensure skills are backed up even if fswatch missed changes
389+
log "🐿️ daily sync triggered by checkup"
390+
do_sync_locked
391+
report+="βœ… Daily sync: completed\n"
392+
388393
report+="\n────────────────────────────────────\n"
389394

390395
if [[ "$issues" -eq 0 ]]; then

0 commit comments

Comments
Β (0)