{"definition_raw":"---\nid: memory-backup\ntitle: Backup Claude memory files to workspace repo\nschedule: \"0 1 * * *\"\ntimeout: 60\nretry: false\nenabled: true\nnotify_on: failure\nrun_as: shell\ncommand: \"python3 /home/lucienne/workspace/scripts/sync_memory_backup.py\"\ntags: [infrastructure, backup, memory]\nruntime_profile: direct_python\n---\n**OVERRIDES runtime profile:** uses `direct_python` (plain Python, no model) because the command chain never invokes the `claude` CLI or any LLM API \u2014 pure-infra task; scheduler provider env injection is a no-op (MC-4942 U12 sweep).\n\nSyncs all Claude project memory files (~/.claude/projects/*/memory/*.md) to\n~/workspace/luci-home/memory-backup/ so they're captured by the daily git backup.\nRemoves stale files that no longer exist in the source.\n","id":"memory-backup","last_run":{"duration_s":0.922577,"log_path":"/home/lucienne/workspace/logs/task-runs/memory-backup/412960.log","output":"Synced 34 memory files to /home/lucienne/workspace/luci-home/memory-backup\n","started_at":"2026-06-13T01:00:36.708188+02:00","status":"completed"},"next_run":"2026-06-14 01:00","next_run_iso":"2026-06-14T01:00:00+02:00","runs":[{"duration_s":0.922577,"finished_at":"2026-06-13T01:00:37.632991+02:00","id":412960,"log_path":"/home/lucienne/workspace/logs/task-runs/memory-backup/412960.log","output":"Synced 34 memory files to /home/lucienne/workspace/luci-home/memory-backup\n","started_at":"2026-06-13T01:00:36.708188+02:00","status":"completed","task_id":"memory-backup","task_name":"Backup Claude memory files to workspace repo"},{"duration_s":0.866545,"finished_at":"2026-06-12T01:00:21.148904+02:00","id":408796,"log_path":"/home/lucienne/workspace/logs/task-runs/memory-backup/408796.log","output":"Synced 18 memory files to /home/lucienne/workspace/luci-home/memory-backup\n","started_at":"2026-06-12T01:00:20.279954+02:00","status":"completed","task_id":"memory-backup","task_name":"Backup Claude memory files to workspace repo"},{"duration_s":0.656378,"finished_at":"2026-06-11T01:01:07.440578+02:00","id":404427,"log_path":"/home/lucienne/workspace/logs/task-runs/memory-backup/404427.log","output":"Synced 26 memory files to /home/lucienne/workspace/luci-home/memory-backup\n","started_at":"2026-06-11T01:01:06.780354+02:00","status":"completed","task_id":"memory-backup","task_name":"Backup Claude memory files to workspace repo"},{"duration_s":0.627482,"finished_at":"2026-06-10T01:00:45.591889+02:00","id":400153,"log_path":"/home/lucienne/workspace/logs/task-runs/memory-backup/400153.log","output":"emoved stale: -home-lucienne-workspace/session-hermes-20260524_221104_f59916.md\n  Removed stale: -home-lucienne-workspace/session-hermes-20260524_134723_65291b.md\n  Removed stale: -Users-elmar-PKA/session-a38bf525-b054-47de-ae9e-bfbb8cc26b01.md\n  Removed stale: -Users-elmar-PKA/session-db4e8d47-ce78-4632-abb4-831abeb6e25c.md\n  Removed stale: -Users-elmar-PKA/session-00337de0-61f8-4bb4-a0f5-afe9bcc485ee.md\n  Removed stale: -Users-elmar-PKA/session-4e122304-13d3-4f49-9e96-ae6737f0162d.md\n  Removed stale: -Users-elmar-PKA/session-hermes-20260524_003622_899490.md\n  Removed stale: -Users-elmar-PKA/session-98aeee1a-02b1-447b-8411-ffa0ebceaddb.md\n  Removed stale: -Users-elmar-PKA/session-2ac7d395-2955-45d9-93fd-cabe472c389a.md\n  Removed stale: -Users-elmar-PKA/session-f87c0f99-1abf-4241-b9c6-1807b05eed86.md\n  Removed stale: -Users-elmar-PKA/session-12e9df08-91d5-4d6e-b4b3-b88699f7c956.md\n  Removed stale: -Users-elmar-PKA/session-debfd996-7cd4-4f51-90e4-bfa4542e7eba.md\n  Removed stale: -Users-elmar-PKA/session-4fb0e539-b328-4b64-90b7-25c26f008be6.md\n  Removed stale: -Users-elmar-PKA/session-08d76661-f478-45b0-a0e5-9b4b716c5bf6.md\n  Removed stale: -Users-elmar-PKA/session-67891749-c47e-40fb-863b-61962be64ccf.md\n  Removed stale: -Users-elmar-PKA/session-fb9f174a-88b7-43be-80d0-a2599c157625.md\n  Removed stale: -Users-elmar-PKA/session-hermes-20260522_154921_32f458.md\n  Removed stale: -Users-elmar-PKA/session-d0bfdba3-29a9-439a-9b31-9110369fcf57.md\n  Removed stale: -Users-elmar-PKA/session-codex-rollout-2026-04-26T16-28-41-019dca31-4bfd-7200-ad46-1382594186de.md\n  Removed stale: -Users-elmar-PKA/session-9ee5507d-8434-44ca-b163-451a66133663.md\n  Removed stale: -Users-elmar-PKA/session-502d263e-1e62-4861-9182-597ece9fb7f0.md\n  Removed stale: -Users-elmar-PKA/session-894927d0-e614-463f-b3a6-db4a7ebd8bc3.md\n  Removed stale: -Users-elmar-PKA/session-149af599-ee0c-442f-b0ca-9fa8c992e120.md\n  Removed stale: -Users-elmar-PKA/session-hermes-cron_6b26238c7e73_20260523_141105.md\n  Removed stale: -Users-elmar-PKA/session-eeaa0702-5ed9-442d-a42c-1364547573e5.md\n  Removed stale: -Users-elmar-PKA/session-21e4fb85-b14a-427f-9882-a8d903a059e0.md\n  Removed stale: -Users-elmar-PKA/session-40ddf03f-b2a3-4c33-b0cb-0b0fe98fd7f5.md\n  Removed stale: -Users-elmar-PKA/session-codex-rollout-2026-05-13T15-10-27-019e2175-c814-7da0-b8ea-70559d43d4c6.md\n  Removed stale: -Users-elmar-PKA/session-a8a9e3cb-7acc-4715-b6af-89319f9fd6a9.md\n  Removed stale: -Users-elmar-PKA/session-fb150c88-9124-4414-a622-7a812aa36c20.md\n  Removed stale: -Users-elmar-PKA/session-9b897eb4-cae8-4b4d-aab6-68439cd6f140.md\n  Removed stale: -Users-elmar-PKA/session-hermes-20260524_162643_7aee20.md\n  Removed stale: -Users-elmar-PKA/session-692e777d-dbc5-48ae-acdd-b2ab1d686411.md\n  Removed stale: -Users-elmar-PKA/session-hermes-20260523_080501_fbd9f4.md\n  Removed stale: -Users-elmar-PKA/session-d9862ca9-b26a-463d-8b4c-b859b28a3613.md\n  Removed stale: -Users-elmar-PKA/session-codex-rollout-2026-05-13T16-32-38-019e21c1-055d-7120-a74b-a9186a8980a9.md\n  Removed stale: -Users-elmar-PKA/session-759d6ac7-a543-41ba-bcba-9536474a2d81.md\n  Removed stale: -Users-elmar-PKA/session-52d248e3-a189-48e8-8f9b-19bf220fc880.md\n  Removed stale: -Users-elmar-PKA/session-8c108e1a-0269-4e14-851c-6fccb704e107.md\n  Removed stale: -Users-elmar-PKA/session-b7901bbd-f69b-4c6d-ae21-c7ea930bdab5.md\n  Removed stale: -Users-elmar-PKA/session-4d5b810f-1ea5-4902-aec1-8b4be38783a8.md\n  Removed stale: -Users-elmar-PKA/session-hermes-20260522_161040_6b74bb.md\n  Removed stale: -Users-elmar-PKA/session-db382c8f-7442-4dc4-b57e-aa74836ab2e1.md\n  Removed stale: -Users-elmar-PKA/session-4144f31f-dc8c-4cc3-a9b4-243be85f6b62.md\n  Removed stale: -Users-elmar-PKA/session-c723fd34-37e1-49f9-8f7d-054d7fbbf736.md\n  Removed stale: -Users-elmar-PKA/session-480d002d-219d-494c-acd7-39b8d1db4c49.md\n  Removed stale: -Users-elmar-PKA/session-a547584a-3446-49c4-852f-fda70d1a8849.md\nSynced 420 memory files to /home/lucienne/workspace/luci-home/memory-backup\n","started_at":"2026-06-10T01:00:44.961624+02:00","status":"completed","task_id":"memory-backup","task_name":"Backup Claude memory files to workspace repo"},{"duration_s":0.393271,"finished_at":"2026-06-09T01:01:15.859504+02:00","id":395910,"log_path":"/home/lucienne/workspace/logs/task-runs/memory-backup/395910.log","output":"  Removed stale: -Users-elmar-PKA/session-0d98b3c5-e9ce-4e4d-a853-1e1b3bb0c1a3.md\nSynced 319 memory files to /home/lucienne/workspace/luci-home/memory-backup\n","started_at":"2026-06-09T01:01:15.463357+02:00","status":"completed","task_id":"memory-backup","task_name":"Backup Claude memory files to workspace repo"},{"duration_s":0.341333,"finished_at":"2026-06-08T01:01:58.988570+02:00","id":391828,"log_path":"/home/lucienne/workspace/logs/task-runs/memory-backup/391828.log","output":"Synced 26 memory files to /home/lucienne/workspace/luci-home/memory-backup\n","started_at":"2026-06-08T01:01:58.644795+02:00","status":"completed","task_id":"memory-backup","task_name":"Backup Claude memory files to workspace repo"},{"duration_s":0.448008,"finished_at":"2026-06-07T01:01:25.103928+02:00","id":387370,"log_path":"/home/lucienne/workspace/logs/task-runs/memory-backup/387370.log","output":"Synced 19 memory files to /home/lucienne/workspace/luci-home/memory-backup\n","started_at":"2026-06-07T01:01:24.653435+02:00","status":"completed","task_id":"memory-backup","task_name":"Backup Claude memory files to workspace repo"},{"duration_s":0.368528,"finished_at":"2026-06-06T01:01:35.250624+02:00","id":382648,"log_path":"/home/lucienne/workspace/logs/task-runs/memory-backup/382648.log","output":"Synced 22 memory files to /home/lucienne/workspace/luci-home/memory-backup\n","started_at":"2026-06-06T01:01:34.879924+02:00","status":"completed","task_id":"memory-backup","task_name":"Backup Claude memory files to workspace repo"}],"runs_limit":20,"schedule":"0 1 * * *","schedule_label":{"description":"Daily at 01:00","is_custom":false,"label":"Daily","sort":4,"sort_time":"01:00"},"stats":{"avg_duration":0.57801525,"completed":8,"failed":0,"timeout":0,"total":8},"task":{"_description":"**OVERRIDES runtime profile:** uses `direct_python` (plain Python, no model) because the command chain never invokes the `claude` CLI or any LLM API \u2014 pure-infra task; scheduler provider env injection is a no-op (MC-4942 U12 sweep).\n\nSyncs all Claude project memory files (~/.claude/projects/*/memory/*.md) to\n~/workspace/luci-home/memory-backup/ so they're captured by the daily git backup.\nRemoves stale files that no longer exist in the source.","_file":"memory-backup.md","_path":"/home/lucienne/workspace/tasks/memory-backup.md","command":"python3 /home/lucienne/workspace/scripts/sync_memory_backup.py","enabled":true,"id":"memory-backup","notify_on":"failure","retry":false,"run_as":"shell","runtime_profile":"direct_python","schedule":"0 1 * * *","tags":["infrastructure","backup","memory"],"timeout":60,"title":"Backup Claude memory files to workspace repo"}}
