The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(cron): re-check disk before an unmergeable repair replaces the store
kshitijk4poor758ad514eb0e
diff --git a/cron/jobs.py b/cron/jobs.pyindex 5f46d4510c0..3d52b34d3b0 100644--- a/cron/jobs.py+++ b/cron/jobs.py@@ -1417,8 +1417,8 @@ def load_jobs() -> List[Dict[str, Any]]:for note in notes:logger.warning("%s", note)# Keep the shrink-merge (a degraded-lock sibling's create may have landed since the read)- # unless disk is a shape the merge would refuse as corrupt.- save_jobs(jobs, replace=unmergeable)+ # unless disk is STILL a shape the merge would refuse: a sibling may have rewritten it.+ save_jobs(jobs, replace=unmergeable and _peek_jobs_unlocked() is None)logger.warning("Auto-repaired jobs.json (%s)", repair)_record_load_stamp(pre_read_stamp)return jobs