feat(cron): populate jobs.json with decomposed ANAF + security + archive jobs

Adds 5 kind:"shell" jobs (anaf-monitor, security-audit-daily,
kb-index-refresh, archive-tasks-daily, backup-config) and the new
insights-extract claude job (disabled placeholder). All cron schedules
are Europe/Bucharest local time. Decomposes openclaw's daily-morning-checks
mega-prompt per the Issue 15 eng-review decision.
This commit is contained in:
2026-04-21 07:13:59 +00:00
parent 5f87545b66
commit e964777f69

View File

@@ -24,5 +24,82 @@
"last_run": "2026-04-02T18:18:07.775703+00:00",
"last_status": "ok",
"next_run": "2027-01-01T00:00:00+00:00"
},
{
"name": "anaf-monitor",
"kind": "shell",
"cron": "0 10,16 * * 1-5",
"channel": "echo-work",
"command": ["python3", "tools/anaf-monitor/monitor_v2.py"],
"report_on": "changes",
"timeout": 120,
"enabled": true,
"last_run": null,
"last_status": null,
"next_run": null
},
{
"name": "security-audit-daily",
"kind": "shell",
"cron": "0 3 * * *",
"channel": "echo-work",
"command": ["python3", "tools/security_audit.py"],
"report_on": "changes",
"timeout": 180,
"enabled": true,
"last_run": null,
"last_status": null,
"next_run": null
},
{
"name": "kb-index-refresh",
"kind": "shell",
"cron": "30 3 * * *",
"channel": "echo-work",
"command": ["python3", "tools/update_notes_index.py"],
"report_on": "never",
"timeout": 120,
"enabled": true,
"last_run": null,
"last_status": null,
"next_run": null
},
{
"name": "archive-tasks-daily",
"kind": "shell",
"cron": "0 3 * * *",
"channel": "echo-work",
"command": ["python3", "dashboard/archive_tasks.py"],
"report_on": "changes",
"timeout": 60,
"enabled": true,
"last_run": null,
"last_status": null,
"next_run": null
},
{
"name": "backup-config",
"kind": "shell",
"cron": "0 2 * * *",
"channel": "echo-work",
"command": ["bash", "tools/backup_config.sh"],
"report_on": "never",
"timeout": 120,
"enabled": true,
"last_run": null,
"last_status": null,
"next_run": null
},
{
"name": "insights-extract",
"cron": "0 4 * * *",
"channel": "echo-work",
"model": "sonnet",
"prompt": "PLACEHOLDER — Marius will write the full prompt. Intent: extract daily insights from chat history (Discord, Telegram, WhatsApp) and save to memory/kb/insights/YYYY-MM-DD.md. Runs after content-discovery (03:00) so insights can incorporate discovered content proposals.",
"allowed_tools": [],
"enabled": false,
"last_run": null,
"last_status": null,
"next_run": null
}
]