{"definition_raw":"---\nid: hermes-update-check\ntitle: Check for Hermes Agent updates\nschedule: \"0 9 * * 1\"\ntimeout: 60\nretry: false\nenabled: true\nnotify_on: failure\nrun_as: shell\ncommand: \"hermes --version > /tmp/hermes-current.txt 2>/dev/null && hermes update --check > /tmp/hermes-update.txt 2>&1 || echo 'Update check failed or not available' > /tmp/hermes-update.txt && python3 -c 'import os; c=open(\\\"/tmp/hermes-current.txt\\\").read().strip() if os.path.exists(\\\"/tmp/hermes-current.txt\\\") else \\\"unknown\\\"; u=open(\\\"/tmp/hermes-update.txt\\\").read().strip(); print(\\\"Hermes update available! Current:\\\",c+\\\"\\\\n\\\"+u) if \\\"new version\\\" in u.lower() or \\\"update available\\\" in u.lower() else print(\\\"Hermes is up to date (\\\"+c+\\\")\\\")'\"\ntags: [hermes, maintenance, update]\nruntime_profile: direct\n---\n\nWeekly check (Mondays at 09:00) for new Hermes Agent versions.\n\nIf an update is available, it prints a clear message so the scheduler surfaces it.\nDoes not auto-install \u2014 just notifies so we can review changelog and decide.","id":"hermes-update-check","last_run":{"duration_s":2.78445,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-update-check/393153.log","output":"Hermes update available! Current: Hermes Agent v0.16.0 (2026.6.5) \u00b7 upstream 0c67d401\nProject: /home/lucienne/.hermes/hermes-agent\nPython: 3.11.15\nOpenAI SDK: 2.24.0\nUpdate available: 149 commits behind \u2014 run 'hermes update'\n\u2192 Fetching from upstream...\n\u2192 Fetching from origin...\n\u2695 Update available: 193 commits behind origin/main.\n  Run 'hermes update' to install.\n","started_at":"2026-06-08T09:02:27.357320+02:00","status":"completed"},"next_run":"2026-06-15 09:00","next_run_iso":"2026-06-15T09:00:00+02:00","runs":[{"duration_s":2.78445,"finished_at":"2026-06-08T09:02:30.144503+02:00","id":393153,"log_path":"/home/lucienne/workspace/logs/task-runs/hermes-update-check/393153.log","output":"Hermes update available! Current: Hermes Agent v0.16.0 (2026.6.5) \u00b7 upstream 0c67d401\nProject: /home/lucienne/.hermes/hermes-agent\nPython: 3.11.15\nOpenAI SDK: 2.24.0\nUpdate available: 149 commits behind \u2014 run 'hermes update'\n\u2192 Fetching from upstream...\n\u2192 Fetching from origin...\n\u2695 Update available: 193 commits behind origin/main.\n  Run 'hermes update' to install.\n","started_at":"2026-06-08T09:02:27.357320+02:00","status":"completed","task_id":"hermes-update-check","task_name":"Check for Hermes Agent updates"}],"runs_limit":20,"schedule":"0 9 * * 1","schedule_label":{"description":"Mon at 09:00","is_custom":false,"label":"Weekly (Mon)","sort":6,"sort_time":"09:00"},"stats":{"avg_duration":2.78445,"completed":1,"failed":0,"timeout":0,"total":1},"task":{"_description":"Weekly check (Mondays at 09:00) for new Hermes Agent versions.\n\nIf an update is available, it prints a clear message so the scheduler surfaces it.\nDoes not auto-install \u2014 just notifies so we can review changelog and decide.","_file":"hermes-update-check.md","_path":"/home/lucienne/workspace/tasks/hermes-update-check.md","command":"hermes --version > /tmp/hermes-current.txt 2>/dev/null && hermes update --check > /tmp/hermes-update.txt 2>&1 || echo 'Update check failed or not available' > /tmp/hermes-update.txt && python3 -c 'import os; c=open(\"/tmp/hermes-current.txt\").read().strip() if os.path.exists(\"/tmp/hermes-current.txt\") else \"unknown\"; u=open(\"/tmp/hermes-update.txt\").read().strip(); print(\"Hermes update available! Current:\",c+\"\\n\"+u) if \"new version\" in u.lower() or \"update available\" in u.lower() else print(\"Hermes is up to date (\"+c+\")\")'","enabled":true,"id":"hermes-update-check","notify_on":"failure","retry":false,"run_as":"shell","runtime_profile":"direct","schedule":"0 9 * * 1","tags":["hermes","maintenance","update"],"timeout":60,"title":"Check for Hermes Agent updates"}}
